Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthMiddleware ¶
func NewAuthMiddleware(ac *AuthChecker) gin.HandlerFunc
Types ¶
type AuthChecker ¶
type AuthChecker struct {
// contains filtered or unexported fields
}
func NewAuthChecker ¶
func NewAuthChecker(keyFunc jwt.Keyfunc, claims jwt.Claims) *AuthChecker
func NewJWKSAuthChecker ¶
func NewJWKSAuthChecker(claims jwt.Claims, issuers ...string) (*AuthChecker, error)
func NewStaticJWKSChecker ¶
func NewStaticJWKSChecker(claims jwt.Claims, raw json.RawMessage) (*AuthChecker, error)
Click to show internal directories.
Click to hide internal directories.