Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseECPublicKeyFromPEM ¶
ParseECPublicKeyFromPEM parse PEM encoded PKCS1 or PKCS8 public key
func ParseRSAPublicKeyFromPEM ¶
ParseRSAPublicKeyFromPEM parse PEM encoded PKCS1 or PKCS8 public key
Types ¶
type Config ¶
type Config struct { Name string `json:"name"` Driver string `json:"driver"` Credentials []JwtCredential `json:"credentials"` SignatureIsBase64 bool `json:"signature_is_base64"` ClaimsToVerify []string `json:"claims_to_verify"` RunOnPreflight bool `json:"run_on_preflight"` HideCredentials bool `json:"hide_credentials"` }
Config JWT实例配置
Click to show internal directories.
Click to hide internal directories.