Documentation ¶
Index ¶
- type Jwt
- type JwtVerifier
- func (j *JwtVerifier) GetAdaptor() adaptors.Adaptor
- func (j *JwtVerifier) GetDiscovery() discovery.Discovery
- func (j *JwtVerifier) New() *JwtVerifier
- func (j *JwtVerifier) SetLeeway(seconds int64)
- func (j *JwtVerifier) VerifyAccessToken(jwt string) (*Jwt, error)
- func (j *JwtVerifier) VerifyIdToken(jwt string) (*Jwt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JwtVerifier ¶
type JwtVerifier struct { Issuer string ClaimsToValidate map[string]string Discovery discovery.Discovery Adaptor adaptors.Adaptor // contains filtered or unexported fields }
func (*JwtVerifier) GetAdaptor ¶
func (j *JwtVerifier) GetAdaptor() adaptors.Adaptor
func (*JwtVerifier) GetDiscovery ¶
func (j *JwtVerifier) GetDiscovery() discovery.Discovery
func (*JwtVerifier) New ¶
func (j *JwtVerifier) New() *JwtVerifier
func (*JwtVerifier) SetLeeway ¶
func (j *JwtVerifier) SetLeeway(seconds int64)
func (*JwtVerifier) VerifyAccessToken ¶
func (j *JwtVerifier) VerifyAccessToken(jwt string) (*Jwt, error)
func (*JwtVerifier) VerifyIdToken ¶
func (j *JwtVerifier) VerifyIdToken(jwt string) (*Jwt, error)
Click to show internal directories.
Click to hide internal directories.