Documentation ¶
Overview ¶
Package schema contains service definition for Users service
Index ¶
Constants ¶
View Source
const ServiceID schema.ServiceID = "users"
ServiceID - ID for user service.
Variables ¶
View Source
var ( // ErrUnexpectedSignMethod - signing method not supported. ErrUnexpectedSignMethod = errors.New("unexpected signing method") // ErrInvalidPrivateKeySize - ed25519 private key size not matched. ErrInvalidPrivateKeySize = errors.New("private key size is invalid") )
Functions ¶
This section is empty.
Types ¶
type Claims ¶
type Claims struct { jwt.RegisteredClaims Username string `json:"username"` UserUUID string `json:"user_uuid"` }
Claims - JWT payload contents.
Click to show internal directories.
Click to hide internal directories.