package
0.0.0-20200303134243-e212f3bc0389
Repository: https://github.com/ruinshe/acm-training.git
Documentation: pkg.go.dev
# Functions
AuthenticationInterceptor - the interceptor for all need authorization APIs.
CreateTokenForUser - creates the token of specific user, by their phone.
RemoveUserToken - remove the user token in the token cache.
# Constants
SessionAuthorizationClaimsKey - the session key storing the authorization claims.
# Structs
AuthorizationClaims - the customized JWT claims for type-safe type.