authentication

package
v0.0.0-...-3911e28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_v1_authentication_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_authentication_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Credential

type Credential struct {
	ClientId     string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// contains filtered or unexported fields
}

func (*Credential) Descriptor deprecated

func (*Credential) Descriptor() ([]byte, []int)

Deprecated: Use Credential.ProtoReflect.Descriptor instead.

func (*Credential) GetClientId

func (x *Credential) GetClientId() string

func (*Credential) GetClientSecret

func (x *Credential) GetClientSecret() string

func (*Credential) ProtoMessage

func (*Credential) ProtoMessage()

func (*Credential) ProtoReflect

func (x *Credential) ProtoReflect() protoreflect.Message

func (*Credential) Reset

func (x *Credential) Reset()

func (*Credential) String

func (x *Credential) String() string

type DeleteRequest

type DeleteRequest struct {
	// contains filtered or unexported fields
}

The request of a Public.Delete RPC

func (*DeleteRequest) Descriptor deprecated

func (*DeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

func (x *DeleteRequest) ProtoReflect() protoreflect.Message

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DeleteResponse

type DeleteResponse struct {
	// contains filtered or unexported fields
}

The response of a Public.Delete RPC

func (*DeleteResponse) Descriptor deprecated

func (*DeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

func (x *DeleteResponse) ProtoReflect() protoreflect.Message

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

type GetAuthConfigRequest

type GetAuthConfigRequest struct {

	// Optional redirect address for OAuth2
	RedirectAddr string `protobuf:"bytes,1,opt,name=redirect_addr,json=redirectAddr,proto3" json:"redirect_addr,omitempty"`
	ApiKey       string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

The request of a Public.AuthenticationServiceGetAuthConfigRequest RPC

func (*GetAuthConfigRequest) Descriptor deprecated

func (*GetAuthConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAuthConfigRequest.ProtoReflect.Descriptor instead.

func (*GetAuthConfigRequest) GetApiKey

func (x *GetAuthConfigRequest) GetApiKey() string

func (*GetAuthConfigRequest) GetRedirectAddr

func (x *GetAuthConfigRequest) GetRedirectAddr() string

func (*GetAuthConfigRequest) ProtoMessage

func (*GetAuthConfigRequest) ProtoMessage()

func (*GetAuthConfigRequest) ProtoReflect

func (x *GetAuthConfigRequest) ProtoReflect() protoreflect.Message

func (*GetAuthConfigRequest) Reset

func (x *GetAuthConfigRequest) Reset()

func (*GetAuthConfigRequest) String

func (x *GetAuthConfigRequest) String() string

type GetAuthConfigResponse

type GetAuthConfigResponse struct {

	// The name of the project
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The logo of the project
	LogoUrl string `protobuf:"bytes,2,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"`
	// If to validate password
	ValidatePassword bool `protobuf:"varint,3,opt,name=validate_password,json=validatePassword,proto3" json:"validate_password,omitempty"`
	// Array of supported login methods.
	LoginTypes []model.LoginType `protobuf:"varint,4,rep,packed,name=login_types,json=loginTypes,proto3,enum=model.LoginType" json:"login_types,omitempty"`
	// Array of supported oauth providers.
	OauthProviders []*OauthProvider `protobuf:"bytes,5,rep,name=oauth_providers,json=oauthProviders,proto3" json:"oauth_providers,omitempty"`
	// True if new users can sign up.
	AllowsRegister bool `protobuf:"varint,7,opt,name=allows_register,json=allowsRegister,proto3" json:"allows_register,omitempty"`
	// contains filtered or unexported fields
}

The response of a Public.AuthenticationServiceGetAuthConfigRequest RPC

func (*GetAuthConfigResponse) Descriptor deprecated

func (*GetAuthConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAuthConfigResponse.ProtoReflect.Descriptor instead.

func (*GetAuthConfigResponse) GetAllowsRegister

func (x *GetAuthConfigResponse) GetAllowsRegister() bool

func (*GetAuthConfigResponse) GetLoginTypes

func (x *GetAuthConfigResponse) GetLoginTypes() []model.LoginType

func (*GetAuthConfigResponse) GetLogoUrl

func (x *GetAuthConfigResponse) GetLogoUrl() string

func (*GetAuthConfigResponse) GetName

func (x *GetAuthConfigResponse) GetName() string

func (*GetAuthConfigResponse) GetOauthProviders

func (x *GetAuthConfigResponse) GetOauthProviders() []*OauthProvider

func (*GetAuthConfigResponse) GetValidatePassword

func (x *GetAuthConfigResponse) GetValidatePassword() bool

func (*GetAuthConfigResponse) ProtoMessage

func (*GetAuthConfigResponse) ProtoMessage()

func (*GetAuthConfigResponse) ProtoReflect

func (x *GetAuthConfigResponse) ProtoReflect() protoreflect.Message

func (*GetAuthConfigResponse) Reset

func (x *GetAuthConfigResponse) Reset()

func (*GetAuthConfigResponse) String

func (x *GetAuthConfigResponse) String() string

type GetRequest

type GetRequest struct {
	// contains filtered or unexported fields
}

The request of a Public.Get RPC

func (*GetRequest) Descriptor deprecated

func (*GetRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

func (x *GetRequest) ProtoReflect() protoreflect.Message

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

type GetResponse

type GetResponse struct {
	UserInfo *model.UserInfo `protobuf:"bytes,1,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"`
	// contains filtered or unexported fields
}

The response of a Public.Get RPC

func (*GetResponse) Descriptor deprecated

func (*GetResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetUserInfo

func (x *GetResponse) GetUserInfo() *model.UserInfo

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

func (x *GetResponse) ProtoReflect() protoreflect.Message

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type LoginRequest

type LoginRequest struct {

	// Types that are assignable to Method:
	//
	//	*LoginRequest_UserPassword
	//	*LoginRequest_Credential
	Method isLoginRequest_Method `protobuf_oneof:"method"`
	// contains filtered or unexported fields
}

The request of a Public.Login RPC

func (*LoginRequest) Descriptor deprecated

func (*LoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetCredential

func (x *LoginRequest) GetCredential() *Credential

func (*LoginRequest) GetMethod

func (m *LoginRequest) GetMethod() isLoginRequest_Method

func (*LoginRequest) GetUserPassword

func (x *LoginRequest) GetUserPassword() *UserPassword

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

func (x *LoginRequest) ProtoReflect() protoreflect.Message

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LoginRequest_Credential

type LoginRequest_Credential struct {
	Credential *Credential `protobuf:"bytes,3,opt,name=credential,proto3,oneof"`
}

type LoginRequest_UserPassword

type LoginRequest_UserPassword struct {
	UserPassword *UserPassword `protobuf:"bytes,1,opt,name=user_password,json=userPassword,proto3,oneof"`
}

type LoginResponse

type LoginResponse struct {
	Token    *Token          `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	UserId   *model.UUID     `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserInfo *model.UserInfo `protobuf:"bytes,3,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"`
	// contains filtered or unexported fields
}

The response of a Public.Login RPC

func (*LoginResponse) Descriptor deprecated

func (*LoginResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetToken

func (x *LoginResponse) GetToken() *Token

func (*LoginResponse) GetUserId

func (x *LoginResponse) GetUserId() *model.UUID

func (*LoginResponse) GetUserInfo

func (x *LoginResponse) GetUserInfo() *model.UserInfo

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

func (x *LoginResponse) ProtoReflect() protoreflect.Message

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

type LogoutRequest

type LogoutRequest struct {
	// contains filtered or unexported fields
}

The request of a Public.Logout RPC

func (*LogoutRequest) Descriptor deprecated

func (*LogoutRequest) Descriptor() ([]byte, []int)

Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.

func (*LogoutRequest) ProtoMessage

func (*LogoutRequest) ProtoMessage()

func (*LogoutRequest) ProtoReflect

func (x *LogoutRequest) ProtoReflect() protoreflect.Message

func (*LogoutRequest) Reset

func (x *LogoutRequest) Reset()

func (*LogoutRequest) String

func (x *LogoutRequest) String() string

type LogoutResponse

type LogoutResponse struct {
	// contains filtered or unexported fields
}

The response of a Public.Logout RPC

func (*LogoutResponse) Descriptor deprecated

func (*LogoutResponse) Descriptor() ([]byte, []int)

Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.

func (*LogoutResponse) ProtoMessage

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) ProtoReflect

func (x *LogoutResponse) ProtoReflect() protoreflect.Message

func (*LogoutResponse) Reset

func (x *LogoutResponse) Reset()

func (*LogoutResponse) String

func (x *LogoutResponse) String() string

type OauthProvider

type OauthProvider struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ProviderUrl string `protobuf:"bytes,2,opt,name=provider_url,json=providerUrl,proto3" json:"provider_url,omitempty"`
	// contains filtered or unexported fields
}

func (*OauthProvider) Descriptor deprecated

func (*OauthProvider) Descriptor() ([]byte, []int)

Deprecated: Use OauthProvider.ProtoReflect.Descriptor instead.

func (*OauthProvider) GetName

func (x *OauthProvider) GetName() string

func (*OauthProvider) GetProviderUrl

func (x *OauthProvider) GetProviderUrl() string

func (*OauthProvider) ProtoMessage

func (*OauthProvider) ProtoMessage()

func (*OauthProvider) ProtoReflect

func (x *OauthProvider) ProtoReflect() protoreflect.Message

func (*OauthProvider) Reset

func (x *OauthProvider) Reset()

func (*OauthProvider) String

func (x *OauthProvider) String() string

type RefreshTokenRequest

type RefreshTokenRequest struct {

	// The access token of the user
	RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

The request of a Public.Delete RPC

func (*RefreshTokenRequest) Descriptor deprecated

func (*RefreshTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.

func (*RefreshTokenRequest) GetRefreshToken

func (x *RefreshTokenRequest) GetRefreshToken() string

func (*RefreshTokenRequest) ProtoMessage

func (*RefreshTokenRequest) ProtoMessage()

func (*RefreshTokenRequest) ProtoReflect

func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message

func (*RefreshTokenRequest) Reset

func (x *RefreshTokenRequest) Reset()

func (*RefreshTokenRequest) String

func (x *RefreshTokenRequest) String() string

type RefreshTokenResponse

type RefreshTokenResponse struct {
	Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

The response of a Public.Delete RPC

func (*RefreshTokenResponse) Descriptor deprecated

func (*RefreshTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.

func (*RefreshTokenResponse) GetToken

func (x *RefreshTokenResponse) GetToken() *Token

func (*RefreshTokenResponse) ProtoMessage

func (*RefreshTokenResponse) ProtoMessage()

func (*RefreshTokenResponse) ProtoReflect

func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message

func (*RefreshTokenResponse) Reset

func (x *RefreshTokenResponse) Reset()

func (*RefreshTokenResponse) String

func (x *RefreshTokenResponse) String() string

type RegisterRequest

type RegisterRequest struct {

	// Types that are assignable to Method:
	//
	//	*RegisterRequest_UserPassword
	Method isRegisterRequest_Method `protobuf_oneof:"method"`
	// contains filtered or unexported fields
}

The request of a Public.Create RPC

func (*RegisterRequest) Descriptor deprecated

func (*RegisterRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetMethod

func (m *RegisterRequest) GetMethod() isRegisterRequest_Method

func (*RegisterRequest) GetUserPassword

func (x *RegisterRequest) GetUserPassword() *UserPassword

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

func (x *RegisterRequest) ProtoReflect() protoreflect.Message

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

type RegisterRequest_UserPassword

type RegisterRequest_UserPassword struct {
	UserPassword *UserPassword `protobuf:"bytes,1,opt,name=user_password,json=userPassword,proto3,oneof"`
}

type RegisterResponse

type RegisterResponse struct {
	Token    *Token          `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	UserId   *model.UUID     `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	UserInfo *model.UserInfo `protobuf:"bytes,3,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"`
	// contains filtered or unexported fields
}

The response of a Public.Create RPC

func (*RegisterResponse) Descriptor deprecated

func (*RegisterResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetToken

func (x *RegisterResponse) GetToken() *Token

func (*RegisterResponse) GetUserId

func (x *RegisterResponse) GetUserId() *model.UUID

func (*RegisterResponse) GetUserInfo

func (x *RegisterResponse) GetUserInfo() *model.UserInfo

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

func (x *RegisterResponse) ProtoReflect() protoreflect.Message

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

type ResetPasswordRequest

type ResetPasswordRequest struct {
	Code        string                `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	NewPassword string                `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	Identifier  *model.UserIdentifier `protobuf:"bytes,3,opt,name=identifier,proto3" json:"identifier,omitempty"`
	ApiKey      string                `protobuf:"bytes,4,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

The request of a Public.ResetPassword RPC

func (*ResetPasswordRequest) Descriptor deprecated

func (*ResetPasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*ResetPasswordRequest) GetApiKey

func (x *ResetPasswordRequest) GetApiKey() string

func (*ResetPasswordRequest) GetCode

func (x *ResetPasswordRequest) GetCode() string

func (*ResetPasswordRequest) GetIdentifier

func (x *ResetPasswordRequest) GetIdentifier() *model.UserIdentifier

func (*ResetPasswordRequest) GetNewPassword

func (x *ResetPasswordRequest) GetNewPassword() string

func (*ResetPasswordRequest) ProtoMessage

func (*ResetPasswordRequest) ProtoMessage()

func (*ResetPasswordRequest) ProtoReflect

func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message

func (*ResetPasswordRequest) Reset

func (x *ResetPasswordRequest) Reset()

func (*ResetPasswordRequest) String

func (x *ResetPasswordRequest) String() string

type ResetPasswordResponse

type ResetPasswordResponse struct {
	// contains filtered or unexported fields
}

The response of a Public.ResetPassword RPC

func (*ResetPasswordResponse) Descriptor deprecated

func (*ResetPasswordResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.

func (*ResetPasswordResponse) ProtoMessage

func (*ResetPasswordResponse) ProtoMessage()

func (*ResetPasswordResponse) ProtoReflect

func (x *ResetPasswordResponse) ProtoReflect() protoreflect.Message

func (*ResetPasswordResponse) Reset

func (x *ResetPasswordResponse) Reset()

func (*ResetPasswordResponse) String

func (x *ResetPasswordResponse) String() string

type SendPasswordResetRequest

type SendPasswordResetRequest struct {
	Identifier *model.UserIdentifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	ApiKey     string                `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

func (*SendPasswordResetRequest) Descriptor deprecated

func (*SendPasswordResetRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendPasswordResetRequest.ProtoReflect.Descriptor instead.

func (*SendPasswordResetRequest) GetApiKey

func (x *SendPasswordResetRequest) GetApiKey() string

func (*SendPasswordResetRequest) GetIdentifier

func (x *SendPasswordResetRequest) GetIdentifier() *model.UserIdentifier

func (*SendPasswordResetRequest) ProtoMessage

func (*SendPasswordResetRequest) ProtoMessage()

func (*SendPasswordResetRequest) ProtoReflect

func (x *SendPasswordResetRequest) ProtoReflect() protoreflect.Message

func (*SendPasswordResetRequest) Reset

func (x *SendPasswordResetRequest) Reset()

func (*SendPasswordResetRequest) String

func (x *SendPasswordResetRequest) String() string

type SendPasswordResetResponse

type SendPasswordResetResponse struct {
	// contains filtered or unexported fields
}

func (*SendPasswordResetResponse) Descriptor deprecated

func (*SendPasswordResetResponse) Descriptor() ([]byte, []int)

Deprecated: Use SendPasswordResetResponse.ProtoReflect.Descriptor instead.

func (*SendPasswordResetResponse) ProtoMessage

func (*SendPasswordResetResponse) ProtoMessage()

func (*SendPasswordResetResponse) ProtoReflect

func (*SendPasswordResetResponse) Reset

func (x *SendPasswordResetResponse) Reset()

func (*SendPasswordResetResponse) String

func (x *SendPasswordResetResponse) String() string

type Token

type Token struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*Token) Descriptor deprecated

func (*Token) Descriptor() ([]byte, []int)

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetAccessToken

func (x *Token) GetAccessToken() string

func (*Token) GetRefreshToken

func (x *Token) GetRefreshToken() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

func (x *Token) ProtoReflect() protoreflect.Message

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

type UserPassword

type UserPassword struct {
	Identifier *model.UserIdentifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Password   string                `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	ApiKey     string                `protobuf:"bytes,3,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

func (*UserPassword) Descriptor deprecated

func (*UserPassword) Descriptor() ([]byte, []int)

Deprecated: Use UserPassword.ProtoReflect.Descriptor instead.

func (*UserPassword) GetApiKey

func (x *UserPassword) GetApiKey() string

func (*UserPassword) GetIdentifier

func (x *UserPassword) GetIdentifier() *model.UserIdentifier

func (*UserPassword) GetPassword

func (x *UserPassword) GetPassword() string

func (*UserPassword) ProtoMessage

func (*UserPassword) ProtoMessage()

func (*UserPassword) ProtoReflect

func (x *UserPassword) ProtoReflect() protoreflect.Message

func (*UserPassword) Reset

func (x *UserPassword) Reset()

func (*UserPassword) String

func (x *UserPassword) String() string

type VerifyEmailRequest

type VerifyEmailRequest struct {
	Code   string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Email  string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	ApiKey string `protobuf:"bytes,3,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

the request of a Public.VerifyEmail RPC

func (*VerifyEmailRequest) Descriptor deprecated

func (*VerifyEmailRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyEmailRequest.ProtoReflect.Descriptor instead.

func (*VerifyEmailRequest) GetApiKey

func (x *VerifyEmailRequest) GetApiKey() string

func (*VerifyEmailRequest) GetCode

func (x *VerifyEmailRequest) GetCode() string

func (*VerifyEmailRequest) GetEmail

func (x *VerifyEmailRequest) GetEmail() string

func (*VerifyEmailRequest) ProtoMessage

func (*VerifyEmailRequest) ProtoMessage()

func (*VerifyEmailRequest) ProtoReflect

func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message

func (*VerifyEmailRequest) Reset

func (x *VerifyEmailRequest) Reset()

func (*VerifyEmailRequest) String

func (x *VerifyEmailRequest) String() string

type VerifyEmailResponse

type VerifyEmailResponse struct {
	// contains filtered or unexported fields
}

the response of a Public.VerifyEmail RPC

func (*VerifyEmailResponse) Descriptor deprecated

func (*VerifyEmailResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyEmailResponse.ProtoReflect.Descriptor instead.

func (*VerifyEmailResponse) ProtoMessage

func (*VerifyEmailResponse) ProtoMessage()

func (*VerifyEmailResponse) ProtoReflect

func (x *VerifyEmailResponse) ProtoReflect() protoreflect.Message

func (*VerifyEmailResponse) Reset

func (x *VerifyEmailResponse) Reset()

func (*VerifyEmailResponse) String

func (x *VerifyEmailResponse) String() string

type VerifyPhoneNumberRequest

type VerifyPhoneNumberRequest struct {
	Code        string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	ApiKey      string `protobuf:"bytes,3,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

the request of a Public.VerifyPhoneNumber RPC

func (*VerifyPhoneNumberRequest) Descriptor deprecated

func (*VerifyPhoneNumberRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyPhoneNumberRequest.ProtoReflect.Descriptor instead.

func (*VerifyPhoneNumberRequest) GetApiKey

func (x *VerifyPhoneNumberRequest) GetApiKey() string

func (*VerifyPhoneNumberRequest) GetCode

func (x *VerifyPhoneNumberRequest) GetCode() string

func (*VerifyPhoneNumberRequest) GetPhoneNumber

func (x *VerifyPhoneNumberRequest) GetPhoneNumber() string

func (*VerifyPhoneNumberRequest) ProtoMessage

func (*VerifyPhoneNumberRequest) ProtoMessage()

func (*VerifyPhoneNumberRequest) ProtoReflect

func (x *VerifyPhoneNumberRequest) ProtoReflect() protoreflect.Message

func (*VerifyPhoneNumberRequest) Reset

func (x *VerifyPhoneNumberRequest) Reset()

func (*VerifyPhoneNumberRequest) String

func (x *VerifyPhoneNumberRequest) String() string

type VerifyPhoneNumberResponse

type VerifyPhoneNumberResponse struct {
	// contains filtered or unexported fields
}

the response of a Public.VerifyPhoneNumber RPC

func (*VerifyPhoneNumberResponse) Descriptor deprecated

func (*VerifyPhoneNumberResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyPhoneNumberResponse.ProtoReflect.Descriptor instead.

func (*VerifyPhoneNumberResponse) ProtoMessage

func (*VerifyPhoneNumberResponse) ProtoMessage()

func (*VerifyPhoneNumberResponse) ProtoReflect

func (*VerifyPhoneNumberResponse) Reset

func (x *VerifyPhoneNumberResponse) Reset()

func (*VerifyPhoneNumberResponse) String

func (x *VerifyPhoneNumberResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL