View Source GoogleApi.IAMCredentials.V1.Model.GenerateIdTokenRequest (google_api_iam_credentials v0.14.0)

Attributes

  • audience (type: String.t, default: nil) - Required. The audience for the token, such as the API or account that this token grants access to.
  • delegates (type: list(String.t), default: nil) - The sequence of service accounts in a delegation chain. Each service account must be granted the roles/iam.serviceAccountTokenCreator role on its next service account in the chain. The last service account in the chain must be granted the roles/iam.serviceAccountTokenCreator role on the service account that is specified in the name field of the request. The delegates must have the following format: projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID}. The - wildcard character is required; replacing it with a project ID is invalid.
  • includeEmail (type: boolean(), default: nil) - Include the service account email in the token. If set to true, the token will contain email and email_verified claims.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.IAMCredentials.V1.Model.GenerateIdTokenRequest{
  audience: String.t() | nil,
  delegates: [String.t()] | nil,
  includeEmail: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.