Documentation ¶
Index ¶
- func ExtractJti(jwtStr string) (*domain.JwtJti, error)
- func IsECDSA(alg domain.JwtAlg) bool
- func IsHMAC(alg domain.JwtAlg) bool
- func IsRSA(alg domain.JwtAlg) bool
- func LoadKey(alg domain.JwtAlg, keyFilePath string, privateKey bool) (interface{}, error)
- func LoadVerificationKey(alg domain.JwtAlg, keyFilePath string) (interface{}, error)
- func ValidateAlg(alg domain.JwtAlg) error
- func ValidateVerificationKey(alg domain.JwtAlg, keyFilePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractJti ¶
ExtractJti read "jti" claim of JWT. Does not perform any JWT validation.
func LoadVerificationKey ¶
LoadVerificationKey loads public key file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.