package
1.0.1
Repository: https://github.com/apus-run/van.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
DefaultOptions .
No description provided by the author
WithClaims with customer claim If you use it in Server, f needs to return a new jwt.Claims object each time to avoid concurrent write problems If you use it in Client, f only needs to return a single object to provide performance.
WithExpired set the token expiration time (in seconds, default 2h).
WithKeyfunc set the callback function for verifying the key.
WithSigningMethod with signing method option.
WithTokenHeader withe customer tokenHeader for client side.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Interfaces

Storer token storage interface.

# Type aliases

Option is jwt option.