package
0.0.0-20200319182739-383e6fcdace5
Repository: https://github.com/brainupdaters/drlm-core.git
Documentation: pkg.go.dev

# Packages

Package types has all the different authentication types.

# Functions

Init checks whether the tokens secret is set and secure or not.
LoginLocal authenticates the user against the DB.
NewToken issues a new token.

# Structs

TokenClaims are going to be embedded inside the JWT Token.

# Type aliases

Token is a JWT token.