okta

package
v0.0.0-...-d0a3702 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

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

Jump to

Keyboard shortcuts

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