Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultLeeway = 0 // Default leeway that is configured for JWT validation
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Jwt ¶ added in v0.3.0
Jwt is an implementation independent representation of a JWT that is returned to consumers of our APIs.
type Option ¶
type Option func(*Options)
Option for the Verifier
func WithKeyfuncProvider ¶
WithKeyfuncProvider allows for a configurable keyfunc.Provider, which may be useful if you want to customize the behavior of how metadata or JWK sets are fetched.
func WithLeeway ¶ added in v0.4.0
WithLeeway adds leeway to all time related validations.
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
Options are configurable options for the Verifier.
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
Verifier is the implementation of the Okta JWT verification logic.
func NewVerifier ¶
NewVerifier creates a new Verifier for the specified issuer.
func (*Verifier) VerifyAccessToken ¶ added in v0.1.1
VerifyAccessToken verifies an Okta access token.
Click to show internal directories.
Click to hide internal directories.