Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationData ¶
type AuthorizationData struct {
Token string `json:"token"`
Role authEnums.HorusecRoles `json:"role"`
CompanyID uuid.UUID `json:"companyID"`
RepositoryID uuid.UUID `json:"repositoryID"`
}
func (*AuthorizationData) ToBytes ¶
func (a *AuthorizationData) ToBytes() []byte
func (*AuthorizationData) Validate ¶
func (a *AuthorizationData) Validate() error
type CreateAccount ¶
type CreateAccount struct {
Email string `json:"email"`
Password string `json:"password"`
Username string `json:"username"`
}
func (*CreateAccount) ToAccount ¶
func (c *CreateAccount) ToAccount() *authEntities.Account
type Credentials ¶
type Credentials struct {
Username string `json:"username"`
Password string `json:"password"`
Otp string `json:"otp"`
}
func (*Credentials) ToBytes ¶
func (c *Credentials) ToBytes() []byte
func (*Credentials) Validate ¶
func (c *Credentials) Validate() error
type KeycloakToken ¶
type KeycloakToken struct {
AccessToken string `json:"accessToken"`
}
func (*KeycloakToken) ToBytes ¶
func (l *KeycloakToken) ToBytes() []byte
func (*KeycloakToken) Validate ¶
func (l *KeycloakToken) Validate() error
type LdapAuthResponse ¶
type LoginResponse ¶
type ResetCodeData ¶
func (*ResetCodeData) Validate ¶
func (r *ResetCodeData) Validate() error
type UpdateAccount ¶
func (*UpdateAccount) ToAccount ¶
func (c *UpdateAccount) ToAccount() *authEntities.Account
type ValidateUnique ¶
func (*ValidateUnique) Validate ¶
func (v *ValidateUnique) Validate() error
Click to show internal directories.
Click to hide internal directories.