Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(New, NewOptions)
ProviderSet is a provider set for wire
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory declare token's factory
func (*Factory) ValidateToken ¶
func (f *Factory) ValidateToken(signedToken string) (claims *JwtTokenClaims, err error)
ValidateToken serve caller to given signed token to validate token
type JwtTokenClaims ¶
JwtTokenClaims declare custom claims
Click to show internal directories.
Click to hide internal directories.