The canary now authenticates as a dedicated service-account identity in the
system org whose only grant is access.CalaryGrantPolicy: read the signal
endpoints (chat update, alerts, logs, tasks), read and write the
update-settings resource, and trigger an update install. CANARY_TOKEN no
longer carries instance admin; DEPLOY_TOKEN stays CI-only.
- authorize: POST /api/chat/update/install and /defer map to
update on Object::"update" (dashboard) instead of run on any workflow,
so the grant can cover installs without granting workflow runs
- accounts: active service-account identities may authenticate with bearer
tokens (CanAct), not just users
- new POST /api/identities/{id}/tokens (behind manage_identities) mints a
token for a named non-user identity; new AccountService RPC
BindIdentityPersonalToken backs it remotely, refusing user-kind targets,
with the caller recorded as audit actor
- engine tests pin the grant's exact allow/deny surface
RELEASING.md documents the one-time setup. task check passes on this tree.
858 lines
39 KiB
Go
858 lines
39 KiB
Go
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-grpc v1.6.2
|
|
// - protoc (unknown)
|
|
// source: state/v1/account.proto
|
|
|
|
package statev1
|
|
|
|
import (
|
|
context "context"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
)
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
// Requires gRPC-Go v1.64.0 or later.
|
|
const _ = grpc.SupportPackageIsVersion9
|
|
|
|
const (
|
|
AccountService_GetAuthenticationSettings_FullMethodName = "/state.v1.AccountService/GetAuthenticationSettings"
|
|
AccountService_SaveAuthenticationSettings_FullMethodName = "/state.v1.AccountService/SaveAuthenticationSettings"
|
|
AccountService_BeginPasskey_FullMethodName = "/state.v1.AccountService/BeginPasskey"
|
|
AccountService_FinishPasskey_FullMethodName = "/state.v1.AccountService/FinishPasskey"
|
|
AccountService_ListPasskeys_FullMethodName = "/state.v1.AccountService/ListPasskeys"
|
|
AccountService_DeletePasskey_FullMethodName = "/state.v1.AccountService/DeletePasskey"
|
|
AccountService_OpenAccountSession_FullMethodName = "/state.v1.AccountService/OpenAccountSession"
|
|
AccountService_RequireFreshAccountSession_FullMethodName = "/state.v1.AccountService/RequireFreshAccountSession"
|
|
AccountService_CreateAccountRecovery_FullMethodName = "/state.v1.AccountService/CreateAccountRecovery"
|
|
AccountService_RecoverAccount_FullMethodName = "/state.v1.AccountService/RecoverAccount"
|
|
AccountService_AccountSetup_FullMethodName = "/state.v1.AccountService/AccountSetup"
|
|
AccountService_RegisterAccount_FullMethodName = "/state.v1.AccountService/RegisterAccount"
|
|
AccountService_SignInAccount_FullMethodName = "/state.v1.AccountService/SignInAccount"
|
|
AccountService_ResolveAccountSession_FullMethodName = "/state.v1.AccountService/ResolveAccountSession"
|
|
AccountService_SignOutAccount_FullMethodName = "/state.v1.AccountService/SignOutAccount"
|
|
AccountService_ChangeAccountPassword_FullMethodName = "/state.v1.AccountService/ChangeAccountPassword"
|
|
AccountService_AddPersonalToken_FullMethodName = "/state.v1.AccountService/AddPersonalToken"
|
|
AccountService_ListPersonalTokens_FullMethodName = "/state.v1.AccountService/ListPersonalTokens"
|
|
AccountService_RevokePersonalToken_FullMethodName = "/state.v1.AccountService/RevokePersonalToken"
|
|
AccountService_BindIdentityPersonalToken_FullMethodName = "/state.v1.AccountService/BindIdentityPersonalToken"
|
|
)
|
|
|
|
// AccountServiceClient is the client API for AccountService 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.
|
|
type AccountServiceClient interface {
|
|
GetAuthenticationSettings(ctx context.Context, in *GetAuthenticationSettingsRequest, opts ...grpc.CallOption) (*GetAuthenticationSettingsResponse, error)
|
|
SaveAuthenticationSettings(ctx context.Context, in *SaveAuthenticationSettingsRequest, opts ...grpc.CallOption) (*SaveAuthenticationSettingsResponse, error)
|
|
BeginPasskey(ctx context.Context, in *BeginPasskeyRequest, opts ...grpc.CallOption) (*BeginPasskeyResponse, error)
|
|
FinishPasskey(ctx context.Context, in *FinishPasskeyRequest, opts ...grpc.CallOption) (*FinishPasskeyResponse, error)
|
|
ListPasskeys(ctx context.Context, in *ListPasskeysRequest, opts ...grpc.CallOption) (*ListPasskeysResponse, error)
|
|
DeletePasskey(ctx context.Context, in *DeletePasskeyRequest, opts ...grpc.CallOption) (*DeletePasskeyResponse, error)
|
|
OpenAccountSession(ctx context.Context, in *OpenAccountSessionRequest, opts ...grpc.CallOption) (*OpenAccountSessionResponse, error)
|
|
RequireFreshAccountSession(ctx context.Context, in *RequireFreshAccountSessionRequest, opts ...grpc.CallOption) (*RequireFreshAccountSessionResponse, error)
|
|
CreateAccountRecovery(ctx context.Context, in *CreateAccountRecoveryRequest, opts ...grpc.CallOption) (*CreateAccountRecoveryResponse, error)
|
|
RecoverAccount(ctx context.Context, in *RecoverAccountRequest, opts ...grpc.CallOption) (*RecoverAccountResponse, error)
|
|
AccountSetup(ctx context.Context, in *AccountSetupRequest, opts ...grpc.CallOption) (*AccountSetupResponse, error)
|
|
RegisterAccount(ctx context.Context, in *RegisterAccountRequest, opts ...grpc.CallOption) (*RegisterAccountResponse, error)
|
|
SignInAccount(ctx context.Context, in *SignInAccountRequest, opts ...grpc.CallOption) (*SignInAccountResponse, error)
|
|
ResolveAccountSession(ctx context.Context, in *ResolveAccountSessionRequest, opts ...grpc.CallOption) (*ResolveAccountSessionResponse, error)
|
|
SignOutAccount(ctx context.Context, in *SignOutAccountRequest, opts ...grpc.CallOption) (*SignOutAccountResponse, error)
|
|
ChangeAccountPassword(ctx context.Context, in *ChangeAccountPasswordRequest, opts ...grpc.CallOption) (*ChangeAccountPasswordResponse, error)
|
|
// Personal API tokens act on the caller's own principal: the State Store
|
|
// refuses a call that carries none.
|
|
AddPersonalToken(ctx context.Context, in *AddPersonalTokenRequest, opts ...grpc.CallOption) (*AddPersonalTokenResponse, error)
|
|
ListPersonalTokens(ctx context.Context, in *ListPersonalTokensRequest, opts ...grpc.CallOption) (*ListPersonalTokensResponse, error)
|
|
RevokePersonalToken(ctx context.Context, in *RevokePersonalTokenRequest, opts ...grpc.CallOption) (*RevokePersonalTokenResponse, error)
|
|
// BindIdentityPersonalToken binds a personal token to a NAMED identity
|
|
// instead of the caller's principal, which is how a service account gets
|
|
// its bearer credential. Only non-user targets are accepted: a person's
|
|
// token comes from AddPersonalToken. The audit actor is the caller's
|
|
// principal, never a request field.
|
|
BindIdentityPersonalToken(ctx context.Context, in *BindIdentityPersonalTokenRequest, opts ...grpc.CallOption) (*BindIdentityPersonalTokenResponse, error)
|
|
}
|
|
|
|
type accountServiceClient struct {
|
|
cc grpc.ClientConnInterface
|
|
}
|
|
|
|
func NewAccountServiceClient(cc grpc.ClientConnInterface) AccountServiceClient {
|
|
return &accountServiceClient{cc}
|
|
}
|
|
|
|
func (c *accountServiceClient) GetAuthenticationSettings(ctx context.Context, in *GetAuthenticationSettingsRequest, opts ...grpc.CallOption) (*GetAuthenticationSettingsResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetAuthenticationSettingsResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_GetAuthenticationSettings_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) SaveAuthenticationSettings(ctx context.Context, in *SaveAuthenticationSettingsRequest, opts ...grpc.CallOption) (*SaveAuthenticationSettingsResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SaveAuthenticationSettingsResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_SaveAuthenticationSettings_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) BeginPasskey(ctx context.Context, in *BeginPasskeyRequest, opts ...grpc.CallOption) (*BeginPasskeyResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(BeginPasskeyResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_BeginPasskey_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) FinishPasskey(ctx context.Context, in *FinishPasskeyRequest, opts ...grpc.CallOption) (*FinishPasskeyResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(FinishPasskeyResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_FinishPasskey_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) ListPasskeys(ctx context.Context, in *ListPasskeysRequest, opts ...grpc.CallOption) (*ListPasskeysResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(ListPasskeysResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_ListPasskeys_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) DeletePasskey(ctx context.Context, in *DeletePasskeyRequest, opts ...grpc.CallOption) (*DeletePasskeyResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DeletePasskeyResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_DeletePasskey_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) OpenAccountSession(ctx context.Context, in *OpenAccountSessionRequest, opts ...grpc.CallOption) (*OpenAccountSessionResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(OpenAccountSessionResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_OpenAccountSession_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) RequireFreshAccountSession(ctx context.Context, in *RequireFreshAccountSessionRequest, opts ...grpc.CallOption) (*RequireFreshAccountSessionResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(RequireFreshAccountSessionResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_RequireFreshAccountSession_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) CreateAccountRecovery(ctx context.Context, in *CreateAccountRecoveryRequest, opts ...grpc.CallOption) (*CreateAccountRecoveryResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CreateAccountRecoveryResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_CreateAccountRecovery_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) RecoverAccount(ctx context.Context, in *RecoverAccountRequest, opts ...grpc.CallOption) (*RecoverAccountResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(RecoverAccountResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_RecoverAccount_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) AccountSetup(ctx context.Context, in *AccountSetupRequest, opts ...grpc.CallOption) (*AccountSetupResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(AccountSetupResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_AccountSetup_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) RegisterAccount(ctx context.Context, in *RegisterAccountRequest, opts ...grpc.CallOption) (*RegisterAccountResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(RegisterAccountResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_RegisterAccount_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) SignInAccount(ctx context.Context, in *SignInAccountRequest, opts ...grpc.CallOption) (*SignInAccountResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SignInAccountResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_SignInAccount_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) ResolveAccountSession(ctx context.Context, in *ResolveAccountSessionRequest, opts ...grpc.CallOption) (*ResolveAccountSessionResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(ResolveAccountSessionResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_ResolveAccountSession_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) SignOutAccount(ctx context.Context, in *SignOutAccountRequest, opts ...grpc.CallOption) (*SignOutAccountResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SignOutAccountResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_SignOutAccount_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) ChangeAccountPassword(ctx context.Context, in *ChangeAccountPasswordRequest, opts ...grpc.CallOption) (*ChangeAccountPasswordResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(ChangeAccountPasswordResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_ChangeAccountPassword_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) AddPersonalToken(ctx context.Context, in *AddPersonalTokenRequest, opts ...grpc.CallOption) (*AddPersonalTokenResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(AddPersonalTokenResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_AddPersonalToken_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) ListPersonalTokens(ctx context.Context, in *ListPersonalTokensRequest, opts ...grpc.CallOption) (*ListPersonalTokensResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(ListPersonalTokensResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_ListPersonalTokens_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) RevokePersonalToken(ctx context.Context, in *RevokePersonalTokenRequest, opts ...grpc.CallOption) (*RevokePersonalTokenResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(RevokePersonalTokenResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_RevokePersonalToken_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *accountServiceClient) BindIdentityPersonalToken(ctx context.Context, in *BindIdentityPersonalTokenRequest, opts ...grpc.CallOption) (*BindIdentityPersonalTokenResponse, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(BindIdentityPersonalTokenResponse)
|
|
err := c.cc.Invoke(ctx, AccountService_BindIdentityPersonalToken_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// AccountServiceServer is the server API for AccountService service.
|
|
// All implementations must embed UnimplementedAccountServiceServer
|
|
// for forward compatibility.
|
|
type AccountServiceServer interface {
|
|
GetAuthenticationSettings(context.Context, *GetAuthenticationSettingsRequest) (*GetAuthenticationSettingsResponse, error)
|
|
SaveAuthenticationSettings(context.Context, *SaveAuthenticationSettingsRequest) (*SaveAuthenticationSettingsResponse, error)
|
|
BeginPasskey(context.Context, *BeginPasskeyRequest) (*BeginPasskeyResponse, error)
|
|
FinishPasskey(context.Context, *FinishPasskeyRequest) (*FinishPasskeyResponse, error)
|
|
ListPasskeys(context.Context, *ListPasskeysRequest) (*ListPasskeysResponse, error)
|
|
DeletePasskey(context.Context, *DeletePasskeyRequest) (*DeletePasskeyResponse, error)
|
|
OpenAccountSession(context.Context, *OpenAccountSessionRequest) (*OpenAccountSessionResponse, error)
|
|
RequireFreshAccountSession(context.Context, *RequireFreshAccountSessionRequest) (*RequireFreshAccountSessionResponse, error)
|
|
CreateAccountRecovery(context.Context, *CreateAccountRecoveryRequest) (*CreateAccountRecoveryResponse, error)
|
|
RecoverAccount(context.Context, *RecoverAccountRequest) (*RecoverAccountResponse, error)
|
|
AccountSetup(context.Context, *AccountSetupRequest) (*AccountSetupResponse, error)
|
|
RegisterAccount(context.Context, *RegisterAccountRequest) (*RegisterAccountResponse, error)
|
|
SignInAccount(context.Context, *SignInAccountRequest) (*SignInAccountResponse, error)
|
|
ResolveAccountSession(context.Context, *ResolveAccountSessionRequest) (*ResolveAccountSessionResponse, error)
|
|
SignOutAccount(context.Context, *SignOutAccountRequest) (*SignOutAccountResponse, error)
|
|
ChangeAccountPassword(context.Context, *ChangeAccountPasswordRequest) (*ChangeAccountPasswordResponse, error)
|
|
// Personal API tokens act on the caller's own principal: the State Store
|
|
// refuses a call that carries none.
|
|
AddPersonalToken(context.Context, *AddPersonalTokenRequest) (*AddPersonalTokenResponse, error)
|
|
ListPersonalTokens(context.Context, *ListPersonalTokensRequest) (*ListPersonalTokensResponse, error)
|
|
RevokePersonalToken(context.Context, *RevokePersonalTokenRequest) (*RevokePersonalTokenResponse, error)
|
|
// BindIdentityPersonalToken binds a personal token to a NAMED identity
|
|
// instead of the caller's principal, which is how a service account gets
|
|
// its bearer credential. Only non-user targets are accepted: a person's
|
|
// token comes from AddPersonalToken. The audit actor is the caller's
|
|
// principal, never a request field.
|
|
BindIdentityPersonalToken(context.Context, *BindIdentityPersonalTokenRequest) (*BindIdentityPersonalTokenResponse, error)
|
|
mustEmbedUnimplementedAccountServiceServer()
|
|
}
|
|
|
|
// UnimplementedAccountServiceServer must be embedded to have
|
|
// forward compatible implementations.
|
|
//
|
|
// NOTE: this should be embedded by value instead of pointer to avoid a nil
|
|
// pointer dereference when methods are called.
|
|
type UnimplementedAccountServiceServer struct{}
|
|
|
|
func (UnimplementedAccountServiceServer) GetAuthenticationSettings(context.Context, *GetAuthenticationSettingsRequest) (*GetAuthenticationSettingsResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetAuthenticationSettings not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) SaveAuthenticationSettings(context.Context, *SaveAuthenticationSettingsRequest) (*SaveAuthenticationSettingsResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SaveAuthenticationSettings not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) BeginPasskey(context.Context, *BeginPasskeyRequest) (*BeginPasskeyResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method BeginPasskey not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) FinishPasskey(context.Context, *FinishPasskeyRequest) (*FinishPasskeyResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method FinishPasskey not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) ListPasskeys(context.Context, *ListPasskeysRequest) (*ListPasskeysResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method ListPasskeys not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) DeletePasskey(context.Context, *DeletePasskeyRequest) (*DeletePasskeyResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DeletePasskey not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) OpenAccountSession(context.Context, *OpenAccountSessionRequest) (*OpenAccountSessionResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method OpenAccountSession not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) RequireFreshAccountSession(context.Context, *RequireFreshAccountSessionRequest) (*RequireFreshAccountSessionResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method RequireFreshAccountSession not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) CreateAccountRecovery(context.Context, *CreateAccountRecoveryRequest) (*CreateAccountRecoveryResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method CreateAccountRecovery not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) RecoverAccount(context.Context, *RecoverAccountRequest) (*RecoverAccountResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method RecoverAccount not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) AccountSetup(context.Context, *AccountSetupRequest) (*AccountSetupResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method AccountSetup not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) RegisterAccount(context.Context, *RegisterAccountRequest) (*RegisterAccountResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method RegisterAccount not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) SignInAccount(context.Context, *SignInAccountRequest) (*SignInAccountResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SignInAccount not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) ResolveAccountSession(context.Context, *ResolveAccountSessionRequest) (*ResolveAccountSessionResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method ResolveAccountSession not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) SignOutAccount(context.Context, *SignOutAccountRequest) (*SignOutAccountResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SignOutAccount not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) ChangeAccountPassword(context.Context, *ChangeAccountPasswordRequest) (*ChangeAccountPasswordResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method ChangeAccountPassword not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) AddPersonalToken(context.Context, *AddPersonalTokenRequest) (*AddPersonalTokenResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method AddPersonalToken not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) ListPersonalTokens(context.Context, *ListPersonalTokensRequest) (*ListPersonalTokensResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method ListPersonalTokens not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) RevokePersonalToken(context.Context, *RevokePersonalTokenRequest) (*RevokePersonalTokenResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method RevokePersonalToken not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) BindIdentityPersonalToken(context.Context, *BindIdentityPersonalTokenRequest) (*BindIdentityPersonalTokenResponse, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method BindIdentityPersonalToken not implemented")
|
|
}
|
|
func (UnimplementedAccountServiceServer) mustEmbedUnimplementedAccountServiceServer() {}
|
|
func (UnimplementedAccountServiceServer) testEmbeddedByValue() {}
|
|
|
|
// UnsafeAccountServiceServer may be embedded to opt out of forward compatibility for this service.
|
|
// Use of this interface is not recommended, as added methods to AccountServiceServer will
|
|
// result in compilation errors.
|
|
type UnsafeAccountServiceServer interface {
|
|
mustEmbedUnimplementedAccountServiceServer()
|
|
}
|
|
|
|
func RegisterAccountServiceServer(s grpc.ServiceRegistrar, srv AccountServiceServer) {
|
|
// If the following call panics, it indicates UnimplementedAccountServiceServer was
|
|
// embedded by pointer and is nil. This will cause panics if an
|
|
// unimplemented method is ever invoked, so we test this at initialization
|
|
// time to prevent it from happening at runtime later due to I/O.
|
|
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
|
|
t.testEmbeddedByValue()
|
|
}
|
|
s.RegisterService(&AccountService_ServiceDesc, srv)
|
|
}
|
|
|
|
func _AccountService_GetAuthenticationSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetAuthenticationSettingsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).GetAuthenticationSettings(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_GetAuthenticationSettings_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).GetAuthenticationSettings(ctx, req.(*GetAuthenticationSettingsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_SaveAuthenticationSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SaveAuthenticationSettingsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).SaveAuthenticationSettings(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_SaveAuthenticationSettings_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).SaveAuthenticationSettings(ctx, req.(*SaveAuthenticationSettingsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_BeginPasskey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(BeginPasskeyRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).BeginPasskey(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_BeginPasskey_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).BeginPasskey(ctx, req.(*BeginPasskeyRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_FinishPasskey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(FinishPasskeyRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).FinishPasskey(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_FinishPasskey_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).FinishPasskey(ctx, req.(*FinishPasskeyRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_ListPasskeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ListPasskeysRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).ListPasskeys(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_ListPasskeys_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).ListPasskeys(ctx, req.(*ListPasskeysRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_DeletePasskey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeletePasskeyRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).DeletePasskey(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_DeletePasskey_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).DeletePasskey(ctx, req.(*DeletePasskeyRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_OpenAccountSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(OpenAccountSessionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).OpenAccountSession(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_OpenAccountSession_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).OpenAccountSession(ctx, req.(*OpenAccountSessionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_RequireFreshAccountSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RequireFreshAccountSessionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).RequireFreshAccountSession(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_RequireFreshAccountSession_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).RequireFreshAccountSession(ctx, req.(*RequireFreshAccountSessionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_CreateAccountRecovery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateAccountRecoveryRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).CreateAccountRecovery(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_CreateAccountRecovery_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).CreateAccountRecovery(ctx, req.(*CreateAccountRecoveryRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_RecoverAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RecoverAccountRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).RecoverAccount(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_RecoverAccount_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).RecoverAccount(ctx, req.(*RecoverAccountRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_AccountSetup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AccountSetupRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).AccountSetup(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_AccountSetup_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).AccountSetup(ctx, req.(*AccountSetupRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_RegisterAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RegisterAccountRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).RegisterAccount(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_RegisterAccount_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).RegisterAccount(ctx, req.(*RegisterAccountRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_SignInAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SignInAccountRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).SignInAccount(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_SignInAccount_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).SignInAccount(ctx, req.(*SignInAccountRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_ResolveAccountSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ResolveAccountSessionRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).ResolveAccountSession(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_ResolveAccountSession_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).ResolveAccountSession(ctx, req.(*ResolveAccountSessionRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_SignOutAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SignOutAccountRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).SignOutAccount(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_SignOutAccount_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).SignOutAccount(ctx, req.(*SignOutAccountRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_ChangeAccountPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ChangeAccountPasswordRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).ChangeAccountPassword(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_ChangeAccountPassword_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).ChangeAccountPassword(ctx, req.(*ChangeAccountPasswordRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_AddPersonalToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddPersonalTokenRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).AddPersonalToken(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_AddPersonalToken_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).AddPersonalToken(ctx, req.(*AddPersonalTokenRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_ListPersonalTokens_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ListPersonalTokensRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).ListPersonalTokens(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_ListPersonalTokens_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).ListPersonalTokens(ctx, req.(*ListPersonalTokensRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_RevokePersonalToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RevokePersonalTokenRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).RevokePersonalToken(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_RevokePersonalToken_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).RevokePersonalToken(ctx, req.(*RevokePersonalTokenRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _AccountService_BindIdentityPersonalToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(BindIdentityPersonalTokenRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(AccountServiceServer).BindIdentityPersonalToken(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: AccountService_BindIdentityPersonalToken_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(AccountServiceServer).BindIdentityPersonalToken(ctx, req.(*BindIdentityPersonalTokenRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
// AccountService_ServiceDesc is the grpc.ServiceDesc for AccountService service.
|
|
// It's only intended for direct use with grpc.RegisterService,
|
|
// and not to be introspected or modified (even as a copy)
|
|
var AccountService_ServiceDesc = grpc.ServiceDesc{
|
|
ServiceName: "state.v1.AccountService",
|
|
HandlerType: (*AccountServiceServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "GetAuthenticationSettings",
|
|
Handler: _AccountService_GetAuthenticationSettings_Handler,
|
|
},
|
|
{
|
|
MethodName: "SaveAuthenticationSettings",
|
|
Handler: _AccountService_SaveAuthenticationSettings_Handler,
|
|
},
|
|
{
|
|
MethodName: "BeginPasskey",
|
|
Handler: _AccountService_BeginPasskey_Handler,
|
|
},
|
|
{
|
|
MethodName: "FinishPasskey",
|
|
Handler: _AccountService_FinishPasskey_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListPasskeys",
|
|
Handler: _AccountService_ListPasskeys_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeletePasskey",
|
|
Handler: _AccountService_DeletePasskey_Handler,
|
|
},
|
|
{
|
|
MethodName: "OpenAccountSession",
|
|
Handler: _AccountService_OpenAccountSession_Handler,
|
|
},
|
|
{
|
|
MethodName: "RequireFreshAccountSession",
|
|
Handler: _AccountService_RequireFreshAccountSession_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateAccountRecovery",
|
|
Handler: _AccountService_CreateAccountRecovery_Handler,
|
|
},
|
|
{
|
|
MethodName: "RecoverAccount",
|
|
Handler: _AccountService_RecoverAccount_Handler,
|
|
},
|
|
{
|
|
MethodName: "AccountSetup",
|
|
Handler: _AccountService_AccountSetup_Handler,
|
|
},
|
|
{
|
|
MethodName: "RegisterAccount",
|
|
Handler: _AccountService_RegisterAccount_Handler,
|
|
},
|
|
{
|
|
MethodName: "SignInAccount",
|
|
Handler: _AccountService_SignInAccount_Handler,
|
|
},
|
|
{
|
|
MethodName: "ResolveAccountSession",
|
|
Handler: _AccountService_ResolveAccountSession_Handler,
|
|
},
|
|
{
|
|
MethodName: "SignOutAccount",
|
|
Handler: _AccountService_SignOutAccount_Handler,
|
|
},
|
|
{
|
|
MethodName: "ChangeAccountPassword",
|
|
Handler: _AccountService_ChangeAccountPassword_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddPersonalToken",
|
|
Handler: _AccountService_AddPersonalToken_Handler,
|
|
},
|
|
{
|
|
MethodName: "ListPersonalTokens",
|
|
Handler: _AccountService_ListPersonalTokens_Handler,
|
|
},
|
|
{
|
|
MethodName: "RevokePersonalToken",
|
|
Handler: _AccountService_RevokePersonalToken_Handler,
|
|
},
|
|
{
|
|
MethodName: "BindIdentityPersonalToken",
|
|
Handler: _AccountService_BindIdentityPersonalToken_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "state/v1/account.proto",
|
|
}
|