package
Version:
v0.0.0-...-176ebac
Opens a new window with list of versions in this module.
Published: Jul 5, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
TokenExpiredDuration = time.Hour * 24 * 30
TokenDeviceKey = "dev"
TokenSubjectKey = "https://tinkler.win/jwt/claims"
)
type ErpClaims struct {
Roles []string `json:"x-erp-allowed-roles"`
Role string `json:"x-erp-default-role"`
UserID string `json:"x-erp-user-id"`
AccountingSchema string `json:"x-erp-as"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.