package
Version:
v1.19.30
Opens a new window with list of versions in this module.
Published: Nov 1, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ModifyPayload struct {
RefreshToken string `json:"refreshToken"`
AccessToken string `json:"accessToken,omitempty"`
}
type RefreshToken struct {
AccessToken string `json:"access_token"`
Payload string `json:"payload,omitempty"`
}
type ThirdPartyLogin struct {
Token string `json:"token"`
Mfa bool `json:"mfa"`
Callback string `json:"callback,omitempty"`
}
type VerifyAccessToken struct {
UID uint `json:"uid"`
Payload string `json:"payload,omitempty"`
}
type VerifyTokenSuccess struct {
UserID uint `json:"userID"`
Name string `json:"name"`
Groups []string `json:"groups"`
AvatarUrl string `json:"avatarUrl"`
RefreshToken string `json:"refreshToken"`
AccessToken string `json:"accessToken"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.