Documentation ¶
Index ¶
Constants ¶
View Source
const ( PREFIX = "JWT" Name = "jwt" Dir = "/etc/jwt/" Path = "/etc/jwt/config.yaml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Algorithms []string Expirations []string Interactive bool `koanf:"interactive"` Rsa *Rsa `koanf:"rsa"` Hmac *HMac `koanf:"hmac"` Ecdsa *Ecdsa `koanf:"ecdsa"` // contains filtered or unexported fields }
func (*Config) PrintableConfig ¶
type SigningMethod ¶
type SigningMethod string
const ( RSA SigningMethod = "rsa" HMAC SigningMethod = "hmac" ECDSA SigningMethod = "ecdsa" )
Click to show internal directories.
Click to hide internal directories.