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
Click to show internal directories.
Click to hide internal directories.