Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiClaimDto ¶ added in v0.0.15
type ApiKeyDto ¶ added in v0.0.15
type ApiKeyDto struct { Id string `json:"id" bson:"_id"` Name string `json:"name" bson:"name"` Blocked bool `json:"blocked" bson:"blocked"` BlockedUntil string `json:"blockedUntil" bson:"blockedUntil"` Key string `json:"key" bson:"key"` Roles []ApiRoleDto `json:"roles" bson:"roles"` Claims []ApiClaimDto `json:"claims" bson:"claims"` }
type ApiRoleDto ¶ added in v0.0.15
type UserClaimDTO ¶
type UserDTO ¶
type UserDTO struct { ID string `json:"id" bson:"_id"` Email string `json:"email" bson:"email"` EmailVerified bool `json:"emailVerified" bson:"emailVerified"` Username string `json:"username" bson:"username"` FirstName string `json:"firstName" bson:"firstName"` LastName string `json:"lastName" bson:"lastName"` DisplayName string `json:"displayName" bson:"displayName"` Password string `json:"password" bson:"password"` RefreshToken *string `json:"refreshToken" bson:"refreshToken"` RecoveryToken *string `json:"recoveryToken" bson:"recoveryToken"` EmailVerifyToken *string `json:"emailVerifyToken" bson:"emailVerifyToken"` InvalidAttempts int `json:"invalidAttempts" bson:"invalidAttempts"` Blocked bool `json:"blocked" bson:"blocked"` BlockedUntil *string `json:"blockedUntil" bson:"blockedUntil"` Roles []UserRoleDTO `json:"roles" bson:"roles"` Claims []UserClaimDTO `json:"claims" bson:"claims"` }
type UserRoleDTO ¶
Click to show internal directories.
Click to hide internal directories.