Documentation
¶
Index ¶
- func GetJwtAud(tokenString string) (string, error)
- func GetKeyFromJWKS(jwksURL, kid string) (*rsa.PublicKey, error)
- func GetKeyFromJWKSByteArray(body []byte, kid string) (*rsa.PublicKey, error)
- func ValidateJWT(tokenString string, skipValidation bool) (string, error)
- func ValidateJWTWithJWKS(tokenString string, jwksURL string, getKey GetKey, skipValidation bool) error
- type GetKey
- type JWKS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKeyFromJWKSByteArray ¶
Types ¶
type JWKS ¶
type JWKS struct {
Keys []json.RawMessage `json:"keys"`
}
Click to show internal directories.
Click to hide internal directories.