Documentation ¶
Index ¶
Constants ¶
View Source
const ( Enabled = "ENABLED" // the user is enabled. Disabled = "DISABLED" // the user is disabled Pending = "PENDING" // The user is pending when the user use the registration usercase that need tha a user administrator approve the registration )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDToken ¶
type IDToken struct {
SS string `json:"idToken"`
}
IDToken stores token properties that are accessed in multiple application layers
type RefreshToken ¶
type RefreshToken struct { ID uuid.UUID `json:"-"` UID uuid.UUID `json:"-"` SS string `json:"refreshToken"` }
RefreshToken stores token properties that are accessed in multiple application layers
type TokenPair ¶
type TokenPair struct { IDToken RefreshToken }
TokenPair used for returning pairs of id and refresh tokens
type TokenRepository ¶
type TokenUseCase ¶
type UserRepository ¶
Click to show internal directories.
Click to hide internal directories.