Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { GenerateJWTToken(uuid string, ad time.Duration) (string, time.Time, error) GenerateJWTTokenPair(uuid string, ad time.Duration, rd time.Duration) (string, time.Time, string, time.Time, error) ProcessJWTToken(reqToken string) (string, error) }
Provider provides interface for abstracting JWT generation.
func NewProvider ¶
NewProvider Constructor that returns the JWT generator.
Click to show internal directories.
Click to hide internal directories.