Documentation
¶
Overview ¶
Package jwtutil provides mechanisms for interacting with JWTs.
Index ¶
Constants ¶
View Source
const IAMKeyEndpoint = "https://www.googleapis.com/oauth2/v3/certs"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
Verifier allows for getting public JWK keys from an endpoint and validating JWTs with those keys.
func NewVerifier ¶
NewVerifier returns a Verifier with the cache initialized. The cache is set up using defaults, and refreshes happen every 15 minutes.
Click to show internal directories.
Click to hide internal directories.