Documentation ¶
Index ¶
- Constants
- func CreateTokenString(c jwt.Claims, key interface{}) string
- func CreateTokenStringWithAlg(alg string, c jwt.Claims, key interface{}) string
- func GetDefaultClaims() jwt.MapClaims
- func GetRawRS256Jwk(publicKey *rsa.PublicKey) string
- func LoadAttackerPrivateKey() *rsa.PrivateKey
- func LoadPrivateKey() *rsa.PrivateKey
- func LoadPublicKey() *rsa.PublicKey
Constants ¶
View Source
const ( Issuer = "https://testing.auth0.com/" Audience = "https://api.testing.io/" Algorithm = "RS256" KeyId = "SomeKeyId" Claim = "email" )
Variables ¶
This section is empty.
Functions ¶
func CreateTokenString ¶
func CreateTokenString(c jwt.Claims, key interface{}) string
func GetDefaultClaims ¶
func GetDefaultClaims() jwt.MapClaims
func GetRawRS256Jwk ¶
func LoadAttackerPrivateKey ¶
func LoadAttackerPrivateKey() *rsa.PrivateKey
func LoadPrivateKey ¶
func LoadPrivateKey() *rsa.PrivateKey
func LoadPublicKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.