Documentation ¶
Overview ¶
Package iamgoogle provides Google-specific IAM primitives. See: https://developers.google.com/identity/protocols/oauth2/openid-connect
Index ¶
Constants ¶
View Source
const Issuer = "https://accounts.google.com"
Issuer is the issuer of Google ID tokens.
Variables ¶
This section is empty.
Functions ¶
func HostedDomain ¶
HostedDomain returns the payload's `hd` claim.
func IsEmailVerified ¶
IsEmailVerified returns true if the payload has the `email_verified` claim.
func IsGoogleCloudServiceAccountEmail ¶
IsGoogleCloudServiceAccountEmail returns true if the payload has a verified email belonging to a Google Cloud service account.
func IsGoogleIDToken ¶
IsGoogleIDToken returns true if the JWT payload is from a Google ID token. See: https://developers.google.com/identity/protocols/oauth2/openid-connect
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.