google_api_service_consumer_management v0.18.0 GoogleApi.ServiceConsumerManagement.V1.Model.Authentication View Source

Authentication defines the authentication configuration for an API.

Example for an API targeted for external use:

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

Attributes

  • providers (type: list(GoogleApi.ServiceConsumerManagement.V1.Model.AuthProvider.t), default: nil) - Defines a set of authentication providers that a service supports.
  • rules (type: list(GoogleApi.ServiceConsumerManagement.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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

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.