Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateToken ¶
GenerateToken generates an access token for the REST API
func Init ¶
func Init() (err error)
Init prepares a private key to sign access tokens, and sets token duration
func ValidateCredentials ¶
ValidateCredentials checks whether the provided username and password are valid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.