idtoken

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL