Documentation ¶
Overview ¶
Package account is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterAccountAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAccountAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccountAPIClient) error
- func RegisterAccountAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAccountAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccountAPIServer) error
- func RegisterAccountAPIServer(s grpc.ServiceRegistrar, srv AccountAPIServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetAccountId() string
- func (x *Account) GetBirthDate() string
- func (x *Account) GetDeviceToken() string
- func (x *Account) GetEmail() string
- func (x *Account) GetGender() Account_Gender
- func (x *Account) GetGroup() string
- func (x *Account) GetLinkedAccounts() string
- func (x *Account) GetNames() string
- func (x *Account) GetNationality() string
- func (x *Account) GetPhone() string
- func (x *Account) GetProfileUrl() string
- func (x *Account) GetProjectId() string
- func (x *Account) GetSecondaryGroups() []string
- func (x *Account) GetState() AccountState
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountAPIClient
- type AccountAPIServer
- type AccountState
- func (AccountState) Descriptor() protoreflect.EnumDescriptor
- func (x AccountState) Enum() *AccountState
- func (AccountState) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountState) Number() protoreflect.EnumNumber
- func (x AccountState) String() string
- func (AccountState) Type() protoreflect.EnumType
- type AccountView
- func (AccountView) Descriptor() protoreflect.EnumDescriptor
- func (x AccountView) Enum() *AccountView
- func (AccountView) EnumDescriptor() ([]byte, []int)deprecated
- func (x AccountView) Number() protoreflect.EnumNumber
- func (x AccountView) String() string
- func (AccountView) Type() protoreflect.EnumType
- type Account_Gender
- func (Account_Gender) Descriptor() protoreflect.EnumDescriptor
- func (x Account_Gender) Enum() *Account_Gender
- func (Account_Gender) EnumDescriptor() ([]byte, []int)deprecated
- func (x Account_Gender) Number() protoreflect.EnumNumber
- func (x Account_Gender) String() string
- func (Account_Gender) Type() protoreflect.EnumType
- type Accounts
- type ActivateAccountRequest
- func (*ActivateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ActivateAccountRequest) GetAccountId() string
- func (x *ActivateAccountRequest) GetToken() string
- func (*ActivateAccountRequest) ProtoMessage()
- func (x *ActivateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *ActivateAccountRequest) Reset()
- func (x *ActivateAccountRequest) String() string
- type ActivateAccountResponse
- type AdminUpdateAccountRequest
- func (*AdminUpdateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUpdateAccountRequest) GetAccountId() string
- func (x *AdminUpdateAccountRequest) GetAdminId() string
- func (m *AdminUpdateAccountRequest) GetNotificationChannel() isAdminUpdateAccountRequest_NotificationChannel
- func (x *AdminUpdateAccountRequest) GetNotify() bool
- func (x *AdminUpdateAccountRequest) GetPayload() []string
- func (x *AdminUpdateAccountRequest) GetReason() string
- func (x *AdminUpdateAccountRequest) GetSendMethod() messaging.SendMethod
- func (x *AdminUpdateAccountRequest) GetSender() *emailing.EmailSender
- func (x *AdminUpdateAccountRequest) GetSmsAuth() *sms.SendSMSRequest_SMSAuth
- func (x *AdminUpdateAccountRequest) GetUpdateOperation() UpdateOperation
- func (*AdminUpdateAccountRequest) ProtoMessage()
- func (x *AdminUpdateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *AdminUpdateAccountRequest) Reset()
- func (x *AdminUpdateAccountRequest) String() string
- type AdminUpdateAccountRequest_Sender
- type AdminUpdateAccountRequest_SmsAuth
- type BatchGetAccountsRequest
- func (*BatchGetAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetAccountsRequest) GetAccountIds() []string
- func (*BatchGetAccountsRequest) ProtoMessage()
- func (x *BatchGetAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchGetAccountsRequest) Reset()
- func (x *BatchGetAccountsRequest) String() string
- type BatchGetAccountsResponse
- func (*BatchGetAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetAccountsResponse) GetAccounts() []*Account
- func (*BatchGetAccountsResponse) ProtoMessage()
- func (x *BatchGetAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchGetAccountsResponse) Reset()
- func (x *BatchGetAccountsResponse) String() string
- type CreateAccountRequest
- func (*CreateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountRequest) GetAccount() *Account
- func (x *CreateAccountRequest) GetAdminId() string
- func (x *CreateAccountRequest) GetByAdmin() bool
- func (m *CreateAccountRequest) GetNotificationChannel() isCreateAccountRequest_NotificationChannel
- func (x *CreateAccountRequest) GetNotificationMethod() messaging.SendMethod
- func (x *CreateAccountRequest) GetNotify() bool
- func (x *CreateAccountRequest) GetPrivateAccount() *PrivateAccount
- func (x *CreateAccountRequest) GetProjectId() string
- func (x *CreateAccountRequest) GetSender() *emailing.EmailSender
- func (x *CreateAccountRequest) GetSmsAuth() *sms.SendSMSRequest_SMSAuth
- func (x *CreateAccountRequest) GetUpdateOnly() bool
- func (*CreateAccountRequest) ProtoMessage()
- func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountRequest) Reset()
- func (x *CreateAccountRequest) String() string
- type CreateAccountRequest_Sender
- type CreateAccountRequest_SmsAuth
- type CreateAccountResponse
- func (*CreateAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountResponse) GetAccountId() string
- func (*CreateAccountResponse) ProtoMessage()
- func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountResponse) Reset()
- func (x *CreateAccountResponse) String() string
- type Criteria
- func (*Criteria) Descriptor() ([]byte, []int)deprecated
- func (x *Criteria) GetCreatedFrom() int64
- func (x *Criteria) GetCreatedUntil() int64
- func (x *Criteria) GetFilter() bool
- func (x *Criteria) GetFilterAccountGroups() bool
- func (x *Criteria) GetFilterCreationDate() bool
- func (x *Criteria) GetGroups() []string
- func (x *Criteria) GetShowActiveAccounts() bool
- func (x *Criteria) GetShowBlockedAccounts() bool
- func (x *Criteria) GetShowFemales() bool
- func (x *Criteria) GetShowInactiveAccounts() bool
- func (x *Criteria) GetShowMales() bool
- func (*Criteria) ProtoMessage()
- func (x *Criteria) ProtoReflect() protoreflect.Message
- func (x *Criteria) Reset()
- func (x *Criteria) String() string
- type DeleteAccountRequest
- func (*DeleteAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAccountRequest) GetAccountId() string
- func (*DeleteAccountRequest) ProtoMessage()
- func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAccountRequest) Reset()
- func (x *DeleteAccountRequest) String() string
- type ExistAccountRequest
- func (*ExistAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExistAccountRequest) GetEmail() string
- func (x *ExistAccountRequest) GetPhone() string
- func (x *ExistAccountRequest) GetProjectId() string
- func (*ExistAccountRequest) ProtoMessage()
- func (x *ExistAccountRequest) ProtoReflect() protoreflect.Message
- func (x *ExistAccountRequest) Reset()
- func (x *ExistAccountRequest) String() string
- type ExistAccountResponse
- func (*ExistAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExistAccountResponse) GetAccountId() string
- func (x *ExistAccountResponse) GetExistingFields() []string
- func (x *ExistAccountResponse) GetExists() bool
- func (*ExistAccountResponse) ProtoMessage()
- func (x *ExistAccountResponse) ProtoReflect() protoreflect.Message
- func (x *ExistAccountResponse) Reset()
- func (x *ExistAccountResponse) String() string
- type GetAccountRequest
- func (*GetAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountRequest) GetAccountId() string
- func (x *GetAccountRequest) GetPriviledge() bool
- func (x *GetAccountRequest) GetView() AccountView
- func (*GetAccountRequest) ProtoMessage()
- func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountRequest) Reset()
- func (x *GetAccountRequest) String() string
- type GetLinkedAccountsRequest
- func (*GetLinkedAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLinkedAccountsRequest) GetAccountId() string
- func (*GetLinkedAccountsRequest) ProtoMessage()
- func (x *GetLinkedAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *GetLinkedAccountsRequest) Reset()
- func (x *GetLinkedAccountsRequest) String() string
- type GetLinkedAccountsResponse
- func (*GetLinkedAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLinkedAccountsResponse) GetAccounts() []*Account
- func (*GetLinkedAccountsResponse) ProtoMessage()
- func (x *GetLinkedAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *GetLinkedAccountsResponse) Reset()
- func (x *GetLinkedAccountsResponse) String() string
- type ListAccountsRequest
- func (*ListAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAccountsRequest) GetListCriteria() *Criteria
- func (x *ListAccountsRequest) GetPageSize() int32
- func (x *ListAccountsRequest) GetPageToken() string
- func (x *ListAccountsRequest) GetPriviledge() bool
- func (x *ListAccountsRequest) GetView() AccountView
- func (*ListAccountsRequest) ProtoMessage()
- func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAccountsRequest) Reset()
- func (x *ListAccountsRequest) String() string
- type PrivateAccount
- func (*PrivateAccount) Descriptor() ([]byte, []int)deprecated
- func (x *PrivateAccount) GetConfirmPassword() string
- func (x *PrivateAccount) GetPassword() string
- func (x *PrivateAccount) GetSecurityAnswer() string
- func (x *PrivateAccount) GetSecurityQuestion() string
- func (*PrivateAccount) ProtoMessage()
- func (x *PrivateAccount) ProtoReflect() protoreflect.Message
- func (x *PrivateAccount) Reset()
- func (x *PrivateAccount) String() string
- type RefreshSessionRequest
- func (*RefreshSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshSessionRequest) GetAccountGroup() string
- func (x *RefreshSessionRequest) GetAccountId() string
- func (x *RefreshSessionRequest) GetRefreshToken() string
- func (*RefreshSessionRequest) ProtoMessage()
- func (x *RefreshSessionRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshSessionRequest) Reset()
- func (x *RefreshSessionRequest) String() string
- type RequestChangePrivateAccountRequest
- func (*RequestChangePrivateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RequestChangePrivateAccountRequest) GetFallbackUrl() string
- func (m *RequestChangePrivateAccountRequest) GetNotificationChannel() isRequestChangePrivateAccountRequest_NotificationChannel
- func (x *RequestChangePrivateAccountRequest) GetPayload() string
- func (x *RequestChangePrivateAccountRequest) GetSendMethod() messaging.SendMethod
- func (x *RequestChangePrivateAccountRequest) GetSender() *emailing.EmailSender
- func (x *RequestChangePrivateAccountRequest) GetSmsAuth() *sms.SendSMSRequest_SMSAuth
- func (*RequestChangePrivateAccountRequest) ProtoMessage()
- func (x *RequestChangePrivateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *RequestChangePrivateAccountRequest) Reset()
- func (x *RequestChangePrivateAccountRequest) String() string
- type RequestChangePrivateAccountRequest_Sender
- type RequestChangePrivateAccountRequest_SmsAuth
- type RequestChangePrivateAccountResponse
- func (*RequestChangePrivateAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RequestChangePrivateAccountResponse) GetResponseMessage() string
- func (*RequestChangePrivateAccountResponse) ProtoMessage()
- func (x *RequestChangePrivateAccountResponse) ProtoReflect() protoreflect.Message
- func (x *RequestChangePrivateAccountResponse) Reset()
- func (x *RequestChangePrivateAccountResponse) String() string
- type SearchAccountsRequest
- func (*SearchAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchAccountsRequest) GetPageSize() int32
- func (x *SearchAccountsRequest) GetPageToken() string
- func (x *SearchAccountsRequest) GetQuery() string
- func (x *SearchAccountsRequest) GetSearchCriteria() *Criteria
- func (x *SearchAccountsRequest) GetSearchLinkedAccounts() bool
- func (x *SearchAccountsRequest) GetView() AccountView
- func (*SearchAccountsRequest) ProtoMessage()
- func (x *SearchAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchAccountsRequest) Reset()
- func (x *SearchAccountsRequest) String() string
- type SignInExternalRequest
- func (*SignInExternalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignInExternalRequest) GetAccount() *Account
- func (x *SignInExternalRequest) GetAuthToken() string
- func (x *SignInExternalRequest) GetProjectId() string
- func (*SignInExternalRequest) ProtoMessage()
- func (x *SignInExternalRequest) ProtoReflect() protoreflect.Message
- func (x *SignInExternalRequest) Reset()
- func (x *SignInExternalRequest) String() string
- type SignInRequest
- func (*SignInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignInRequest) GetGroup() string
- func (x *SignInRequest) GetPassword() string
- func (x *SignInRequest) GetProjectId() string
- func (x *SignInRequest) GetUsername() string
- func (*SignInRequest) ProtoMessage()
- func (x *SignInRequest) ProtoReflect() protoreflect.Message
- func (x *SignInRequest) Reset()
- func (x *SignInRequest) String() string
- type SignInResponse
- func (*SignInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignInResponse) GetAccountId() string
- func (x *SignInResponse) GetGroup() string
- func (x *SignInResponse) GetRefreshToken() string
- func (x *SignInResponse) GetSecondaryGroups() []string
- func (x *SignInResponse) GetSessionId() string
- func (x *SignInResponse) GetState() AccountState
- func (x *SignInResponse) GetToken() string
- func (*SignInResponse) ProtoMessage()
- func (x *SignInResponse) ProtoReflect() protoreflect.Message
- func (x *SignInResponse) Reset()
- func (x *SignInResponse) String() string
- type UnimplementedAccountAPIServer
- func (UnimplementedAccountAPIServer) ActivateAccount(context.Context, *ActivateAccountRequest) (*ActivateAccountResponse, error)
- func (UnimplementedAccountAPIServer) AdminUpdateAccount(context.Context, *AdminUpdateAccountRequest) (*empty.Empty, error)
- func (UnimplementedAccountAPIServer) BatchGetAccounts(context.Context, *BatchGetAccountsRequest) (*BatchGetAccountsResponse, error)
- func (UnimplementedAccountAPIServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
- func (UnimplementedAccountAPIServer) DeleteAccount(context.Context, *DeleteAccountRequest) (*empty.Empty, error)
- func (UnimplementedAccountAPIServer) ExistAccount(context.Context, *ExistAccountRequest) (*ExistAccountResponse, error)
- func (UnimplementedAccountAPIServer) GetAccount(context.Context, *GetAccountRequest) (*Account, error)
- func (UnimplementedAccountAPIServer) GetLinkedAccounts(context.Context, *GetLinkedAccountsRequest) (*GetLinkedAccountsResponse, error)
- func (UnimplementedAccountAPIServer) ListAccounts(context.Context, *ListAccountsRequest) (*Accounts, error)
- func (UnimplementedAccountAPIServer) RefreshSession(context.Context, *RefreshSessionRequest) (*SignInResponse, error)
- func (UnimplementedAccountAPIServer) RequestChangePrivateAccount(context.Context, *RequestChangePrivateAccountRequest) (*RequestChangePrivateAccountResponse, error)
- func (UnimplementedAccountAPIServer) SearchAccounts(context.Context, *SearchAccountsRequest) (*Accounts, error)
- func (UnimplementedAccountAPIServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
- func (UnimplementedAccountAPIServer) SignInExternal(context.Context, *SignInExternalRequest) (*SignInResponse, error)
- func (UnimplementedAccountAPIServer) UpdateAccount(context.Context, *UpdateAccountRequest) (*empty.Empty, error)
- func (UnimplementedAccountAPIServer) UpdatePrivateAccount(context.Context, *UpdatePrivateAccountRequest) (*empty.Empty, error)
- func (UnimplementedAccountAPIServer) UpdatePrivateAccountExternal(context.Context, *UpdatePrivateAccountExternalRequest) (*empty.Empty, error)
- type UnsafeAccountAPIServer
- type UpdateAccountRequest
- func (*UpdateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAccountRequest) GetAccount() *Account
- func (*UpdateAccountRequest) ProtoMessage()
- func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAccountRequest) Reset()
- func (x *UpdateAccountRequest) String() string
- type UpdateOperation
- func (UpdateOperation) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateOperation) Enum() *UpdateOperation
- func (UpdateOperation) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateOperation) Number() protoreflect.EnumNumber
- func (x UpdateOperation) String() string
- func (UpdateOperation) Type() protoreflect.EnumType
- type UpdatePrivateAccountExternalRequest
- func (*UpdatePrivateAccountExternalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePrivateAccountExternalRequest) GetChangeToken() string
- func (x *UpdatePrivateAccountExternalRequest) GetJwt() string
- func (x *UpdatePrivateAccountExternalRequest) GetPrivateAccount() *PrivateAccount
- func (x *UpdatePrivateAccountExternalRequest) GetUsername() string
- func (*UpdatePrivateAccountExternalRequest) ProtoMessage()
- func (x *UpdatePrivateAccountExternalRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePrivateAccountExternalRequest) Reset()
- func (x *UpdatePrivateAccountExternalRequest) String() string
- type UpdatePrivateAccountRequest
- func (*UpdatePrivateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePrivateAccountRequest) GetAccountId() string
- func (x *UpdatePrivateAccountRequest) GetChangeToken() string
- func (x *UpdatePrivateAccountRequest) GetPrivateAccount() *PrivateAccount
- func (*UpdatePrivateAccountRequest) ProtoMessage()
- func (x *UpdatePrivateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePrivateAccountRequest) Reset()
- func (x *UpdatePrivateAccountRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( AccountState_name = map[int32]string{ 0: "ACCOUNT_STATE_UNSPECIFIED", 1: "BLOCKED", 2: "ACTIVE", 3: "INACTIVE", 4: "DELETED", } AccountState_value = map[string]int32{ "ACCOUNT_STATE_UNSPECIFIED": 0, "BLOCKED": 1, "ACTIVE": 2, "INACTIVE": 3, "DELETED": 4, } )
Enum value maps for AccountState.
var ( AccountView_name = map[int32]string{ 0: "FULL_VIEW", 1: "LIST_VIEW", 2: "SEARCH_VIEW", 3: "BASIC_VIEW", } AccountView_value = map[string]int32{ "FULL_VIEW": 0, "LIST_VIEW": 1, "SEARCH_VIEW": 2, "BASIC_VIEW": 3, } )
Enum value maps for AccountView.
var ( UpdateOperation_name = map[int32]string{ 0: "UPDATE_OPERATION_INSPECIFIED", 1: "UNDELETE", 2: "DELETE", 3: "UNBLOCK", 4: "BLOCK", 5: "CHANGE_GROUP", 6: "ADMIN_ACTIVATE", } UpdateOperation_value = map[string]int32{ "UPDATE_OPERATION_INSPECIFIED": 0, "UNDELETE": 1, "DELETE": 2, "UNBLOCK": 3, "BLOCK": 4, "CHANGE_GROUP": 5, "ADMIN_ACTIVATE": 6, } )
Enum value maps for UpdateOperation.
var ( Account_Gender_name = map[int32]string{ 0: "GENDER_UNSPECIFIED", 1: "MALE", 2: "FEMALE", } Account_Gender_value = map[string]int32{ "GENDER_UNSPECIFIED": 0, "MALE": 1, "FEMALE": 2, } )
Enum value maps for Account_Gender.
var File_account_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountAPIHandler ¶
func RegisterAccountAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAccountAPIHandler registers the http handlers for service AccountAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAccountAPIHandlerClient ¶
func RegisterAccountAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccountAPIClient) error
RegisterAccountAPIHandlerClient registers the http handlers for service AccountAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AccountAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AccountAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AccountAPIClient" to call the correct interceptors.
func RegisterAccountAPIHandlerFromEndpoint ¶
func RegisterAccountAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAccountAPIHandlerFromEndpoint is same as RegisterAccountAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAccountAPIHandlerServer ¶
func RegisterAccountAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccountAPIServer) error
RegisterAccountAPIHandlerServer registers the http handlers for service AccountAPI to "mux". UnaryRPC :call AccountAPIServer 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 RegisterAccountAPIHandlerFromEndpoint instead.
func RegisterAccountAPIServer ¶
func RegisterAccountAPIServer(s grpc.ServiceRegistrar, srv AccountAPIServer)
Types ¶
type Account ¶
type Account struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` DeviceToken string `protobuf:"bytes,5,opt,name=device_token,json=deviceToken,proto3" json:"device_token,omitempty"` Names string `protobuf:"bytes,6,opt,name=names,proto3" json:"names,omitempty"` BirthDate string `protobuf:"bytes,7,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` Gender Account_Gender `protobuf:"varint,8,opt,name=gender,proto3,enum=gidyon.apis.Account_Gender" json:"gender,omitempty"` Nationality string `protobuf:"bytes,9,opt,name=nationality,proto3" json:"nationality,omitempty"` ProfileUrl string `protobuf:"bytes,11,opt,name=profile_url,json=profileUrl,proto3" json:"profile_url,omitempty"` Group string `protobuf:"bytes,13,opt,name=group,proto3" json:"group,omitempty"` LinkedAccounts string `protobuf:"bytes,14,opt,name=linked_accounts,json=linkedAccounts,proto3" json:"linked_accounts,omitempty"` State AccountState `protobuf:"varint,15,opt,name=state,proto3,enum=gidyon.apis.AccountState" json:"state,omitempty"` SecondaryGroups []string `protobuf:"bytes,16,rep,name=secondary_groups,json=secondaryGroups,proto3" json:"secondary_groups,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetAccountId ¶
func (*Account) GetBirthDate ¶
func (*Account) GetDeviceToken ¶
func (*Account) GetGender ¶
func (x *Account) GetGender() Account_Gender
func (*Account) GetLinkedAccounts ¶
func (*Account) GetNationality ¶
func (*Account) GetProfileUrl ¶
func (*Account) GetProjectId ¶
func (*Account) GetSecondaryGroups ¶
func (*Account) GetState ¶
func (x *Account) GetState() AccountState
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountAPIClient ¶
type AccountAPIClient interface { // Signs in a user into their account SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error) // Signs in a user using third parties like Google, Facebook, Twitter etc SignInExternal(ctx context.Context, in *SignInExternalRequest, opts ...grpc.CallOption) (*SignInResponse, error) // Fetch new JWT using refresh token and updates session RefreshSession(ctx context.Context, in *RefreshSessionRequest, opts ...grpc.CallOption) (*SignInResponse, error) // Creates an account for a new user CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*CreateAccountResponse, error) // Activates an account to being active ActivateAccount(ctx context.Context, in *ActivateAccountRequest, opts ...grpc.CallOption) (*ActivateAccountResponse, error) // Updates a user account UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Request to change private account information RequestChangePrivateAccount(ctx context.Context, in *RequestChangePrivateAccountRequest, opts ...grpc.CallOption) (*RequestChangePrivateAccountResponse, error) // Updates a user private account information UpdatePrivateAccount(ctx context.Context, in *UpdatePrivateAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates a user private account information while not logged in to the account UpdatePrivateAccountExternal(ctx context.Context, in *UpdatePrivateAccountExternalRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Deletes a user account DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Retrieves a user account GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*Account, error) // Retrieves multiple user accounts BatchGetAccounts(ctx context.Context, in *BatchGetAccountsRequest, opts ...grpc.CallOption) (*BatchGetAccountsResponse, error) // Retrieves deeply linked accounts GetLinkedAccounts(ctx context.Context, in *GetLinkedAccountsRequest, opts ...grpc.CallOption) (*GetLinkedAccountsResponse, error) // Checks if an account exists ExistAccount(ctx context.Context, in *ExistAccountRequest, opts ...grpc.CallOption) (*ExistAccountResponse, error) // Updates account AdminUpdateAccount(ctx context.Context, in *AdminUpdateAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Fetches collection of accounts ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*Accounts, error) // Searches accounts and linked accounts SearchAccounts(ctx context.Context, in *SearchAccountsRequest, opts ...grpc.CallOption) (*Accounts, error) }
AccountAPIClient is the client API for AccountAPI 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 NewAccountAPIClient ¶
func NewAccountAPIClient(cc grpc.ClientConnInterface) AccountAPIClient
type AccountAPIServer ¶
type AccountAPIServer interface { // Signs in a user into their account SignIn(context.Context, *SignInRequest) (*SignInResponse, error) // Signs in a user using third parties like Google, Facebook, Twitter etc SignInExternal(context.Context, *SignInExternalRequest) (*SignInResponse, error) // Fetch new JWT using refresh token and updates session RefreshSession(context.Context, *RefreshSessionRequest) (*SignInResponse, error) // Creates an account for a new user CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error) // Activates an account to being active ActivateAccount(context.Context, *ActivateAccountRequest) (*ActivateAccountResponse, error) // Updates a user account UpdateAccount(context.Context, *UpdateAccountRequest) (*empty.Empty, error) // Request to change private account information RequestChangePrivateAccount(context.Context, *RequestChangePrivateAccountRequest) (*RequestChangePrivateAccountResponse, error) // Updates a user private account information UpdatePrivateAccount(context.Context, *UpdatePrivateAccountRequest) (*empty.Empty, error) // Updates a user private account information while not logged in to the account UpdatePrivateAccountExternal(context.Context, *UpdatePrivateAccountExternalRequest) (*empty.Empty, error) // Deletes a user account DeleteAccount(context.Context, *DeleteAccountRequest) (*empty.Empty, error) // Retrieves a user account GetAccount(context.Context, *GetAccountRequest) (*Account, error) // Retrieves multiple user accounts BatchGetAccounts(context.Context, *BatchGetAccountsRequest) (*BatchGetAccountsResponse, error) // Retrieves deeply linked accounts GetLinkedAccounts(context.Context, *GetLinkedAccountsRequest) (*GetLinkedAccountsResponse, error) // Checks if an account exists ExistAccount(context.Context, *ExistAccountRequest) (*ExistAccountResponse, error) // Updates account AdminUpdateAccount(context.Context, *AdminUpdateAccountRequest) (*empty.Empty, error) // Fetches collection of accounts ListAccounts(context.Context, *ListAccountsRequest) (*Accounts, error) // Searches accounts and linked accounts SearchAccounts(context.Context, *SearchAccountsRequest) (*Accounts, error) // contains filtered or unexported methods }
AccountAPIServer is the server API for AccountAPI service. All implementations must embed UnimplementedAccountAPIServer for forward compatibility
type AccountState ¶
type AccountState int32
AccountState
const ( AccountState_ACCOUNT_STATE_UNSPECIFIED AccountState = 0 AccountState_BLOCKED AccountState = 1 AccountState_ACTIVE AccountState = 2 AccountState_INACTIVE AccountState = 3 AccountState_DELETED AccountState = 4 )
func (AccountState) Descriptor ¶
func (AccountState) Descriptor() protoreflect.EnumDescriptor
func (AccountState) Enum ¶
func (x AccountState) Enum() *AccountState
func (AccountState) EnumDescriptor
deprecated
func (AccountState) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountState.Descriptor instead.
func (AccountState) Number ¶
func (x AccountState) Number() protoreflect.EnumNumber
func (AccountState) String ¶
func (x AccountState) String() string
func (AccountState) Type ¶
func (AccountState) Type() protoreflect.EnumType
type AccountView ¶
type AccountView int32
AccountView
const ( AccountView_FULL_VIEW AccountView = 0 AccountView_LIST_VIEW AccountView = 1 // account_id, email, first name and last name AccountView_SEARCH_VIEW AccountView = 2 // account_id, email, first name and last name AccountView_BASIC_VIEW AccountView = 3 // account_id, email, first name and last name )
func (AccountView) Descriptor ¶
func (AccountView) Descriptor() protoreflect.EnumDescriptor
func (AccountView) Enum ¶
func (x AccountView) Enum() *AccountView
func (AccountView) EnumDescriptor
deprecated
func (AccountView) EnumDescriptor() ([]byte, []int)
Deprecated: Use AccountView.Descriptor instead.
func (AccountView) Number ¶
func (x AccountView) Number() protoreflect.EnumNumber
func (AccountView) String ¶
func (x AccountView) String() string
func (AccountView) Type ¶
func (AccountView) Type() protoreflect.EnumType
type Account_Gender ¶
type Account_Gender int32
Gender
const ( Account_GENDER_UNSPECIFIED Account_Gender = 0 Account_MALE Account_Gender = 1 Account_FEMALE Account_Gender = 2 )
func (Account_Gender) Descriptor ¶
func (Account_Gender) Descriptor() protoreflect.EnumDescriptor
func (Account_Gender) Enum ¶
func (x Account_Gender) Enum() *Account_Gender
func (Account_Gender) EnumDescriptor
deprecated
func (Account_Gender) EnumDescriptor() ([]byte, []int)
Deprecated: Use Account_Gender.Descriptor instead.
func (Account_Gender) Number ¶
func (x Account_Gender) Number() protoreflect.EnumNumber
func (Account_Gender) String ¶
func (x Account_Gender) String() string
func (Account_Gender) Type ¶
func (Account_Gender) Type() protoreflect.EnumType
type Accounts ¶
type Accounts struct { NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` Accounts []*Account `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*Accounts) Descriptor
deprecated
func (*Accounts) GetAccounts ¶
func (*Accounts) GetNextPageToken ¶
func (*Accounts) ProtoMessage ¶
func (*Accounts) ProtoMessage()
func (*Accounts) ProtoReflect ¶
func (x *Accounts) ProtoReflect() protoreflect.Message
type ActivateAccountRequest ¶
type ActivateAccountRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*ActivateAccountRequest) Descriptor
deprecated
func (*ActivateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use ActivateAccountRequest.ProtoReflect.Descriptor instead.
func (*ActivateAccountRequest) GetAccountId ¶
func (x *ActivateAccountRequest) GetAccountId() string
func (*ActivateAccountRequest) GetToken ¶
func (x *ActivateAccountRequest) GetToken() string
func (*ActivateAccountRequest) ProtoMessage ¶
func (*ActivateAccountRequest) ProtoMessage()
func (*ActivateAccountRequest) ProtoReflect ¶
func (x *ActivateAccountRequest) ProtoReflect() protoreflect.Message
func (*ActivateAccountRequest) Reset ¶
func (x *ActivateAccountRequest) Reset()
func (*ActivateAccountRequest) String ¶
func (x *ActivateAccountRequest) String() string
type ActivateAccountResponse ¶
type ActivateAccountResponse struct {
// contains filtered or unexported fields
}
func (*ActivateAccountResponse) Descriptor
deprecated
func (*ActivateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use ActivateAccountResponse.ProtoReflect.Descriptor instead.
func (*ActivateAccountResponse) ProtoMessage ¶
func (*ActivateAccountResponse) ProtoMessage()
func (*ActivateAccountResponse) ProtoReflect ¶
func (x *ActivateAccountResponse) ProtoReflect() protoreflect.Message
func (*ActivateAccountResponse) Reset ¶
func (x *ActivateAccountResponse) Reset()
func (*ActivateAccountResponse) String ¶
func (x *ActivateAccountResponse) String() string
type AdminUpdateAccountRequest ¶
type AdminUpdateAccountRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` AdminId string `protobuf:"bytes,2,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"` UpdateOperation UpdateOperation `` /* 140-byte string literal not displayed */ Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"` Payload []string `protobuf:"bytes,5,rep,name=payload,proto3" json:"payload,omitempty"` Notify bool `protobuf:"varint,6,opt,name=notify,proto3" json:"notify,omitempty"` SendMethod messaging.SendMethod `protobuf:"varint,7,opt,name=send_method,json=sendMethod,proto3,enum=gidyon.apis.SendMethod" json:"send_method,omitempty"` // Types that are assignable to NotificationChannel: // *AdminUpdateAccountRequest_Sender // *AdminUpdateAccountRequest_SmsAuth NotificationChannel isAdminUpdateAccountRequest_NotificationChannel `protobuf_oneof:"notification_channel"` // contains filtered or unexported fields }
func (*AdminUpdateAccountRequest) Descriptor
deprecated
func (*AdminUpdateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminUpdateAccountRequest.ProtoReflect.Descriptor instead.
func (*AdminUpdateAccountRequest) GetAccountId ¶
func (x *AdminUpdateAccountRequest) GetAccountId() string
func (*AdminUpdateAccountRequest) GetAdminId ¶
func (x *AdminUpdateAccountRequest) GetAdminId() string
func (*AdminUpdateAccountRequest) GetNotificationChannel ¶
func (m *AdminUpdateAccountRequest) GetNotificationChannel() isAdminUpdateAccountRequest_NotificationChannel
func (*AdminUpdateAccountRequest) GetNotify ¶
func (x *AdminUpdateAccountRequest) GetNotify() bool
func (*AdminUpdateAccountRequest) GetPayload ¶
func (x *AdminUpdateAccountRequest) GetPayload() []string
func (*AdminUpdateAccountRequest) GetReason ¶
func (x *AdminUpdateAccountRequest) GetReason() string
func (*AdminUpdateAccountRequest) GetSendMethod ¶
func (x *AdminUpdateAccountRequest) GetSendMethod() messaging.SendMethod
func (*AdminUpdateAccountRequest) GetSender ¶
func (x *AdminUpdateAccountRequest) GetSender() *emailing.EmailSender
func (*AdminUpdateAccountRequest) GetSmsAuth ¶
func (x *AdminUpdateAccountRequest) GetSmsAuth() *sms.SendSMSRequest_SMSAuth
func (*AdminUpdateAccountRequest) GetUpdateOperation ¶
func (x *AdminUpdateAccountRequest) GetUpdateOperation() UpdateOperation
func (*AdminUpdateAccountRequest) ProtoMessage ¶
func (*AdminUpdateAccountRequest) ProtoMessage()
func (*AdminUpdateAccountRequest) ProtoReflect ¶
func (x *AdminUpdateAccountRequest) ProtoReflect() protoreflect.Message
func (*AdminUpdateAccountRequest) Reset ¶
func (x *AdminUpdateAccountRequest) Reset()
func (*AdminUpdateAccountRequest) String ¶
func (x *AdminUpdateAccountRequest) String() string
type AdminUpdateAccountRequest_Sender ¶
type AdminUpdateAccountRequest_Sender struct {
Sender *emailing.EmailSender `protobuf:"bytes,8,opt,name=sender,proto3,oneof"`
}
type AdminUpdateAccountRequest_SmsAuth ¶
type AdminUpdateAccountRequest_SmsAuth struct {
SmsAuth *sms.SendSMSRequest_SMSAuth `protobuf:"bytes,9,opt,name=sms_auth,json=smsAuth,proto3,oneof"`
}
type BatchGetAccountsRequest ¶
type BatchGetAccountsRequest struct { AccountIds []string `protobuf:"bytes,1,rep,name=account_ids,json=accountIds,proto3" json:"account_ids,omitempty"` // contains filtered or unexported fields }
func (*BatchGetAccountsRequest) Descriptor
deprecated
func (*BatchGetAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetAccountsRequest.ProtoReflect.Descriptor instead.
func (*BatchGetAccountsRequest) GetAccountIds ¶
func (x *BatchGetAccountsRequest) GetAccountIds() []string
func (*BatchGetAccountsRequest) ProtoMessage ¶
func (*BatchGetAccountsRequest) ProtoMessage()
func (*BatchGetAccountsRequest) ProtoReflect ¶
func (x *BatchGetAccountsRequest) ProtoReflect() protoreflect.Message
func (*BatchGetAccountsRequest) Reset ¶
func (x *BatchGetAccountsRequest) Reset()
func (*BatchGetAccountsRequest) String ¶
func (x *BatchGetAccountsRequest) String() string
type BatchGetAccountsResponse ¶
type BatchGetAccountsResponse struct { Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*BatchGetAccountsResponse) Descriptor
deprecated
func (*BatchGetAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetAccountsResponse.ProtoReflect.Descriptor instead.
func (*BatchGetAccountsResponse) GetAccounts ¶
func (x *BatchGetAccountsResponse) GetAccounts() []*Account
func (*BatchGetAccountsResponse) ProtoMessage ¶
func (*BatchGetAccountsResponse) ProtoMessage()
func (*BatchGetAccountsResponse) ProtoReflect ¶
func (x *BatchGetAccountsResponse) ProtoReflect() protoreflect.Message
func (*BatchGetAccountsResponse) Reset ¶
func (x *BatchGetAccountsResponse) Reset()
func (*BatchGetAccountsResponse) String ¶
func (x *BatchGetAccountsResponse) String() string
type CreateAccountRequest ¶
type CreateAccountRequest struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` PrivateAccount *PrivateAccount `protobuf:"bytes,2,opt,name=private_account,json=privateAccount,proto3" json:"private_account,omitempty"` Notify bool `protobuf:"varint,3,opt,name=notify,proto3" json:"notify,omitempty"` UpdateOnly bool `protobuf:"varint,4,opt,name=update_only,json=updateOnly,proto3" json:"update_only,omitempty"` ByAdmin bool `protobuf:"varint,5,opt,name=by_admin,json=byAdmin,proto3" json:"by_admin,omitempty"` AdminId string `protobuf:"bytes,6,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"` ProjectId string `protobuf:"bytes,7,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` NotificationMethod messaging.SendMethod `` /* 144-byte string literal not displayed */ // Types that are assignable to NotificationChannel: // *CreateAccountRequest_Sender // *CreateAccountRequest_SmsAuth NotificationChannel isCreateAccountRequest_NotificationChannel `protobuf_oneof:"notification_channel"` // contains filtered or unexported fields }
func (*CreateAccountRequest) Descriptor
deprecated
func (*CreateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountRequest) GetAccount ¶
func (x *CreateAccountRequest) GetAccount() *Account
func (*CreateAccountRequest) GetAdminId ¶
func (x *CreateAccountRequest) GetAdminId() string
func (*CreateAccountRequest) GetByAdmin ¶
func (x *CreateAccountRequest) GetByAdmin() bool
func (*CreateAccountRequest) GetNotificationChannel ¶
func (m *CreateAccountRequest) GetNotificationChannel() isCreateAccountRequest_NotificationChannel
func (*CreateAccountRequest) GetNotificationMethod ¶
func (x *CreateAccountRequest) GetNotificationMethod() messaging.SendMethod
func (*CreateAccountRequest) GetNotify ¶
func (x *CreateAccountRequest) GetNotify() bool
func (*CreateAccountRequest) GetPrivateAccount ¶
func (x *CreateAccountRequest) GetPrivateAccount() *PrivateAccount
func (*CreateAccountRequest) GetProjectId ¶
func (x *CreateAccountRequest) GetProjectId() string
func (*CreateAccountRequest) GetSender ¶
func (x *CreateAccountRequest) GetSender() *emailing.EmailSender
func (*CreateAccountRequest) GetSmsAuth ¶
func (x *CreateAccountRequest) GetSmsAuth() *sms.SendSMSRequest_SMSAuth
func (*CreateAccountRequest) GetUpdateOnly ¶
func (x *CreateAccountRequest) GetUpdateOnly() bool
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
type CreateAccountRequest_Sender ¶
type CreateAccountRequest_Sender struct {
Sender *emailing.EmailSender `protobuf:"bytes,9,opt,name=sender,proto3,oneof"`
}
type CreateAccountRequest_SmsAuth ¶
type CreateAccountRequest_SmsAuth struct {
SmsAuth *sms.SendSMSRequest_SMSAuth `protobuf:"bytes,10,opt,name=sms_auth,json=smsAuth,proto3,oneof"`
}
type CreateAccountResponse ¶
type CreateAccountResponse struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountResponse) Descriptor
deprecated
func (*CreateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountResponse) GetAccountId ¶
func (x *CreateAccountResponse) GetAccountId() string
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
type Criteria ¶
type Criteria struct { Filter bool `protobuf:"varint,1,opt,name=filter,proto3" json:"filter,omitempty"` ShowActiveAccounts bool `protobuf:"varint,2,opt,name=show_active_accounts,json=showActiveAccounts,proto3" json:"show_active_accounts,omitempty"` ShowInactiveAccounts bool `protobuf:"varint,3,opt,name=show_inactive_accounts,json=showInactiveAccounts,proto3" json:"show_inactive_accounts,omitempty"` ShowBlockedAccounts bool `protobuf:"varint,4,opt,name=show_blocked_accounts,json=showBlockedAccounts,proto3" json:"show_blocked_accounts,omitempty"` ShowMales bool `protobuf:"varint,5,opt,name=show_males,json=showMales,proto3" json:"show_males,omitempty"` ShowFemales bool `protobuf:"varint,6,opt,name=show_females,json=showFemales,proto3" json:"show_females,omitempty"` FilterCreationDate bool `protobuf:"varint,7,opt,name=filter_creation_date,json=filterCreationDate,proto3" json:"filter_creation_date,omitempty"` CreatedFrom int64 `protobuf:"varint,8,opt,name=created_from,json=createdFrom,proto3" json:"created_from,omitempty"` CreatedUntil int64 `protobuf:"varint,9,opt,name=created_until,json=createdUntil,proto3" json:"created_until,omitempty"` FilterAccountGroups bool `protobuf:"varint,10,opt,name=filter_account_groups,json=filterAccountGroups,proto3" json:"filter_account_groups,omitempty"` Groups []string `protobuf:"bytes,11,rep,name=groups,proto3" json:"groups,omitempty"` // contains filtered or unexported fields }
func (*Criteria) Descriptor
deprecated
func (*Criteria) GetCreatedFrom ¶
func (*Criteria) GetCreatedUntil ¶
func (*Criteria) GetFilterAccountGroups ¶
func (*Criteria) GetFilterCreationDate ¶
func (*Criteria) GetShowActiveAccounts ¶
func (*Criteria) GetShowBlockedAccounts ¶
func (*Criteria) GetShowFemales ¶
func (*Criteria) GetShowInactiveAccounts ¶
func (*Criteria) GetShowMales ¶
func (*Criteria) ProtoMessage ¶
func (*Criteria) ProtoMessage()
func (*Criteria) ProtoReflect ¶
func (x *Criteria) ProtoReflect() protoreflect.Message
type DeleteAccountRequest ¶
type DeleteAccountRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAccountRequest) Descriptor
deprecated
func (*DeleteAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.
func (*DeleteAccountRequest) GetAccountId ¶
func (x *DeleteAccountRequest) GetAccountId() string
func (*DeleteAccountRequest) ProtoMessage ¶
func (*DeleteAccountRequest) ProtoMessage()
func (*DeleteAccountRequest) ProtoReflect ¶
func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message
func (*DeleteAccountRequest) Reset ¶
func (x *DeleteAccountRequest) Reset()
func (*DeleteAccountRequest) String ¶
func (x *DeleteAccountRequest) String() string
type ExistAccountRequest ¶
type ExistAccountRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*ExistAccountRequest) Descriptor
deprecated
func (*ExistAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExistAccountRequest.ProtoReflect.Descriptor instead.
func (*ExistAccountRequest) GetEmail ¶
func (x *ExistAccountRequest) GetEmail() string
func (*ExistAccountRequest) GetPhone ¶
func (x *ExistAccountRequest) GetPhone() string
func (*ExistAccountRequest) GetProjectId ¶
func (x *ExistAccountRequest) GetProjectId() string
func (*ExistAccountRequest) ProtoMessage ¶
func (*ExistAccountRequest) ProtoMessage()
func (*ExistAccountRequest) ProtoReflect ¶
func (x *ExistAccountRequest) ProtoReflect() protoreflect.Message
func (*ExistAccountRequest) Reset ¶
func (x *ExistAccountRequest) Reset()
func (*ExistAccountRequest) String ¶
func (x *ExistAccountRequest) String() string
type ExistAccountResponse ¶
type ExistAccountResponse struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` ExistingFields []string `protobuf:"bytes,3,rep,name=existing_fields,json=existingFields,proto3" json:"existing_fields,omitempty"` // contains filtered or unexported fields }
func (*ExistAccountResponse) Descriptor
deprecated
func (*ExistAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExistAccountResponse.ProtoReflect.Descriptor instead.
func (*ExistAccountResponse) GetAccountId ¶
func (x *ExistAccountResponse) GetAccountId() string
func (*ExistAccountResponse) GetExistingFields ¶
func (x *ExistAccountResponse) GetExistingFields() []string
func (*ExistAccountResponse) GetExists ¶
func (x *ExistAccountResponse) GetExists() bool
func (*ExistAccountResponse) ProtoMessage ¶
func (*ExistAccountResponse) ProtoMessage()
func (*ExistAccountResponse) ProtoReflect ¶
func (x *ExistAccountResponse) ProtoReflect() protoreflect.Message
func (*ExistAccountResponse) Reset ¶
func (x *ExistAccountResponse) Reset()
func (*ExistAccountResponse) String ¶
func (x *ExistAccountResponse) String() string
type GetAccountRequest ¶
type GetAccountRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` View AccountView `protobuf:"varint,2,opt,name=view,proto3,enum=gidyon.apis.AccountView" json:"view,omitempty"` Priviledge bool `protobuf:"varint,3,opt,name=priviledge,proto3" json:"priviledge,omitempty"` // contains filtered or unexported fields }
func (*GetAccountRequest) Descriptor
deprecated
func (*GetAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRequest) GetAccountId ¶
func (x *GetAccountRequest) GetAccountId() string
func (*GetAccountRequest) GetPriviledge ¶
func (x *GetAccountRequest) GetPriviledge() bool
func (*GetAccountRequest) GetView ¶
func (x *GetAccountRequest) GetView() AccountView
func (*GetAccountRequest) ProtoMessage ¶
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) ProtoReflect ¶
func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
func (*GetAccountRequest) Reset ¶
func (x *GetAccountRequest) Reset()
func (*GetAccountRequest) String ¶
func (x *GetAccountRequest) String() string
type GetLinkedAccountsRequest ¶
type GetLinkedAccountsRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*GetLinkedAccountsRequest) Descriptor
deprecated
func (*GetLinkedAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLinkedAccountsRequest.ProtoReflect.Descriptor instead.
func (*GetLinkedAccountsRequest) GetAccountId ¶
func (x *GetLinkedAccountsRequest) GetAccountId() string
func (*GetLinkedAccountsRequest) ProtoMessage ¶
func (*GetLinkedAccountsRequest) ProtoMessage()
func (*GetLinkedAccountsRequest) ProtoReflect ¶
func (x *GetLinkedAccountsRequest) ProtoReflect() protoreflect.Message
func (*GetLinkedAccountsRequest) Reset ¶
func (x *GetLinkedAccountsRequest) Reset()
func (*GetLinkedAccountsRequest) String ¶
func (x *GetLinkedAccountsRequest) String() string
type GetLinkedAccountsResponse ¶
type GetLinkedAccountsResponse struct { Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*GetLinkedAccountsResponse) Descriptor
deprecated
func (*GetLinkedAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLinkedAccountsResponse.ProtoReflect.Descriptor instead.
func (*GetLinkedAccountsResponse) GetAccounts ¶
func (x *GetLinkedAccountsResponse) GetAccounts() []*Account
func (*GetLinkedAccountsResponse) ProtoMessage ¶
func (*GetLinkedAccountsResponse) ProtoMessage()
func (*GetLinkedAccountsResponse) ProtoReflect ¶
func (x *GetLinkedAccountsResponse) ProtoReflect() protoreflect.Message
func (*GetLinkedAccountsResponse) Reset ¶
func (x *GetLinkedAccountsResponse) Reset()
func (*GetLinkedAccountsResponse) String ¶
func (x *GetLinkedAccountsResponse) String() string
type ListAccountsRequest ¶
type ListAccountsRequest struct { PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` ListCriteria *Criteria `protobuf:"bytes,3,opt,name=list_criteria,json=listCriteria,proto3" json:"list_criteria,omitempty"` View AccountView `protobuf:"varint,4,opt,name=view,proto3,enum=gidyon.apis.AccountView" json:"view,omitempty"` Priviledge bool `protobuf:"varint,5,opt,name=priviledge,proto3" json:"priviledge,omitempty"` // contains filtered or unexported fields }
func (*ListAccountsRequest) Descriptor
deprecated
func (*ListAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.
func (*ListAccountsRequest) GetListCriteria ¶
func (x *ListAccountsRequest) GetListCriteria() *Criteria
func (*ListAccountsRequest) GetPageSize ¶
func (x *ListAccountsRequest) GetPageSize() int32
func (*ListAccountsRequest) GetPageToken ¶
func (x *ListAccountsRequest) GetPageToken() string
func (*ListAccountsRequest) GetPriviledge ¶
func (x *ListAccountsRequest) GetPriviledge() bool
func (*ListAccountsRequest) GetView ¶
func (x *ListAccountsRequest) GetView() AccountView
func (*ListAccountsRequest) ProtoMessage ¶
func (*ListAccountsRequest) ProtoMessage()
func (*ListAccountsRequest) ProtoReflect ¶
func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message
func (*ListAccountsRequest) Reset ¶
func (x *ListAccountsRequest) Reset()
func (*ListAccountsRequest) String ¶
func (x *ListAccountsRequest) String() string
type PrivateAccount ¶
type PrivateAccount struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` ConfirmPassword string `protobuf:"bytes,2,opt,name=confirm_password,json=confirmPassword,proto3" json:"confirm_password,omitempty"` SecurityQuestion string `protobuf:"bytes,3,opt,name=security_question,json=securityQuestion,proto3" json:"security_question,omitempty"` SecurityAnswer string `protobuf:"bytes,4,opt,name=security_answer,json=securityAnswer,proto3" json:"security_answer,omitempty"` // contains filtered or unexported fields }
func (*PrivateAccount) Descriptor
deprecated
func (*PrivateAccount) Descriptor() ([]byte, []int)
Deprecated: Use PrivateAccount.ProtoReflect.Descriptor instead.
func (*PrivateAccount) GetConfirmPassword ¶
func (x *PrivateAccount) GetConfirmPassword() string
func (*PrivateAccount) GetPassword ¶
func (x *PrivateAccount) GetPassword() string
func (*PrivateAccount) GetSecurityAnswer ¶
func (x *PrivateAccount) GetSecurityAnswer() string
func (*PrivateAccount) GetSecurityQuestion ¶
func (x *PrivateAccount) GetSecurityQuestion() string
func (*PrivateAccount) ProtoMessage ¶
func (*PrivateAccount) ProtoMessage()
func (*PrivateAccount) ProtoReflect ¶
func (x *PrivateAccount) ProtoReflect() protoreflect.Message
func (*PrivateAccount) Reset ¶
func (x *PrivateAccount) Reset()
func (*PrivateAccount) String ¶
func (x *PrivateAccount) String() string
type RefreshSessionRequest ¶
type RefreshSessionRequest struct { RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` AccountGroup string `protobuf:"bytes,3,opt,name=account_group,json=accountGroup,proto3" json:"account_group,omitempty"` // contains filtered or unexported fields }
func (*RefreshSessionRequest) Descriptor
deprecated
func (*RefreshSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshSessionRequest.ProtoReflect.Descriptor instead.
func (*RefreshSessionRequest) GetAccountGroup ¶
func (x *RefreshSessionRequest) GetAccountGroup() string
func (*RefreshSessionRequest) GetAccountId ¶
func (x *RefreshSessionRequest) GetAccountId() string
func (*RefreshSessionRequest) GetRefreshToken ¶
func (x *RefreshSessionRequest) GetRefreshToken() string
func (*RefreshSessionRequest) ProtoMessage ¶
func (*RefreshSessionRequest) ProtoMessage()
func (*RefreshSessionRequest) ProtoReflect ¶
func (x *RefreshSessionRequest) ProtoReflect() protoreflect.Message
func (*RefreshSessionRequest) Reset ¶
func (x *RefreshSessionRequest) Reset()
func (*RefreshSessionRequest) String ¶
func (x *RefreshSessionRequest) String() string
type RequestChangePrivateAccountRequest ¶
type RequestChangePrivateAccountRequest struct { Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` FallbackUrl string `protobuf:"bytes,2,opt,name=fallback_url,json=fallbackUrl,proto3" json:"fallback_url,omitempty"` SendMethod messaging.SendMethod `protobuf:"varint,3,opt,name=send_method,json=sendMethod,proto3,enum=gidyon.apis.SendMethod" json:"send_method,omitempty"` // Types that are assignable to NotificationChannel: // *RequestChangePrivateAccountRequest_Sender // *RequestChangePrivateAccountRequest_SmsAuth NotificationChannel isRequestChangePrivateAccountRequest_NotificationChannel `protobuf_oneof:"notification_channel"` // contains filtered or unexported fields }
func (*RequestChangePrivateAccountRequest) Descriptor
deprecated
func (*RequestChangePrivateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use RequestChangePrivateAccountRequest.ProtoReflect.Descriptor instead.
func (*RequestChangePrivateAccountRequest) GetFallbackUrl ¶
func (x *RequestChangePrivateAccountRequest) GetFallbackUrl() string
func (*RequestChangePrivateAccountRequest) GetNotificationChannel ¶
func (m *RequestChangePrivateAccountRequest) GetNotificationChannel() isRequestChangePrivateAccountRequest_NotificationChannel
func (*RequestChangePrivateAccountRequest) GetPayload ¶
func (x *RequestChangePrivateAccountRequest) GetPayload() string
func (*RequestChangePrivateAccountRequest) GetSendMethod ¶
func (x *RequestChangePrivateAccountRequest) GetSendMethod() messaging.SendMethod
func (*RequestChangePrivateAccountRequest) GetSender ¶
func (x *RequestChangePrivateAccountRequest) GetSender() *emailing.EmailSender
func (*RequestChangePrivateAccountRequest) GetSmsAuth ¶
func (x *RequestChangePrivateAccountRequest) GetSmsAuth() *sms.SendSMSRequest_SMSAuth
func (*RequestChangePrivateAccountRequest) ProtoMessage ¶
func (*RequestChangePrivateAccountRequest) ProtoMessage()
func (*RequestChangePrivateAccountRequest) ProtoReflect ¶
func (x *RequestChangePrivateAccountRequest) ProtoReflect() protoreflect.Message
func (*RequestChangePrivateAccountRequest) Reset ¶
func (x *RequestChangePrivateAccountRequest) Reset()
func (*RequestChangePrivateAccountRequest) String ¶
func (x *RequestChangePrivateAccountRequest) String() string
type RequestChangePrivateAccountRequest_Sender ¶
type RequestChangePrivateAccountRequest_Sender struct {
Sender *emailing.EmailSender `protobuf:"bytes,8,opt,name=sender,proto3,oneof"`
}
type RequestChangePrivateAccountRequest_SmsAuth ¶
type RequestChangePrivateAccountRequest_SmsAuth struct {
SmsAuth *sms.SendSMSRequest_SMSAuth `protobuf:"bytes,9,opt,name=sms_auth,json=smsAuth,proto3,oneof"`
}
type RequestChangePrivateAccountResponse ¶
type RequestChangePrivateAccountResponse struct { ResponseMessage string `protobuf:"bytes,1,opt,name=response_message,json=responseMessage,proto3" json:"response_message,omitempty"` // contains filtered or unexported fields }
func (*RequestChangePrivateAccountResponse) Descriptor
deprecated
func (*RequestChangePrivateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use RequestChangePrivateAccountResponse.ProtoReflect.Descriptor instead.
func (*RequestChangePrivateAccountResponse) GetResponseMessage ¶
func (x *RequestChangePrivateAccountResponse) GetResponseMessage() string
func (*RequestChangePrivateAccountResponse) ProtoMessage ¶
func (*RequestChangePrivateAccountResponse) ProtoMessage()
func (*RequestChangePrivateAccountResponse) ProtoReflect ¶
func (x *RequestChangePrivateAccountResponse) ProtoReflect() protoreflect.Message
func (*RequestChangePrivateAccountResponse) Reset ¶
func (x *RequestChangePrivateAccountResponse) Reset()
func (*RequestChangePrivateAccountResponse) String ¶
func (x *RequestChangePrivateAccountResponse) String() string
type SearchAccountsRequest ¶
type SearchAccountsRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` SearchLinkedAccounts bool `protobuf:"varint,4,opt,name=search_linked_accounts,json=searchLinkedAccounts,proto3" json:"search_linked_accounts,omitempty"` SearchCriteria *Criteria `protobuf:"bytes,5,opt,name=search_criteria,json=searchCriteria,proto3" json:"search_criteria,omitempty"` View AccountView `protobuf:"varint,6,opt,name=view,proto3,enum=gidyon.apis.AccountView" json:"view,omitempty"` // contains filtered or unexported fields }
func (*SearchAccountsRequest) Descriptor
deprecated
func (*SearchAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchAccountsRequest.ProtoReflect.Descriptor instead.
func (*SearchAccountsRequest) GetPageSize ¶
func (x *SearchAccountsRequest) GetPageSize() int32
func (*SearchAccountsRequest) GetPageToken ¶
func (x *SearchAccountsRequest) GetPageToken() string
func (*SearchAccountsRequest) GetQuery ¶
func (x *SearchAccountsRequest) GetQuery() string
func (*SearchAccountsRequest) GetSearchCriteria ¶
func (x *SearchAccountsRequest) GetSearchCriteria() *Criteria
func (*SearchAccountsRequest) GetSearchLinkedAccounts ¶
func (x *SearchAccountsRequest) GetSearchLinkedAccounts() bool
func (*SearchAccountsRequest) GetView ¶
func (x *SearchAccountsRequest) GetView() AccountView
func (*SearchAccountsRequest) ProtoMessage ¶
func (*SearchAccountsRequest) ProtoMessage()
func (*SearchAccountsRequest) ProtoReflect ¶
func (x *SearchAccountsRequest) ProtoReflect() protoreflect.Message
func (*SearchAccountsRequest) Reset ¶
func (x *SearchAccountsRequest) Reset()
func (*SearchAccountsRequest) String ¶
func (x *SearchAccountsRequest) String() string
type SignInExternalRequest ¶
type SignInExternalRequest struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` AuthToken string `protobuf:"bytes,2,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"` ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*SignInExternalRequest) Descriptor
deprecated
func (*SignInExternalRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignInExternalRequest.ProtoReflect.Descriptor instead.
func (*SignInExternalRequest) GetAccount ¶
func (x *SignInExternalRequest) GetAccount() *Account
func (*SignInExternalRequest) GetAuthToken ¶
func (x *SignInExternalRequest) GetAuthToken() string
func (*SignInExternalRequest) GetProjectId ¶
func (x *SignInExternalRequest) GetProjectId() string
func (*SignInExternalRequest) ProtoMessage ¶
func (*SignInExternalRequest) ProtoMessage()
func (*SignInExternalRequest) ProtoReflect ¶
func (x *SignInExternalRequest) ProtoReflect() protoreflect.Message
func (*SignInExternalRequest) Reset ¶
func (x *SignInExternalRequest) Reset()
func (*SignInExternalRequest) String ¶
func (x *SignInExternalRequest) String() string
type SignInRequest ¶
type SignInRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*SignInRequest) Descriptor
deprecated
func (*SignInRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.
func (*SignInRequest) GetGroup ¶
func (x *SignInRequest) GetGroup() string
func (*SignInRequest) GetPassword ¶
func (x *SignInRequest) GetPassword() string
func (*SignInRequest) GetProjectId ¶
func (x *SignInRequest) GetProjectId() string
func (*SignInRequest) GetUsername ¶
func (x *SignInRequest) GetUsername() string
func (*SignInRequest) ProtoMessage ¶
func (*SignInRequest) ProtoMessage()
func (*SignInRequest) ProtoReflect ¶
func (x *SignInRequest) ProtoReflect() protoreflect.Message
func (*SignInRequest) Reset ¶
func (x *SignInRequest) Reset()
func (*SignInRequest) String ¶
func (x *SignInRequest) String() string
type SignInResponse ¶
type SignInResponse struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"` State AccountState `protobuf:"varint,6,opt,name=state,proto3,enum=gidyon.apis.AccountState" json:"state,omitempty"` SecondaryGroups []string `protobuf:"bytes,16,rep,name=secondary_groups,json=secondaryGroups,proto3" json:"secondary_groups,omitempty"` // contains filtered or unexported fields }
func (*SignInResponse) Descriptor
deprecated
func (*SignInResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.
func (*SignInResponse) GetAccountId ¶
func (x *SignInResponse) GetAccountId() string
func (*SignInResponse) GetGroup ¶
func (x *SignInResponse) GetGroup() string
func (*SignInResponse) GetRefreshToken ¶
func (x *SignInResponse) GetRefreshToken() string
func (*SignInResponse) GetSecondaryGroups ¶
func (x *SignInResponse) GetSecondaryGroups() []string
func (*SignInResponse) GetSessionId ¶
func (x *SignInResponse) GetSessionId() string
func (*SignInResponse) GetState ¶
func (x *SignInResponse) GetState() AccountState
func (*SignInResponse) GetToken ¶
func (x *SignInResponse) GetToken() string
func (*SignInResponse) ProtoMessage ¶
func (*SignInResponse) ProtoMessage()
func (*SignInResponse) ProtoReflect ¶
func (x *SignInResponse) ProtoReflect() protoreflect.Message
func (*SignInResponse) Reset ¶
func (x *SignInResponse) Reset()
func (*SignInResponse) String ¶
func (x *SignInResponse) String() string
type UnimplementedAccountAPIServer ¶
type UnimplementedAccountAPIServer struct { }
UnimplementedAccountAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedAccountAPIServer) ActivateAccount ¶
func (UnimplementedAccountAPIServer) ActivateAccount(context.Context, *ActivateAccountRequest) (*ActivateAccountResponse, error)
func (UnimplementedAccountAPIServer) AdminUpdateAccount ¶
func (UnimplementedAccountAPIServer) AdminUpdateAccount(context.Context, *AdminUpdateAccountRequest) (*empty.Empty, error)
func (UnimplementedAccountAPIServer) BatchGetAccounts ¶
func (UnimplementedAccountAPIServer) BatchGetAccounts(context.Context, *BatchGetAccountsRequest) (*BatchGetAccountsResponse, error)
func (UnimplementedAccountAPIServer) CreateAccount ¶
func (UnimplementedAccountAPIServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
func (UnimplementedAccountAPIServer) DeleteAccount ¶
func (UnimplementedAccountAPIServer) DeleteAccount(context.Context, *DeleteAccountRequest) (*empty.Empty, error)
func (UnimplementedAccountAPIServer) ExistAccount ¶
func (UnimplementedAccountAPIServer) ExistAccount(context.Context, *ExistAccountRequest) (*ExistAccountResponse, error)
func (UnimplementedAccountAPIServer) GetAccount ¶
func (UnimplementedAccountAPIServer) GetAccount(context.Context, *GetAccountRequest) (*Account, error)
func (UnimplementedAccountAPIServer) GetLinkedAccounts ¶
func (UnimplementedAccountAPIServer) GetLinkedAccounts(context.Context, *GetLinkedAccountsRequest) (*GetLinkedAccountsResponse, error)
func (UnimplementedAccountAPIServer) ListAccounts ¶
func (UnimplementedAccountAPIServer) ListAccounts(context.Context, *ListAccountsRequest) (*Accounts, error)
func (UnimplementedAccountAPIServer) RefreshSession ¶
func (UnimplementedAccountAPIServer) RefreshSession(context.Context, *RefreshSessionRequest) (*SignInResponse, error)
func (UnimplementedAccountAPIServer) RequestChangePrivateAccount ¶
func (UnimplementedAccountAPIServer) RequestChangePrivateAccount(context.Context, *RequestChangePrivateAccountRequest) (*RequestChangePrivateAccountResponse, error)
func (UnimplementedAccountAPIServer) SearchAccounts ¶
func (UnimplementedAccountAPIServer) SearchAccounts(context.Context, *SearchAccountsRequest) (*Accounts, error)
func (UnimplementedAccountAPIServer) SignIn ¶
func (UnimplementedAccountAPIServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
func (UnimplementedAccountAPIServer) SignInExternal ¶
func (UnimplementedAccountAPIServer) SignInExternal(context.Context, *SignInExternalRequest) (*SignInResponse, error)
func (UnimplementedAccountAPIServer) UpdateAccount ¶
func (UnimplementedAccountAPIServer) UpdateAccount(context.Context, *UpdateAccountRequest) (*empty.Empty, error)
func (UnimplementedAccountAPIServer) UpdatePrivateAccount ¶
func (UnimplementedAccountAPIServer) UpdatePrivateAccount(context.Context, *UpdatePrivateAccountRequest) (*empty.Empty, error)
func (UnimplementedAccountAPIServer) UpdatePrivateAccountExternal ¶
func (UnimplementedAccountAPIServer) UpdatePrivateAccountExternal(context.Context, *UpdatePrivateAccountExternalRequest) (*empty.Empty, error)
type UnsafeAccountAPIServer ¶
type UnsafeAccountAPIServer interface {
// contains filtered or unexported methods
}
UnsafeAccountAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountAPIServer will result in compilation errors.
type UpdateAccountRequest ¶
type UpdateAccountRequest struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*UpdateAccountRequest) Descriptor
deprecated
func (*UpdateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.
func (*UpdateAccountRequest) GetAccount ¶
func (x *UpdateAccountRequest) GetAccount() *Account
func (*UpdateAccountRequest) ProtoMessage ¶
func (*UpdateAccountRequest) ProtoMessage()
func (*UpdateAccountRequest) ProtoReflect ¶
func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message
func (*UpdateAccountRequest) Reset ¶
func (x *UpdateAccountRequest) Reset()
func (*UpdateAccountRequest) String ¶
func (x *UpdateAccountRequest) String() string
type UpdateOperation ¶
type UpdateOperation int32
UpdateOperation
const ( UpdateOperation_UPDATE_OPERATION_INSPECIFIED UpdateOperation = 0 UpdateOperation_UNDELETE UpdateOperation = 1 UpdateOperation_DELETE UpdateOperation = 2 UpdateOperation_UNBLOCK UpdateOperation = 3 UpdateOperation_BLOCK UpdateOperation = 4 UpdateOperation_CHANGE_GROUP UpdateOperation = 5 UpdateOperation_ADMIN_ACTIVATE UpdateOperation = 6 )
func (UpdateOperation) Descriptor ¶
func (UpdateOperation) Descriptor() protoreflect.EnumDescriptor
func (UpdateOperation) Enum ¶
func (x UpdateOperation) Enum() *UpdateOperation
func (UpdateOperation) EnumDescriptor
deprecated
func (UpdateOperation) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateOperation.Descriptor instead.
func (UpdateOperation) Number ¶
func (x UpdateOperation) Number() protoreflect.EnumNumber
func (UpdateOperation) String ¶
func (x UpdateOperation) String() string
func (UpdateOperation) Type ¶
func (UpdateOperation) Type() protoreflect.EnumType
type UpdatePrivateAccountExternalRequest ¶
type UpdatePrivateAccountExternalRequest struct { Jwt string `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` PrivateAccount *PrivateAccount `protobuf:"bytes,3,opt,name=private_account,json=privateAccount,proto3" json:"private_account,omitempty"` ChangeToken string `protobuf:"bytes,4,opt,name=change_token,json=changeToken,proto3" json:"change_token,omitempty"` // contains filtered or unexported fields }
func (*UpdatePrivateAccountExternalRequest) Descriptor
deprecated
func (*UpdatePrivateAccountExternalRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePrivateAccountExternalRequest.ProtoReflect.Descriptor instead.
func (*UpdatePrivateAccountExternalRequest) GetChangeToken ¶
func (x *UpdatePrivateAccountExternalRequest) GetChangeToken() string
func (*UpdatePrivateAccountExternalRequest) GetJwt ¶
func (x *UpdatePrivateAccountExternalRequest) GetJwt() string
func (*UpdatePrivateAccountExternalRequest) GetPrivateAccount ¶
func (x *UpdatePrivateAccountExternalRequest) GetPrivateAccount() *PrivateAccount
func (*UpdatePrivateAccountExternalRequest) GetUsername ¶
func (x *UpdatePrivateAccountExternalRequest) GetUsername() string
func (*UpdatePrivateAccountExternalRequest) ProtoMessage ¶
func (*UpdatePrivateAccountExternalRequest) ProtoMessage()
func (*UpdatePrivateAccountExternalRequest) ProtoReflect ¶
func (x *UpdatePrivateAccountExternalRequest) ProtoReflect() protoreflect.Message
func (*UpdatePrivateAccountExternalRequest) Reset ¶
func (x *UpdatePrivateAccountExternalRequest) Reset()
func (*UpdatePrivateAccountExternalRequest) String ¶
func (x *UpdatePrivateAccountExternalRequest) String() string
type UpdatePrivateAccountRequest ¶
type UpdatePrivateAccountRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` PrivateAccount *PrivateAccount `protobuf:"bytes,2,opt,name=private_account,json=privateAccount,proto3" json:"private_account,omitempty"` ChangeToken string `protobuf:"bytes,3,opt,name=change_token,json=changeToken,proto3" json:"change_token,omitempty"` // contains filtered or unexported fields }
func (*UpdatePrivateAccountRequest) Descriptor
deprecated
func (*UpdatePrivateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePrivateAccountRequest.ProtoReflect.Descriptor instead.
func (*UpdatePrivateAccountRequest) GetAccountId ¶
func (x *UpdatePrivateAccountRequest) GetAccountId() string
func (*UpdatePrivateAccountRequest) GetChangeToken ¶
func (x *UpdatePrivateAccountRequest) GetChangeToken() string
func (*UpdatePrivateAccountRequest) GetPrivateAccount ¶
func (x *UpdatePrivateAccountRequest) GetPrivateAccount() *PrivateAccount
func (*UpdatePrivateAccountRequest) ProtoMessage ¶
func (*UpdatePrivateAccountRequest) ProtoMessage()
func (*UpdatePrivateAccountRequest) ProtoReflect ¶
func (x *UpdatePrivateAccountRequest) ProtoReflect() protoreflect.Message
func (*UpdatePrivateAccountRequest) Reset ¶
func (x *UpdatePrivateAccountRequest) Reset()
func (*UpdatePrivateAccountRequest) String ¶
func (x *UpdatePrivateAccountRequest) String() string