google_api_service_user v0.3.0 GoogleApi.ServiceUser.V1.Model.AuthenticationRule View Source

Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.

Attributes

  • allowWithoutCredential (boolean()): If true, the service accepts API keys without any other credential. Defaults to: null.
  • oauth (OAuthRequirements): The requirements for OAuth credentials. Defaults to: null.
  • requirements ([AuthRequirement]): Requirements for additional authentication providers. Defaults to: null.
  • selector (String.t): Selects the methods to which this rule applies. Refer to selector for syntax details. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.ServiceUser.V1.Model.AuthenticationRule{
  allowWithoutCredential: any(),
  oauth: GoogleApi.ServiceUser.V1.Model.OAuthRequirements.t(),
  requirements: [GoogleApi.ServiceUser.V1.Model.AuthRequirement.t()],
  selector: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.