View Source GoogleApi.IdentityToolkit.V3.Model.IdpConfig (google_api_identity_toolkit v0.8.0)

Template for a single idp configuration.

Attributes

  • clientId (type: String.t, default: nil) - OAuth2 client ID.
  • enabled (type: boolean(), default: nil) - Whether this IDP is enabled.
  • experimentPercent (type: integer(), default: nil) - Percent of users who will be prompted/redirected federated login for this IDP.
  • provider (type: String.t, default: nil) - OAuth2 provider.
  • secret (type: String.t, default: nil) - OAuth2 client secret.
  • whitelistedAudiences (type: list(String.t), default: nil) - Whitelisted client IDs for audience check.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.IdentityToolkit.V3.Model.IdpConfig{
  clientId: String.t() | nil,
  enabled: boolean() | nil,
  experimentPercent: integer() | nil,
  provider: String.t() | nil,
  secret: String.t() | nil,
  whitelistedAudiences: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.