View Source GoogleApi.ServiceUsage.V1.Model.Authentication (google_api_service_usage v0.19.0)

Authentication defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read

Attributes

  • providers (type: list(GoogleApi.ServiceUsage.V1.Model.AuthProvider.t), default: nil) - Defines a set of authentication providers that a service supports.
  • rules (type: list(GoogleApi.ServiceUsage.V1.Model.AuthenticationRule.t), default: nil) - A list of authentication rules that apply to individual API methods. NOTE: All service configuration rules follow "last one wins" order.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ServiceUsage.V1.Model.Authentication{
  providers: [GoogleApi.ServiceUsage.V1.Model.AuthProvider.t()] | nil,
  rules: [GoogleApi.ServiceUsage.V1.Model.AuthenticationRule.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.