View Source GoogleApi.STS.V1.Model.GoogleIdentityStsV1IntrospectTokenResponse (google_api_sts v0.6.0)

Response message for IntrospectToken.

Attributes

  • active (type: boolean(), default: nil) - A boolean value that indicates whether the provided access token is currently active.
  • client_id (type: String.t, default: nil) - The client identifier for the OAuth 2.0 client that requested the provided token.
  • exp (type: String.t, default: nil) - The expiration timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire.
  • iat (type: String.t, default: nil) - The issued timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token was originally issued.
  • iss (type: String.t, default: nil) - The issuer of the provided token.
  • scope (type: String.t, default: nil) - A list of scopes associated with the provided token.
  • sub (type: String.t, default: nil) - The unique user ID associated with the provided token. For Google Accounts, this value is based on the Google Account's user ID. For federated identities, this value is based on the identity pool ID and the value of the mapped google.subject attribute.
  • username (type: String.t, default: nil) - The human-readable identifier for the token principal subject. For example, if the provided token is associated with a workload identity pool, this field contains a value in the following format: principal://iam.googleapis.com/projects//locations/global/workloadIdentityPools//subject/. If the provided token is associated with a workforce pool, this field contains a value in the following format: principal://iam.googleapis.com/locations/global/workforcePools//subject/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.STS.V1.Model.GoogleIdentityStsV1IntrospectTokenResponse{
  active: boolean() | nil,
  client_id: String.t() | nil,
  exp: String.t() | nil,
  iat: String.t() | nil,
  iss: String.t() | nil,
  scope: String.t() | nil,
  sub: String.t() | nil,
  username: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.