Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJwtVerifier ¶
func NewJwtVerifier(clientID string, issuer string) *jwtverifier.JwtVerifier
NewJwtVerifier returns a new JWT verifier with some minimal config
func NewOktaAuthenticationMiddleware ¶
func NewOktaAuthenticationMiddleware(base handlers.HandlerBase, jwtVerifier JwtVerifier, store *storage.Store, useTestJobCodes bool) func(http.Handler) http.Handler
NewOktaAuthenticationMiddleware returns a wrapper for HandlerFunc to authorize with Okta
Types ¶
type JwtVerifier ¶
type JwtVerifier interface {
VerifyAccessToken(jwt string) (*jwtverifier.Jwt, error)
}
JwtVerifier collects the methods we call on a JWT verifier
Click to show internal directories.
Click to hide internal directories.