Documentation ¶
Overview ¶
Package accountspb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAccountsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAccountsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccountsClient) error
- func RegisterAccountsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAccountsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccountsServer) error
- func RegisterAccountsServer(s grpc.ServiceRegistrar, srv AccountsServer)
- type AccountInfo
- func (*AccountInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AccountInfo) GetCreatedAt() int64
- func (x *AccountInfo) GetEmail() string
- func (x *AccountInfo) GetEmailConfirmed() bool
- func (x *AccountInfo) GetUsername() string
- func (*AccountInfo) ProtoMessage()
- func (x *AccountInfo) ProtoReflect() protoreflect.Message
- func (x *AccountInfo) Reset()
- func (x *AccountInfo) String() string
- func (this *AccountInfo) Validate() error
- type AccountInfoRequest
- func (*AccountInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AccountInfoRequest) GetUsername() string
- func (*AccountInfoRequest) ProtoMessage()
- func (x *AccountInfoRequest) ProtoReflect() protoreflect.Message
- func (x *AccountInfoRequest) Reset()
- func (x *AccountInfoRequest) String() string
- func (this *AccountInfoRequest) Validate() error
- type AccountInfoResponse
- func (*AccountInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AccountInfoResponse) GetInfo() *AccountInfo
- func (*AccountInfoResponse) ProtoMessage()
- func (x *AccountInfoResponse) ProtoReflect() protoreflect.Message
- func (x *AccountInfoResponse) Reset()
- func (x *AccountInfoResponse) String() string
- func (this *AccountInfoResponse) Validate() error
- type AccountValidationData
- func (*AccountValidationData) Descriptor() ([]byte, []int)deprecated
- func (x *AccountValidationData) GetEmail() string
- func (x *AccountValidationData) GetExpiry() int64
- func (x *AccountValidationData) GetUser() string
- func (*AccountValidationData) ProtoMessage()
- func (x *AccountValidationData) ProtoReflect() protoreflect.Message
- func (x *AccountValidationData) Reset()
- func (x *AccountValidationData) String() string
- func (this *AccountValidationData) Validate() error
- type AccountsClient
- type AccountsServer
- type Authorization
- func (*Authorization) Descriptor() ([]byte, []int)deprecated
- func (x *Authorization) GetApplicationId() string
- func (x *Authorization) GetDuration() int64
- func (x *Authorization) GetScope() []string
- func (x *Authorization) GetUser() string
- func (*Authorization) ProtoMessage()
- func (x *Authorization) ProtoReflect() protoreflect.Message
- func (x *Authorization) Reset()
- func (x *Authorization) String() string
- func (this *Authorization) Validate() error
- type AuthorizeRequest
- func (*AuthorizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeRequest) GetClientId() string
- func (x *AuthorizeRequest) GetRedirectUri() string
- func (x *AuthorizeRequest) GetResponseType() string
- func (x *AuthorizeRequest) GetScope() string
- func (x *AuthorizeRequest) GetState() string
- func (*AuthorizeRequest) ProtoMessage()
- func (x *AuthorizeRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizeRequest) Reset()
- func (x *AuthorizeRequest) String() string
- func (this *AuthorizeRequest) Validate() error
- type AuthorizeResponse
- type CloseSessionRequest
- func (*CloseSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloseSessionRequest) GetSessionId() string
- func (*CloseSessionRequest) ProtoMessage()
- func (x *CloseSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CloseSessionRequest) Reset()
- func (x *CloseSessionRequest) String() string
- func (this *CloseSessionRequest) Validate() error
- type CloseSessionResponse
- func (*CloseSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (*CloseSessionResponse) ProtoMessage()
- func (x *CloseSessionResponse) ProtoReflect() protoreflect.Message
- func (x *CloseSessionResponse) Reset()
- func (x *CloseSessionResponse) String() string
- func (this *CloseSessionResponse) Validate() error
- type CreateAccountRequest
- func (*CreateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountRequest) GetEmail() string
- func (x *CreateAccountRequest) GetPassword() string
- func (x *CreateAccountRequest) GetUsername() string
- func (*CreateAccountRequest) ProtoMessage()
- func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountRequest) Reset()
- func (x *CreateAccountRequest) String() string
- func (this *CreateAccountRequest) Validate() error
- type CreateAccountResponse
- func (*CreateAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountResponse) GetEmailExists() bool
- func (x *CreateAccountResponse) GetUsernameExists() bool
- func (*CreateAccountResponse) ProtoMessage()
- func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountResponse) Reset()
- func (x *CreateAccountResponse) String() string
- func (this *CreateAccountResponse) Validate() error
- type FindAccountRequest
- func (*FindAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindAccountRequest) GetEmail() string
- func (x *FindAccountRequest) GetUsername() string
- func (*FindAccountRequest) ProtoMessage()
- func (x *FindAccountRequest) ProtoReflect() protoreflect.Message
- func (x *FindAccountRequest) Reset()
- func (x *FindAccountRequest) String() string
- func (this *FindAccountRequest) Validate() error
- type FindAccountResponse
- func (*FindAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindAccountResponse) GetEmailExists() bool
- func (x *FindAccountResponse) GetUsernameExists() bool
- func (*FindAccountResponse) ProtoMessage()
- func (x *FindAccountResponse) ProtoReflect() protoreflect.Message
- func (x *FindAccountResponse) Reset()
- func (x *FindAccountResponse) String() string
- func (this *FindAccountResponse) Validate() error
- type GetTokenRequest
- func (*GetTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTokenRequest) GetCode() string
- func (x *GetTokenRequest) GetCodeVerifier() string
- func (x *GetTokenRequest) GetGrantType() string
- func (x *GetTokenRequest) GetPassword() string
- func (x *GetTokenRequest) GetRedirectUri() string
- func (x *GetTokenRequest) GetRefreshToken() string
- func (x *GetTokenRequest) GetUsername() string
- func (*GetTokenRequest) ProtoMessage()
- func (x *GetTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetTokenRequest) Reset()
- func (x *GetTokenRequest) String() string
- func (this *GetTokenRequest) Validate() error
- type GetTokenResponse
- func (*GetTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTokenResponse) GetJwt() string
- func (*GetTokenResponse) ProtoMessage()
- func (x *GetTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GetTokenResponse) Reset()
- func (x *GetTokenResponse) String() string
- func (this *GetTokenResponse) Validate() error
- type ListSessionsRequest
- func (*ListSessionsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListSessionsRequest) ProtoMessage()
- func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSessionsRequest) Reset()
- func (x *ListSessionsRequest) String() string
- func (this *ListSessionsRequest) Validate() error
- type ListSessionsResponse
- func (*ListSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionsResponse) GetSessions() []*Session
- func (*ListSessionsResponse) ProtoMessage()
- func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSessionsResponse) Reset()
- func (x *ListSessionsResponse) String() string
- func (this *ListSessionsResponse) Validate() error
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetUser() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- func (this *LoginRequest) Validate() error
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetRedirectURL() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- func (this *LoginResponse) Validate() error
- type LogoutRequest
- type LogoutResponse
- type OauthCodeExchangeData
- func (*OauthCodeExchangeData) Descriptor() ([]byte, []int)deprecated
- func (x *OauthCodeExchangeData) GetClientId() string
- func (x *OauthCodeExchangeData) GetScope() string
- func (x *OauthCodeExchangeData) GetState() string
- func (x *OauthCodeExchangeData) GetUser() string
- func (*OauthCodeExchangeData) ProtoMessage()
- func (x *OauthCodeExchangeData) ProtoReflect() protoreflect.Message
- func (x *OauthCodeExchangeData) Reset()
- func (x *OauthCodeExchangeData) String() string
- func (this *OauthCodeExchangeData) Validate() error
- type RequestEmailValidationRequest
- func (*RequestEmailValidationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RequestEmailValidationRequest) GetEmail() string
- func (*RequestEmailValidationRequest) ProtoMessage()
- func (x *RequestEmailValidationRequest) ProtoReflect() protoreflect.Message
- func (x *RequestEmailValidationRequest) Reset()
- func (x *RequestEmailValidationRequest) String() string
- func (this *RequestEmailValidationRequest) Validate() error
- type RequestEmailValidationResponse
- func (*RequestEmailValidationResponse) Descriptor() ([]byte, []int)deprecated
- func (*RequestEmailValidationResponse) ProtoMessage()
- func (x *RequestEmailValidationResponse) ProtoReflect() protoreflect.Message
- func (x *RequestEmailValidationResponse) Reset()
- func (x *RequestEmailValidationResponse) String() string
- func (this *RequestEmailValidationResponse) Validate() error
- type RequestPasswordResetRequest
- func (*RequestPasswordResetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RequestPasswordResetRequest) GetEmail() string
- func (*RequestPasswordResetRequest) ProtoMessage()
- func (x *RequestPasswordResetRequest) ProtoReflect() protoreflect.Message
- func (x *RequestPasswordResetRequest) Reset()
- func (x *RequestPasswordResetRequest) String() string
- func (this *RequestPasswordResetRequest) Validate() error
- type RequestPasswordResetResponse
- func (*RequestPasswordResetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RequestPasswordResetResponse) GetRedirectUrl() string
- func (*RequestPasswordResetResponse) ProtoMessage()
- func (x *RequestPasswordResetResponse) ProtoReflect() protoreflect.Message
- func (x *RequestPasswordResetResponse) Reset()
- func (x *RequestPasswordResetResponse) String() string
- func (this *RequestPasswordResetResponse) Validate() error
- type ResetPasswordEmailData
- func (*ResetPasswordEmailData) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPasswordEmailData) GetExpiry() int64
- func (x *ResetPasswordEmailData) GetUser() string
- func (*ResetPasswordEmailData) ProtoMessage()
- func (x *ResetPasswordEmailData) ProtoReflect() protoreflect.Message
- func (x *ResetPasswordEmailData) Reset()
- func (x *ResetPasswordEmailData) String() string
- func (this *ResetPasswordEmailData) Validate() error
- type SelectAccountRequest
- func (*SelectAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelectAccountRequest) GetSwitch() bool
- func (*SelectAccountRequest) ProtoMessage()
- func (x *SelectAccountRequest) ProtoReflect() protoreflect.Message
- func (x *SelectAccountRequest) Reset()
- func (x *SelectAccountRequest) String() string
- func (this *SelectAccountRequest) Validate() error
- type SelectAccountResponse
- func (*SelectAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SelectAccountResponse) GetRedirectUrl() string
- func (*SelectAccountResponse) ProtoMessage()
- func (x *SelectAccountResponse) ProtoReflect() protoreflect.Message
- func (x *SelectAccountResponse) Reset()
- func (x *SelectAccountResponse) String() string
- func (this *SelectAccountResponse) Validate() error
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetId() string
- func (x *Session) GetJwt() string
- func (x *Session) GetOpenedAt() int64
- func (x *Session) GetUserAgent() string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- func (this *Session) Validate() error
- type UnimplementedAccountsServer
- func (UnimplementedAccountsServer) AccountInfo(context.Context, *AccountInfoRequest) (*AccountInfoResponse, error)
- func (UnimplementedAccountsServer) Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error)
- func (UnimplementedAccountsServer) CloseSession(context.Context, *CloseSessionRequest) (*CloseSessionResponse, error)
- func (UnimplementedAccountsServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
- func (UnimplementedAccountsServer) FindAccount(context.Context, *FindAccountRequest) (*FindAccountResponse, error)
- func (UnimplementedAccountsServer) GetToken(context.Context, *GetTokenRequest) (*GetTokenResponse, error)
- func (UnimplementedAccountsServer) ListsSession(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
- func (UnimplementedAccountsServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedAccountsServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
- func (UnimplementedAccountsServer) RequestEmailValidation(context.Context, *RequestEmailValidationRequest) (*RequestEmailValidationResponse, error)
- func (UnimplementedAccountsServer) RequestPasswordReset(context.Context, *RequestPasswordResetRequest) (*RequestPasswordResetResponse, error)
- func (UnimplementedAccountsServer) SelectAccount(context.Context, *SelectAccountRequest) (*SelectAccountResponse, error)
- func (UnimplementedAccountsServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
- func (UnimplementedAccountsServer) ValidateEmail(context.Context, *ValidateEmailRequest) (*ValidateEmailResponse, error)
- type UnsafeAccountsServer
- type UpdatePasswordRequest
- func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordRequest) GetNewPassword() string
- func (x *UpdatePasswordRequest) GetPasswordConfirm() string
- func (*UpdatePasswordRequest) ProtoMessage()
- func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordRequest) Reset()
- func (x *UpdatePasswordRequest) String() string
- func (this *UpdatePasswordRequest) Validate() error
- type UpdatePasswordResponse
- func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdatePasswordResponse) ProtoMessage()
- func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordResponse) Reset()
- func (x *UpdatePasswordResponse) String() string
- func (this *UpdatePasswordResponse) Validate() error
- type UserEmailValidationData
- func (*UserEmailValidationData) Descriptor() ([]byte, []int)deprecated
- func (x *UserEmailValidationData) GetEmail() string
- func (x *UserEmailValidationData) GetExpiry() int64
- func (x *UserEmailValidationData) GetUser() string
- func (*UserEmailValidationData) ProtoMessage()
- func (x *UserEmailValidationData) ProtoReflect() protoreflect.Message
- func (x *UserEmailValidationData) Reset()
- func (x *UserEmailValidationData) String() string
- func (this *UserEmailValidationData) Validate() error
- type ValidateEmailRequest
- func (*ValidateEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateEmailRequest) GetCode() string
- func (*ValidateEmailRequest) ProtoMessage()
- func (x *ValidateEmailRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateEmailRequest) Reset()
- func (x *ValidateEmailRequest) String() string
- func (this *ValidateEmailRequest) Validate() error
- type ValidateEmailResponse
- func (*ValidateEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (*ValidateEmailResponse) ProtoMessage()
- func (x *ValidateEmailResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateEmailResponse) Reset()
- func (x *ValidateEmailResponse) String() string
- func (this *ValidateEmailResponse) Validate() error
Constants ¶
This section is empty.
Variables ¶
var File_accounts_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountsHandler ¶
func RegisterAccountsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAccountsHandler registers the http handlers for service Accounts to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAccountsHandlerClient ¶
func RegisterAccountsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccountsClient) error
RegisterAccountsHandlerClient registers the http handlers for service Accounts to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AccountsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AccountsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AccountsClient" to call the correct interceptors.
func RegisterAccountsHandlerFromEndpoint ¶
func RegisterAccountsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAccountsHandlerFromEndpoint is same as RegisterAccountsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAccountsHandlerServer ¶
func RegisterAccountsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccountsServer) error
RegisterAccountsHandlerServer registers the http handlers for service Accounts to "mux". UnaryRPC :call AccountsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAccountsHandlerFromEndpoint instead.
func RegisterAccountsServer ¶
func RegisterAccountsServer(s grpc.ServiceRegistrar, srv AccountsServer)
Types ¶
type AccountInfo ¶
type AccountInfo struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` EmailConfirmed bool `protobuf:"varint,3,opt,name=email_confirmed,json=emailConfirmed,proto3" json:"email_confirmed,omitempty"` CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*AccountInfo) Descriptor
deprecated
func (*AccountInfo) Descriptor() ([]byte, []int)
Deprecated: Use AccountInfo.ProtoReflect.Descriptor instead.
func (*AccountInfo) GetCreatedAt ¶
func (x *AccountInfo) GetCreatedAt() int64
func (*AccountInfo) GetEmail ¶
func (x *AccountInfo) GetEmail() string
func (*AccountInfo) GetEmailConfirmed ¶
func (x *AccountInfo) GetEmailConfirmed() bool
func (*AccountInfo) GetUsername ¶
func (x *AccountInfo) GetUsername() string
func (*AccountInfo) ProtoMessage ¶
func (*AccountInfo) ProtoMessage()
func (*AccountInfo) ProtoReflect ¶
func (x *AccountInfo) ProtoReflect() protoreflect.Message
func (*AccountInfo) Reset ¶
func (x *AccountInfo) Reset()
func (*AccountInfo) String ¶
func (x *AccountInfo) String() string
func (*AccountInfo) Validate ¶
func (this *AccountInfo) Validate() error
type AccountInfoRequest ¶
type AccountInfoRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*AccountInfoRequest) Descriptor
deprecated
func (*AccountInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use AccountInfoRequest.ProtoReflect.Descriptor instead.
func (*AccountInfoRequest) GetUsername ¶
func (x *AccountInfoRequest) GetUsername() string
func (*AccountInfoRequest) ProtoMessage ¶
func (*AccountInfoRequest) ProtoMessage()
func (*AccountInfoRequest) ProtoReflect ¶
func (x *AccountInfoRequest) ProtoReflect() protoreflect.Message
func (*AccountInfoRequest) Reset ¶
func (x *AccountInfoRequest) Reset()
func (*AccountInfoRequest) String ¶
func (x *AccountInfoRequest) String() string
func (*AccountInfoRequest) Validate ¶
func (this *AccountInfoRequest) Validate() error
type AccountInfoResponse ¶
type AccountInfoResponse struct { Info *AccountInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*AccountInfoResponse) Descriptor
deprecated
func (*AccountInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use AccountInfoResponse.ProtoReflect.Descriptor instead.
func (*AccountInfoResponse) GetInfo ¶
func (x *AccountInfoResponse) GetInfo() *AccountInfo
func (*AccountInfoResponse) ProtoMessage ¶
func (*AccountInfoResponse) ProtoMessage()
func (*AccountInfoResponse) ProtoReflect ¶
func (x *AccountInfoResponse) ProtoReflect() protoreflect.Message
func (*AccountInfoResponse) Reset ¶
func (x *AccountInfoResponse) Reset()
func (*AccountInfoResponse) String ¶
func (x *AccountInfoResponse) String() string
func (*AccountInfoResponse) Validate ¶
func (this *AccountInfoResponse) Validate() error
type AccountValidationData ¶
type AccountValidationData struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Expiry int64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"` // contains filtered or unexported fields }
func (*AccountValidationData) Descriptor
deprecated
func (*AccountValidationData) Descriptor() ([]byte, []int)
Deprecated: Use AccountValidationData.ProtoReflect.Descriptor instead.
func (*AccountValidationData) GetEmail ¶
func (x *AccountValidationData) GetEmail() string
func (*AccountValidationData) GetExpiry ¶
func (x *AccountValidationData) GetExpiry() int64
func (*AccountValidationData) GetUser ¶
func (x *AccountValidationData) GetUser() string
func (*AccountValidationData) ProtoMessage ¶
func (*AccountValidationData) ProtoMessage()
func (*AccountValidationData) ProtoReflect ¶
func (x *AccountValidationData) ProtoReflect() protoreflect.Message
func (*AccountValidationData) Reset ¶
func (x *AccountValidationData) Reset()
func (*AccountValidationData) String ¶
func (x *AccountValidationData) String() string
func (*AccountValidationData) Validate ¶
func (this *AccountValidationData) Validate() error
type AccountsClient ¶
type AccountsClient interface { FindAccount(ctx context.Context, in *FindAccountRequest, opts ...grpc.CallOption) (*FindAccountResponse, error) CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*CreateAccountResponse, error) ValidateEmail(ctx context.Context, in *ValidateEmailRequest, opts ...grpc.CallOption) (*ValidateEmailResponse, error) RequestEmailValidation(ctx context.Context, in *RequestEmailValidationRequest, opts ...grpc.CallOption) (*RequestEmailValidationResponse, error) AccountInfo(ctx context.Context, in *AccountInfoRequest, opts ...grpc.CallOption) (*AccountInfoResponse, error) SelectAccount(ctx context.Context, in *SelectAccountRequest, opts ...grpc.CallOption) (*SelectAccountResponse, error) RequestPasswordReset(ctx context.Context, in *RequestPasswordResetRequest, opts ...grpc.CallOption) (*RequestPasswordResetResponse, error) UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...grpc.CallOption) (*UpdatePasswordResponse, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error) ListsSession(ctx context.Context, in *ListSessionsRequest, opts ...grpc.CallOption) (*ListSessionsResponse, error) CloseSession(ctx context.Context, in *CloseSessionRequest, opts ...grpc.CallOption) (*CloseSessionResponse, error) Authorize(ctx context.Context, in *AuthorizeRequest, opts ...grpc.CallOption) (*AuthorizeResponse, error) GetToken(ctx context.Context, in *GetTokenRequest, opts ...grpc.CallOption) (*GetTokenResponse, error) }
AccountsClient is the client API for Accounts service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAccountsClient ¶
func NewAccountsClient(cc grpc.ClientConnInterface) AccountsClient
type AccountsServer ¶
type AccountsServer interface { FindAccount(context.Context, *FindAccountRequest) (*FindAccountResponse, error) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error) ValidateEmail(context.Context, *ValidateEmailRequest) (*ValidateEmailResponse, error) RequestEmailValidation(context.Context, *RequestEmailValidationRequest) (*RequestEmailValidationResponse, error) AccountInfo(context.Context, *AccountInfoRequest) (*AccountInfoResponse, error) SelectAccount(context.Context, *SelectAccountRequest) (*SelectAccountResponse, error) RequestPasswordReset(context.Context, *RequestPasswordResetRequest) (*RequestPasswordResetResponse, error) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error) Login(context.Context, *LoginRequest) (*LoginResponse, error) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error) ListsSession(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error) CloseSession(context.Context, *CloseSessionRequest) (*CloseSessionResponse, error) Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error) GetToken(context.Context, *GetTokenRequest) (*GetTokenResponse, error) // contains filtered or unexported methods }
AccountsServer is the server API for Accounts service. All implementations must embed UnimplementedAccountsServer for forward compatibility
type Authorization ¶
type Authorization struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` Scope []string `protobuf:"bytes,3,rep,name=scope,proto3" json:"scope,omitempty"` Duration int64 `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*Authorization) Descriptor
deprecated
func (*Authorization) Descriptor() ([]byte, []int)
Deprecated: Use Authorization.ProtoReflect.Descriptor instead.
func (*Authorization) GetApplicationId ¶
func (x *Authorization) GetApplicationId() string
func (*Authorization) GetDuration ¶
func (x *Authorization) GetDuration() int64
func (*Authorization) GetScope ¶
func (x *Authorization) GetScope() []string
func (*Authorization) GetUser ¶
func (x *Authorization) GetUser() string
func (*Authorization) ProtoMessage ¶
func (*Authorization) ProtoMessage()
func (*Authorization) ProtoReflect ¶
func (x *Authorization) ProtoReflect() protoreflect.Message
func (*Authorization) Reset ¶
func (x *Authorization) Reset()
func (*Authorization) String ¶
func (x *Authorization) String() string
func (*Authorization) Validate ¶
func (this *Authorization) Validate() error
type AuthorizeRequest ¶
type AuthorizeRequest struct { ResponseType string `protobuf:"bytes,1,opt,name=response_type,json=responseType,proto3" json:"response_type,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"` State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` RedirectUri string `protobuf:"bytes,5,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeRequest) Descriptor
deprecated
func (*AuthorizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeRequest.ProtoReflect.Descriptor instead.
func (*AuthorizeRequest) GetClientId ¶
func (x *AuthorizeRequest) GetClientId() string
func (*AuthorizeRequest) GetRedirectUri ¶
func (x *AuthorizeRequest) GetRedirectUri() string
func (*AuthorizeRequest) GetResponseType ¶
func (x *AuthorizeRequest) GetResponseType() string
func (*AuthorizeRequest) GetScope ¶
func (x *AuthorizeRequest) GetScope() string
func (*AuthorizeRequest) GetState ¶
func (x *AuthorizeRequest) GetState() string
func (*AuthorizeRequest) ProtoMessage ¶
func (*AuthorizeRequest) ProtoMessage()
func (*AuthorizeRequest) ProtoReflect ¶
func (x *AuthorizeRequest) ProtoReflect() protoreflect.Message
func (*AuthorizeRequest) Reset ¶
func (x *AuthorizeRequest) Reset()
func (*AuthorizeRequest) String ¶
func (x *AuthorizeRequest) String() string
func (*AuthorizeRequest) Validate ¶
func (this *AuthorizeRequest) Validate() error
type AuthorizeResponse ¶
type AuthorizeResponse struct {
// contains filtered or unexported fields
}
func (*AuthorizeResponse) Descriptor
deprecated
func (*AuthorizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeResponse.ProtoReflect.Descriptor instead.
func (*AuthorizeResponse) ProtoMessage ¶
func (*AuthorizeResponse) ProtoMessage()
func (*AuthorizeResponse) ProtoReflect ¶
func (x *AuthorizeResponse) ProtoReflect() protoreflect.Message
func (*AuthorizeResponse) Reset ¶
func (x *AuthorizeResponse) Reset()
func (*AuthorizeResponse) String ¶
func (x *AuthorizeResponse) String() string
func (*AuthorizeResponse) Validate ¶
func (this *AuthorizeResponse) Validate() error
type CloseSessionRequest ¶
type CloseSessionRequest struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // contains filtered or unexported fields }
func (*CloseSessionRequest) Descriptor
deprecated
func (*CloseSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloseSessionRequest.ProtoReflect.Descriptor instead.
func (*CloseSessionRequest) GetSessionId ¶
func (x *CloseSessionRequest) GetSessionId() string
func (*CloseSessionRequest) ProtoMessage ¶
func (*CloseSessionRequest) ProtoMessage()
func (*CloseSessionRequest) ProtoReflect ¶
func (x *CloseSessionRequest) ProtoReflect() protoreflect.Message
func (*CloseSessionRequest) Reset ¶
func (x *CloseSessionRequest) Reset()
func (*CloseSessionRequest) String ¶
func (x *CloseSessionRequest) String() string
func (*CloseSessionRequest) Validate ¶
func (this *CloseSessionRequest) Validate() error
type CloseSessionResponse ¶
type CloseSessionResponse struct {
// contains filtered or unexported fields
}
func (*CloseSessionResponse) Descriptor
deprecated
func (*CloseSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CloseSessionResponse.ProtoReflect.Descriptor instead.
func (*CloseSessionResponse) ProtoMessage ¶
func (*CloseSessionResponse) ProtoMessage()
func (*CloseSessionResponse) ProtoReflect ¶
func (x *CloseSessionResponse) ProtoReflect() protoreflect.Message
func (*CloseSessionResponse) Reset ¶
func (x *CloseSessionResponse) Reset()
func (*CloseSessionResponse) String ¶
func (x *CloseSessionResponse) String() string
func (*CloseSessionResponse) Validate ¶
func (this *CloseSessionResponse) Validate() error
type CreateAccountRequest ¶
type CreateAccountRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountRequest) Descriptor
deprecated
func (*CreateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountRequest) GetEmail ¶
func (x *CreateAccountRequest) GetEmail() string
func (*CreateAccountRequest) GetPassword ¶
func (x *CreateAccountRequest) GetPassword() string
func (*CreateAccountRequest) GetUsername ¶
func (x *CreateAccountRequest) GetUsername() string
func (*CreateAccountRequest) ProtoMessage ¶
func (*CreateAccountRequest) ProtoMessage()
func (*CreateAccountRequest) ProtoReflect ¶
func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountRequest) Reset ¶
func (x *CreateAccountRequest) Reset()
func (*CreateAccountRequest) String ¶
func (x *CreateAccountRequest) String() string
func (*CreateAccountRequest) Validate ¶
func (this *CreateAccountRequest) Validate() error
type CreateAccountResponse ¶
type CreateAccountResponse struct { UsernameExists bool `protobuf:"varint,1,opt,name=username_exists,json=usernameExists,proto3" json:"username_exists,omitempty"` EmailExists bool `protobuf:"varint,2,opt,name=email_exists,json=emailExists,proto3" json:"email_exists,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountResponse) Descriptor
deprecated
func (*CreateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountResponse) GetEmailExists ¶
func (x *CreateAccountResponse) GetEmailExists() bool
func (*CreateAccountResponse) GetUsernameExists ¶
func (x *CreateAccountResponse) GetUsernameExists() bool
func (*CreateAccountResponse) ProtoMessage ¶
func (*CreateAccountResponse) ProtoMessage()
func (*CreateAccountResponse) ProtoReflect ¶
func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
func (*CreateAccountResponse) Reset ¶
func (x *CreateAccountResponse) Reset()
func (*CreateAccountResponse) String ¶
func (x *CreateAccountResponse) String() string
func (*CreateAccountResponse) Validate ¶
func (this *CreateAccountResponse) Validate() error
type FindAccountRequest ¶
type FindAccountRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*FindAccountRequest) Descriptor
deprecated
func (*FindAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindAccountRequest.ProtoReflect.Descriptor instead.
func (*FindAccountRequest) GetEmail ¶
func (x *FindAccountRequest) GetEmail() string
func (*FindAccountRequest) GetUsername ¶
func (x *FindAccountRequest) GetUsername() string
func (*FindAccountRequest) ProtoMessage ¶
func (*FindAccountRequest) ProtoMessage()
func (*FindAccountRequest) ProtoReflect ¶
func (x *FindAccountRequest) ProtoReflect() protoreflect.Message
func (*FindAccountRequest) Reset ¶
func (x *FindAccountRequest) Reset()
func (*FindAccountRequest) String ¶
func (x *FindAccountRequest) String() string
func (*FindAccountRequest) Validate ¶
func (this *FindAccountRequest) Validate() error
type FindAccountResponse ¶
type FindAccountResponse struct { UsernameExists bool `protobuf:"varint,1,opt,name=username_exists,json=usernameExists,proto3" json:"username_exists,omitempty"` EmailExists bool `protobuf:"varint,2,opt,name=email_exists,json=emailExists,proto3" json:"email_exists,omitempty"` // contains filtered or unexported fields }
func (*FindAccountResponse) Descriptor
deprecated
func (*FindAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindAccountResponse.ProtoReflect.Descriptor instead.
func (*FindAccountResponse) GetEmailExists ¶
func (x *FindAccountResponse) GetEmailExists() bool
func (*FindAccountResponse) GetUsernameExists ¶
func (x *FindAccountResponse) GetUsernameExists() bool
func (*FindAccountResponse) ProtoMessage ¶
func (*FindAccountResponse) ProtoMessage()
func (*FindAccountResponse) ProtoReflect ¶
func (x *FindAccountResponse) ProtoReflect() protoreflect.Message
func (*FindAccountResponse) Reset ¶
func (x *FindAccountResponse) Reset()
func (*FindAccountResponse) String ¶
func (x *FindAccountResponse) String() string
func (*FindAccountResponse) Validate ¶
func (this *FindAccountResponse) Validate() error
type GetTokenRequest ¶
type GetTokenRequest struct { GrantType string `protobuf:"bytes,1,opt,name=grant_type,json=grantType,proto3" json:"grant_type,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` RedirectUri string `protobuf:"bytes,3,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` CodeVerifier string `protobuf:"bytes,4,opt,name=code_verifier,json=codeVerifier,proto3" json:"code_verifier,omitempty"` Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` RefreshToken string `protobuf:"bytes,7,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*GetTokenRequest) Descriptor
deprecated
func (*GetTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTokenRequest.ProtoReflect.Descriptor instead.
func (*GetTokenRequest) GetCode ¶
func (x *GetTokenRequest) GetCode() string
func (*GetTokenRequest) GetCodeVerifier ¶
func (x *GetTokenRequest) GetCodeVerifier() string
func (*GetTokenRequest) GetGrantType ¶
func (x *GetTokenRequest) GetGrantType() string
func (*GetTokenRequest) GetPassword ¶
func (x *GetTokenRequest) GetPassword() string
func (*GetTokenRequest) GetRedirectUri ¶
func (x *GetTokenRequest) GetRedirectUri() string
func (*GetTokenRequest) GetRefreshToken ¶
func (x *GetTokenRequest) GetRefreshToken() string
func (*GetTokenRequest) GetUsername ¶
func (x *GetTokenRequest) GetUsername() string
func (*GetTokenRequest) ProtoMessage ¶
func (*GetTokenRequest) ProtoMessage()
func (*GetTokenRequest) ProtoReflect ¶
func (x *GetTokenRequest) ProtoReflect() protoreflect.Message
func (*GetTokenRequest) Reset ¶
func (x *GetTokenRequest) Reset()
func (*GetTokenRequest) String ¶
func (x *GetTokenRequest) String() string
func (*GetTokenRequest) Validate ¶
func (this *GetTokenRequest) Validate() error
type GetTokenResponse ¶
type GetTokenResponse struct { Jwt string `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"` // contains filtered or unexported fields }
func (*GetTokenResponse) Descriptor
deprecated
func (*GetTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTokenResponse.ProtoReflect.Descriptor instead.
func (*GetTokenResponse) GetJwt ¶
func (x *GetTokenResponse) GetJwt() string
func (*GetTokenResponse) ProtoMessage ¶
func (*GetTokenResponse) ProtoMessage()
func (*GetTokenResponse) ProtoReflect ¶
func (x *GetTokenResponse) ProtoReflect() protoreflect.Message
func (*GetTokenResponse) Reset ¶
func (x *GetTokenResponse) Reset()
func (*GetTokenResponse) String ¶
func (x *GetTokenResponse) String() string
func (*GetTokenResponse) Validate ¶
func (this *GetTokenResponse) Validate() error
type ListSessionsRequest ¶
type ListSessionsRequest struct {
// contains filtered or unexported fields
}
func (*ListSessionsRequest) Descriptor
deprecated
func (*ListSessionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.
func (*ListSessionsRequest) ProtoMessage ¶
func (*ListSessionsRequest) ProtoMessage()
func (*ListSessionsRequest) ProtoReflect ¶
func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message
func (*ListSessionsRequest) Reset ¶
func (x *ListSessionsRequest) Reset()
func (*ListSessionsRequest) String ¶
func (x *ListSessionsRequest) String() string
func (*ListSessionsRequest) Validate ¶
func (this *ListSessionsRequest) Validate() error
type ListSessionsResponse ¶
type ListSessionsResponse struct { Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"` // contains filtered or unexported fields }
func (*ListSessionsResponse) Descriptor
deprecated
func (*ListSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListSessionsResponse) GetSessions ¶
func (x *ListSessionsResponse) GetSessions() []*Session
func (*ListSessionsResponse) ProtoMessage ¶
func (*ListSessionsResponse) ProtoMessage()
func (*ListSessionsResponse) ProtoReflect ¶
func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
func (*ListSessionsResponse) Reset ¶
func (x *ListSessionsResponse) Reset()
func (*ListSessionsResponse) String ¶
func (x *ListSessionsResponse) String() string
func (*ListSessionsResponse) Validate ¶
func (this *ListSessionsResponse) Validate() error
type LoginRequest ¶
type LoginRequest struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) GetUser ¶
func (x *LoginRequest) GetUser() string
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
func (*LoginRequest) Validate ¶
func (this *LoginRequest) Validate() error
type LoginResponse ¶
type LoginResponse struct { RedirectURL string `protobuf:"bytes,1,opt,name=redirectURL,proto3" json:"redirectURL,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetRedirectURL ¶
func (x *LoginResponse) GetRedirectURL() string
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
func (*LoginResponse) Validate ¶
func (this *LoginResponse) Validate() error
type LogoutRequest ¶
type LogoutRequest struct {
// contains filtered or unexported fields
}
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
func (*LogoutRequest) Validate ¶
func (this *LogoutRequest) Validate() error
type LogoutResponse ¶
type LogoutResponse struct {
// contains filtered or unexported fields
}
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
func (*LogoutResponse) Validate ¶
func (this *LogoutResponse) Validate() error
type OauthCodeExchangeData ¶
type OauthCodeExchangeData struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"` State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*OauthCodeExchangeData) Descriptor
deprecated
func (*OauthCodeExchangeData) Descriptor() ([]byte, []int)
Deprecated: Use OauthCodeExchangeData.ProtoReflect.Descriptor instead.
func (*OauthCodeExchangeData) GetClientId ¶
func (x *OauthCodeExchangeData) GetClientId() string
func (*OauthCodeExchangeData) GetScope ¶
func (x *OauthCodeExchangeData) GetScope() string
func (*OauthCodeExchangeData) GetState ¶
func (x *OauthCodeExchangeData) GetState() string
func (*OauthCodeExchangeData) GetUser ¶
func (x *OauthCodeExchangeData) GetUser() string
func (*OauthCodeExchangeData) ProtoMessage ¶
func (*OauthCodeExchangeData) ProtoMessage()
func (*OauthCodeExchangeData) ProtoReflect ¶
func (x *OauthCodeExchangeData) ProtoReflect() protoreflect.Message
func (*OauthCodeExchangeData) Reset ¶
func (x *OauthCodeExchangeData) Reset()
func (*OauthCodeExchangeData) String ¶
func (x *OauthCodeExchangeData) String() string
func (*OauthCodeExchangeData) Validate ¶
func (this *OauthCodeExchangeData) Validate() error
type RequestEmailValidationRequest ¶
type RequestEmailValidationRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*RequestEmailValidationRequest) Descriptor
deprecated
func (*RequestEmailValidationRequest) Descriptor() ([]byte, []int)
Deprecated: Use RequestEmailValidationRequest.ProtoReflect.Descriptor instead.
func (*RequestEmailValidationRequest) GetEmail ¶
func (x *RequestEmailValidationRequest) GetEmail() string
func (*RequestEmailValidationRequest) ProtoMessage ¶
func (*RequestEmailValidationRequest) ProtoMessage()
func (*RequestEmailValidationRequest) ProtoReflect ¶
func (x *RequestEmailValidationRequest) ProtoReflect() protoreflect.Message
func (*RequestEmailValidationRequest) Reset ¶
func (x *RequestEmailValidationRequest) Reset()
func (*RequestEmailValidationRequest) String ¶
func (x *RequestEmailValidationRequest) String() string
func (*RequestEmailValidationRequest) Validate ¶
func (this *RequestEmailValidationRequest) Validate() error
type RequestEmailValidationResponse ¶
type RequestEmailValidationResponse struct {
// contains filtered or unexported fields
}
func (*RequestEmailValidationResponse) Descriptor
deprecated
func (*RequestEmailValidationResponse) Descriptor() ([]byte, []int)
Deprecated: Use RequestEmailValidationResponse.ProtoReflect.Descriptor instead.
func (*RequestEmailValidationResponse) ProtoMessage ¶
func (*RequestEmailValidationResponse) ProtoMessage()
func (*RequestEmailValidationResponse) ProtoReflect ¶
func (x *RequestEmailValidationResponse) ProtoReflect() protoreflect.Message
func (*RequestEmailValidationResponse) Reset ¶
func (x *RequestEmailValidationResponse) Reset()
func (*RequestEmailValidationResponse) String ¶
func (x *RequestEmailValidationResponse) String() string
func (*RequestEmailValidationResponse) Validate ¶
func (this *RequestEmailValidationResponse) Validate() error
type RequestPasswordResetRequest ¶
type RequestPasswordResetRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*RequestPasswordResetRequest) Descriptor
deprecated
func (*RequestPasswordResetRequest) Descriptor() ([]byte, []int)
Deprecated: Use RequestPasswordResetRequest.ProtoReflect.Descriptor instead.
func (*RequestPasswordResetRequest) GetEmail ¶
func (x *RequestPasswordResetRequest) GetEmail() string
func (*RequestPasswordResetRequest) ProtoMessage ¶
func (*RequestPasswordResetRequest) ProtoMessage()
func (*RequestPasswordResetRequest) ProtoReflect ¶
func (x *RequestPasswordResetRequest) ProtoReflect() protoreflect.Message
func (*RequestPasswordResetRequest) Reset ¶
func (x *RequestPasswordResetRequest) Reset()
func (*RequestPasswordResetRequest) String ¶
func (x *RequestPasswordResetRequest) String() string
func (*RequestPasswordResetRequest) Validate ¶
func (this *RequestPasswordResetRequest) Validate() error
type RequestPasswordResetResponse ¶
type RequestPasswordResetResponse struct { RedirectUrl string `protobuf:"bytes,1,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"` // contains filtered or unexported fields }
func (*RequestPasswordResetResponse) Descriptor
deprecated
func (*RequestPasswordResetResponse) Descriptor() ([]byte, []int)
Deprecated: Use RequestPasswordResetResponse.ProtoReflect.Descriptor instead.
func (*RequestPasswordResetResponse) GetRedirectUrl ¶
func (x *RequestPasswordResetResponse) GetRedirectUrl() string
func (*RequestPasswordResetResponse) ProtoMessage ¶
func (*RequestPasswordResetResponse) ProtoMessage()
func (*RequestPasswordResetResponse) ProtoReflect ¶
func (x *RequestPasswordResetResponse) ProtoReflect() protoreflect.Message
func (*RequestPasswordResetResponse) Reset ¶
func (x *RequestPasswordResetResponse) Reset()
func (*RequestPasswordResetResponse) String ¶
func (x *RequestPasswordResetResponse) String() string
func (*RequestPasswordResetResponse) Validate ¶
func (this *RequestPasswordResetResponse) Validate() error
type ResetPasswordEmailData ¶
type ResetPasswordEmailData struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Expiry int64 `protobuf:"varint,2,opt,name=expiry,proto3" json:"expiry,omitempty"` // contains filtered or unexported fields }
func (*ResetPasswordEmailData) Descriptor
deprecated
func (*ResetPasswordEmailData) Descriptor() ([]byte, []int)
Deprecated: Use ResetPasswordEmailData.ProtoReflect.Descriptor instead.
func (*ResetPasswordEmailData) GetExpiry ¶
func (x *ResetPasswordEmailData) GetExpiry() int64
func (*ResetPasswordEmailData) GetUser ¶
func (x *ResetPasswordEmailData) GetUser() string
func (*ResetPasswordEmailData) ProtoMessage ¶
func (*ResetPasswordEmailData) ProtoMessage()
func (*ResetPasswordEmailData) ProtoReflect ¶
func (x *ResetPasswordEmailData) ProtoReflect() protoreflect.Message
func (*ResetPasswordEmailData) Reset ¶
func (x *ResetPasswordEmailData) Reset()
func (*ResetPasswordEmailData) String ¶
func (x *ResetPasswordEmailData) String() string
func (*ResetPasswordEmailData) Validate ¶
func (this *ResetPasswordEmailData) Validate() error
type SelectAccountRequest ¶
type SelectAccountRequest struct { Switch bool `protobuf:"varint,1,opt,name=switch,proto3" json:"switch,omitempty"` // contains filtered or unexported fields }
func (*SelectAccountRequest) Descriptor
deprecated
func (*SelectAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelectAccountRequest.ProtoReflect.Descriptor instead.
func (*SelectAccountRequest) GetSwitch ¶
func (x *SelectAccountRequest) GetSwitch() bool
func (*SelectAccountRequest) ProtoMessage ¶
func (*SelectAccountRequest) ProtoMessage()
func (*SelectAccountRequest) ProtoReflect ¶
func (x *SelectAccountRequest) ProtoReflect() protoreflect.Message
func (*SelectAccountRequest) Reset ¶
func (x *SelectAccountRequest) Reset()
func (*SelectAccountRequest) String ¶
func (x *SelectAccountRequest) String() string
func (*SelectAccountRequest) Validate ¶
func (this *SelectAccountRequest) Validate() error
type SelectAccountResponse ¶
type SelectAccountResponse struct { RedirectUrl string `protobuf:"bytes,1,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"` // contains filtered or unexported fields }
func (*SelectAccountResponse) Descriptor
deprecated
func (*SelectAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use SelectAccountResponse.ProtoReflect.Descriptor instead.
func (*SelectAccountResponse) GetRedirectUrl ¶
func (x *SelectAccountResponse) GetRedirectUrl() string
func (*SelectAccountResponse) ProtoMessage ¶
func (*SelectAccountResponse) ProtoMessage()
func (*SelectAccountResponse) ProtoReflect ¶
func (x *SelectAccountResponse) ProtoReflect() protoreflect.Message
func (*SelectAccountResponse) Reset ¶
func (x *SelectAccountResponse) Reset()
func (*SelectAccountResponse) String ¶
func (x *SelectAccountResponse) String() string
func (*SelectAccountResponse) Validate ¶
func (this *SelectAccountResponse) Validate() error
type Session ¶
type Session struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserAgent string `protobuf:"bytes,2,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` Jwt string `protobuf:"bytes,3,opt,name=jwt,proto3" json:"jwt,omitempty"` OpenedAt int64 `protobuf:"varint,4,opt,name=openedAt,proto3" json:"openedAt,omitempty"` // contains filtered or unexported fields }
func (*Session) Descriptor
deprecated
func (*Session) GetOpenedAt ¶
func (*Session) GetUserAgent ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type UnimplementedAccountsServer ¶
type UnimplementedAccountsServer struct { }
UnimplementedAccountsServer must be embedded to have forward compatible implementations.
func (UnimplementedAccountsServer) AccountInfo ¶
func (UnimplementedAccountsServer) AccountInfo(context.Context, *AccountInfoRequest) (*AccountInfoResponse, error)
func (UnimplementedAccountsServer) Authorize ¶
func (UnimplementedAccountsServer) Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error)
func (UnimplementedAccountsServer) CloseSession ¶
func (UnimplementedAccountsServer) CloseSession(context.Context, *CloseSessionRequest) (*CloseSessionResponse, error)
func (UnimplementedAccountsServer) CreateAccount ¶
func (UnimplementedAccountsServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
func (UnimplementedAccountsServer) FindAccount ¶
func (UnimplementedAccountsServer) FindAccount(context.Context, *FindAccountRequest) (*FindAccountResponse, error)
func (UnimplementedAccountsServer) GetToken ¶
func (UnimplementedAccountsServer) GetToken(context.Context, *GetTokenRequest) (*GetTokenResponse, error)
func (UnimplementedAccountsServer) ListsSession ¶
func (UnimplementedAccountsServer) ListsSession(context.Context, *ListSessionsRequest) (*ListSessionsResponse, error)
func (UnimplementedAccountsServer) Login ¶
func (UnimplementedAccountsServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedAccountsServer) Logout ¶
func (UnimplementedAccountsServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
func (UnimplementedAccountsServer) RequestEmailValidation ¶
func (UnimplementedAccountsServer) RequestEmailValidation(context.Context, *RequestEmailValidationRequest) (*RequestEmailValidationResponse, error)
func (UnimplementedAccountsServer) RequestPasswordReset ¶
func (UnimplementedAccountsServer) RequestPasswordReset(context.Context, *RequestPasswordResetRequest) (*RequestPasswordResetResponse, error)
func (UnimplementedAccountsServer) SelectAccount ¶
func (UnimplementedAccountsServer) SelectAccount(context.Context, *SelectAccountRequest) (*SelectAccountResponse, error)
func (UnimplementedAccountsServer) UpdatePassword ¶
func (UnimplementedAccountsServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
func (UnimplementedAccountsServer) ValidateEmail ¶
func (UnimplementedAccountsServer) ValidateEmail(context.Context, *ValidateEmailRequest) (*ValidateEmailResponse, error)
type UnsafeAccountsServer ¶
type UnsafeAccountsServer interface {
// contains filtered or unexported methods
}
UnsafeAccountsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountsServer will result in compilation errors.
type UpdatePasswordRequest ¶
type UpdatePasswordRequest struct { NewPassword string `protobuf:"bytes,1,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` PasswordConfirm string `protobuf:"bytes,2,opt,name=password_confirm,json=passwordConfirm,proto3" json:"password_confirm,omitempty"` // contains filtered or unexported fields }
func (*UpdatePasswordRequest) Descriptor
deprecated
func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.
func (*UpdatePasswordRequest) GetNewPassword ¶
func (x *UpdatePasswordRequest) GetNewPassword() string
func (*UpdatePasswordRequest) GetPasswordConfirm ¶
func (x *UpdatePasswordRequest) GetPasswordConfirm() string
func (*UpdatePasswordRequest) ProtoMessage ¶
func (*UpdatePasswordRequest) ProtoMessage()
func (*UpdatePasswordRequest) ProtoReflect ¶
func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
func (*UpdatePasswordRequest) Reset ¶
func (x *UpdatePasswordRequest) Reset()
func (*UpdatePasswordRequest) String ¶
func (x *UpdatePasswordRequest) String() string
func (*UpdatePasswordRequest) Validate ¶
func (this *UpdatePasswordRequest) Validate() error
type UpdatePasswordResponse ¶
type UpdatePasswordResponse struct {
// contains filtered or unexported fields
}
func (*UpdatePasswordResponse) Descriptor
deprecated
func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordResponse.ProtoReflect.Descriptor instead.
func (*UpdatePasswordResponse) ProtoMessage ¶
func (*UpdatePasswordResponse) ProtoMessage()
func (*UpdatePasswordResponse) ProtoReflect ¶
func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message
func (*UpdatePasswordResponse) Reset ¶
func (x *UpdatePasswordResponse) Reset()
func (*UpdatePasswordResponse) String ¶
func (x *UpdatePasswordResponse) String() string
func (*UpdatePasswordResponse) Validate ¶
func (this *UpdatePasswordResponse) Validate() error
type UserEmailValidationData ¶
type UserEmailValidationData struct { User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Expiry int64 `protobuf:"varint,3,opt,name=expiry,proto3" json:"expiry,omitempty"` // contains filtered or unexported fields }
func (*UserEmailValidationData) Descriptor
deprecated
func (*UserEmailValidationData) Descriptor() ([]byte, []int)
Deprecated: Use UserEmailValidationData.ProtoReflect.Descriptor instead.
func (*UserEmailValidationData) GetEmail ¶
func (x *UserEmailValidationData) GetEmail() string
func (*UserEmailValidationData) GetExpiry ¶
func (x *UserEmailValidationData) GetExpiry() int64
func (*UserEmailValidationData) GetUser ¶
func (x *UserEmailValidationData) GetUser() string
func (*UserEmailValidationData) ProtoMessage ¶
func (*UserEmailValidationData) ProtoMessage()
func (*UserEmailValidationData) ProtoReflect ¶
func (x *UserEmailValidationData) ProtoReflect() protoreflect.Message
func (*UserEmailValidationData) Reset ¶
func (x *UserEmailValidationData) Reset()
func (*UserEmailValidationData) String ¶
func (x *UserEmailValidationData) String() string
func (*UserEmailValidationData) Validate ¶
func (this *UserEmailValidationData) Validate() error
type ValidateEmailRequest ¶
type ValidateEmailRequest struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*ValidateEmailRequest) Descriptor
deprecated
func (*ValidateEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateEmailRequest.ProtoReflect.Descriptor instead.
func (*ValidateEmailRequest) GetCode ¶
func (x *ValidateEmailRequest) GetCode() string
func (*ValidateEmailRequest) ProtoMessage ¶
func (*ValidateEmailRequest) ProtoMessage()
func (*ValidateEmailRequest) ProtoReflect ¶
func (x *ValidateEmailRequest) ProtoReflect() protoreflect.Message
func (*ValidateEmailRequest) Reset ¶
func (x *ValidateEmailRequest) Reset()
func (*ValidateEmailRequest) String ¶
func (x *ValidateEmailRequest) String() string
func (*ValidateEmailRequest) Validate ¶
func (this *ValidateEmailRequest) Validate() error
type ValidateEmailResponse ¶
type ValidateEmailResponse struct {
// contains filtered or unexported fields
}
func (*ValidateEmailResponse) Descriptor
deprecated
func (*ValidateEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateEmailResponse.ProtoReflect.Descriptor instead.
func (*ValidateEmailResponse) ProtoMessage ¶
func (*ValidateEmailResponse) ProtoMessage()
func (*ValidateEmailResponse) ProtoReflect ¶
func (x *ValidateEmailResponse) ProtoReflect() protoreflect.Message
func (*ValidateEmailResponse) Reset ¶
func (x *ValidateEmailResponse) Reset()
func (*ValidateEmailResponse) String ¶
func (x *ValidateEmailResponse) String() string
func (*ValidateEmailResponse) Validate ¶
func (this *ValidateEmailResponse) Validate() error