package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Aug 19, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
ERR_INVALID_CLAIM = "Invalid claim"
ERR_AUTORIZATION = "Invalid autorization"
)
*
* Generate method to use in token
* @param clientId string
* @param name string
* @param app string
* @param kind string
* @param device string
* @param expired time.Duration
* @return string
* @return error
*
*
* Key return a key
* @param app string
* @param device string
* @param clientId string
* @return string
*
*
* Validate method to use in token
* @param tokenString string
* @return *Claim
* @return error
*
Source Files
¶
Click to show internal directories.
Click to hide internal directories.