jwtoroauth2

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JWTOrOAuth2

type JWTOrOAuth2 struct {
	// contains filtered or unexported fields
}

func NewJWTOrOauth2

func NewJWTOrOauth2(
	authenticator *jwt.JWTAuthenticator,
	oauthConfig *conf.OAuthConf,
	sessions *_sessions.Sessions,
) (*JWTOrOAuth2, error)

func (*JWTOrOAuth2) Middleware

func (j *JWTOrOAuth2) Middleware() func(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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