Documentation ¶
Overview ¶
Package idtoken provides functions to generate id tokens for end users.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromDefaultCredentials ¶
func FromDefaultCredentials(ctx context.Context) (oauth2.TokenSource, error)
FromDefaultCredentials creates a token source with the application default credentials (ADC). https://developers.google.com/accounts/docs/application-default-credentials It only works when the application default credentials is of an end user. Typically it's done with `gcloud auth application-default login`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.