type Jwt struct { Claims map[string]interface{} }
type JwtVerifier struct { Issuer string ClaimsToValidate map[string]string Discovery discovery.Discovery Adaptor adaptors.Adaptor // Cache allows customization of the cache used to store resources Cache func(func(string) (interface{}, error)) (utils.Cacher, error) // contains filtered or unexported fields }
func (j *JwtVerifier) GetAdaptor() adaptors.Adaptor
func (j *JwtVerifier) GetDiscovery() discovery.Discovery
func (j *JwtVerifier) New() *JwtVerifier
func (j *JwtVerifier) SetLeeway(duration string)
func (j *JwtVerifier) VerifyAccessToken(jwt string) (*Jwt, error)
func (j *JwtVerifier) VerifyIdToken(jwt string) (*Jwt, error)