Versions in this module Expand all Collapse all v0 v0.4.0 Feb 17, 2025 Changes in this version + const EmailRegistration + const EmailResetPassword + func AuthenticateRequestToProto(req *AuthenticateRequest) *gen.AuthenticateRequest + func AuthenticateResultToProto(req *AuthenticateResult) *gen.AuthenticateResponse + func HealthStatusToProto(status *HealthStatus) *gen.HealthResponse + func PasswordRecoveryRequestToProto(req *RecoverPasswordRequest) *gen.PasswordRecoveryRequest + func RegisterRequestToProto(req *RegisterRequest) *gen.RegisterRequest + func UserToProto(u *User) *gen.ProfileResponse + type AuthenticateRequest struct + Audience []string + Email string + ExpiresIn int64 + IpAddress string + Method int + Password string + RememberMe bool + Subject string + UserAgent string + func AuthenticateRequestFromProto(p *gen.AuthenticateRequest) *AuthenticateRequest + type AuthenticateResult struct + AccessToken string + Code string + ExpirationTime time.Time + TokenId string + UserId int32 + func AuthenticateResultFromProto(p *gen.AuthenticateResponse) *AuthenticateResult + type ChangePasswordRequest struct + NewPassword string + OldPassword string + RepeatPassword string + type EmailAddrSpec struct + Email string + Name string + type EmailData struct + Recipient EmailAddrSpec + Sender EmailAddrSpec + Subject string + Token string + Url string + type HealthStatus struct + AppDevVersion string + AppName string + AppRunDate int64 + AppTimeAlive int64 + Healthy bool + Message string + Timestamp string + type ListRequest struct + CreatedFrom int64 + CreatedUntil int64 + Limit int32 + Offset int32 + UpdatedFrom int64 + UpdatedUntil int64 + type RecoverPasswordRequest struct + ConfirmPassword string + Password string + Token string + func PasswordRecoveryRequestFromProto(p *gen.PasswordRecoveryRequest) *RecoverPasswordRequest + type RegisterRequest struct + Email string + Name string + Password string + TermsOk bool + Token string + func RegisterRequestFromProto(p *gen.RegisterRequest) *RegisterRequest + type ResetPasswordRequest struct + Email string + type TokenType string + const TokenConfirmation + const TokenResetPassword + const TokenSetPassword + type User struct + Claim string + CreatedAt int64 + Email string + Flags uint64 + Name string + Rank string + Roles uint64 + UpdatedAt int64 + UserId int32 + func UserFromProto(p *gen.ProfileResponse) *User + type UserCredentials struct + Active bool + Email string + Password string + Salt string + Token string + TokenExpire int64 + TokenType TokenType + UserId int32 + type UserCredentialsRequest struct + Email string + IsActive int32 + Token string + TokenType TokenType + UserId int32 + type UserRequest struct + Name string + UserId int32 + type UserResult struct + Settings *UserSettings + User User + type UserSettings struct + EmailFlags uint64 + LoginEmail string + UpdatedAt int64 + UserId int32 + WebFlags uint64 + type UsersRequest struct + Email string + ExtraData bool + LastActivityFrom int64 + LastActivityUntil int64 + Name string + OnlyCount bool + UserIds []int32