okta

package
v0.0.0-...-af59717 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: Apache-2.0 Imports: 10 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, 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