Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandleResult ¶
type JWTValidator ¶
type JWTValidator struct { *oidc.IDTokenVerifier // contains filtered or unexported fields }
JWTValidator is an implementation of Verifier that validates access based JWT tokens.
func NewJWTValidator ¶
func NewJWTValidator(teamName string, certsURL string, audTags []string) *JWTValidator
func (*JWTValidator) Handle ¶
func (v *JWTValidator) Handle(ctx context.Context, r *http.Request) (*HandleResult, error)
func (*JWTValidator) Name ¶
func (v *JWTValidator) Name() string
Click to show internal directories.
Click to hide internal directories.