Documentation
¶
Index ¶
Constants ¶
View Source
const Anonymous string = "default"
View Source
const EmailHash string = "email_hash"
View Source
const Role string = "role"
View Source
const UniqueName string = "unique_name"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JwtContext ¶
type JwtValidator ¶
type JwtValidator struct {
// contains filtered or unexported fields
}
func NewJwtValidator ¶
func NewJwtValidator(publicKeyStr string, issuer string, audience string) *JwtValidator
type JwtValidatorInterface ¶
type JwtValidatorMiddleware ¶
type JwtValidatorMiddleware struct {
// contains filtered or unexported fields
}
func NewJwtValidatorMiddleware ¶
func NewJwtValidatorMiddleware(jwtValidator JwtValidatorInterface, routeMap map[string][]string) *JwtValidatorMiddleware
func (*JwtValidatorMiddleware) JwtParseMiddleware ¶
func (m *JwtValidatorMiddleware) JwtParseMiddleware(next echo.HandlerFunc) echo.HandlerFunc
Click to show internal directories.
Click to hide internal directories.