One gRPC service per domain in state.v1 (tasks, executions, accounts, identities, packages, captures, bindings, access, orgs, alerts and so on), each with its own server type in staterpc. RPC and message names and numbers are unchanged.
2209 lines
72 KiB
Go
2209 lines
72 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc (unknown)
|
|
// source: state/v1/account.proto
|
|
|
|
package statev1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// PersonalToken identifies a token by the SHA-256 it binds as; the token
|
|
// itself never reaches the State Store.
|
|
type PersonalToken struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PersonalToken) Reset() {
|
|
*x = PersonalToken{}
|
|
mi := &file_state_v1_account_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PersonalToken) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PersonalToken) ProtoMessage() {}
|
|
|
|
func (x *PersonalToken) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PersonalToken.ProtoReflect.Descriptor instead.
|
|
func (*PersonalToken) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *PersonalToken) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PersonalToken) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddPersonalTokenRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddPersonalTokenRequest) Reset() {
|
|
*x = AddPersonalTokenRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddPersonalTokenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddPersonalTokenRequest) ProtoMessage() {}
|
|
|
|
func (x *AddPersonalTokenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddPersonalTokenRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddPersonalTokenRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AddPersonalTokenRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddPersonalTokenResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddPersonalTokenResponse) Reset() {
|
|
*x = AddPersonalTokenResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddPersonalTokenResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddPersonalTokenResponse) ProtoMessage() {}
|
|
|
|
func (x *AddPersonalTokenResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddPersonalTokenResponse.ProtoReflect.Descriptor instead.
|
|
func (*AddPersonalTokenResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type ListPersonalTokensRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPersonalTokensRequest) Reset() {
|
|
*x = ListPersonalTokensRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPersonalTokensRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPersonalTokensRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPersonalTokensRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPersonalTokensRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPersonalTokensRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
type ListPersonalTokensResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Tokens []*PersonalToken `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPersonalTokensResponse) Reset() {
|
|
*x = ListPersonalTokensResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPersonalTokensResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPersonalTokensResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPersonalTokensResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPersonalTokensResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPersonalTokensResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ListPersonalTokensResponse) GetTokens() []*PersonalToken {
|
|
if x != nil {
|
|
return x.Tokens
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RevokePersonalTokenRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RevokePersonalTokenRequest) Reset() {
|
|
*x = RevokePersonalTokenRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RevokePersonalTokenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RevokePersonalTokenRequest) ProtoMessage() {}
|
|
|
|
func (x *RevokePersonalTokenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RevokePersonalTokenRequest.ProtoReflect.Descriptor instead.
|
|
func (*RevokePersonalTokenRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *RevokePersonalTokenRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RevokePersonalTokenResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RevokePersonalTokenResponse) Reset() {
|
|
*x = RevokePersonalTokenResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RevokePersonalTokenResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RevokePersonalTokenResponse) ProtoMessage() {}
|
|
|
|
func (x *RevokePersonalTokenResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RevokePersonalTokenResponse.ProtoReflect.Descriptor instead.
|
|
func (*RevokePersonalTokenResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
type AccountSetupRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccountSetupRequest) Reset() {
|
|
*x = AccountSetupRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccountSetupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccountSetupRequest) ProtoMessage() {}
|
|
|
|
func (x *AccountSetupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountSetupRequest.ProtoReflect.Descriptor instead.
|
|
func (*AccountSetupRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type AccountSetupResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Required bool `protobuf:"varint,1,opt,name=required,proto3" json:"required,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AccountSetupResponse) Reset() {
|
|
*x = AccountSetupResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AccountSetupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AccountSetupResponse) ProtoMessage() {}
|
|
|
|
func (x *AccountSetupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AccountSetupResponse.ProtoReflect.Descriptor instead.
|
|
func (*AccountSetupResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *AccountSetupResponse) GetRequired() bool {
|
|
if x != nil {
|
|
return x.Required
|
|
}
|
|
return false
|
|
}
|
|
|
|
type RegisterAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
|
|
Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
|
|
Bootstrap bool `protobuf:"varint,5,opt,name=bootstrap,proto3" json:"bootstrap,omitempty"`
|
|
OrganisationName string `protobuf:"bytes,6,opt,name=organisation_name,json=organisationName,proto3" json:"organisation_name,omitempty"`
|
|
WorkspaceName string `protobuf:"bytes,7,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"`
|
|
PublicUrl string `protobuf:"bytes,8,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RegisterAccountRequest) Reset() {
|
|
*x = RegisterAccountRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RegisterAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegisterAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *RegisterAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RegisterAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*RegisterAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *RegisterAccountRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterAccountRequest) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterAccountRequest) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterAccountRequest) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterAccountRequest) GetBootstrap() bool {
|
|
if x != nil {
|
|
return x.Bootstrap
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *RegisterAccountRequest) GetOrganisationName() string {
|
|
if x != nil {
|
|
return x.OrganisationName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterAccountRequest) GetWorkspaceName() string {
|
|
if x != nil {
|
|
return x.WorkspaceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RegisterAccountRequest) GetPublicUrl() string {
|
|
if x != nil {
|
|
return x.PublicUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RegisterAccountResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RegisterAccountResponse) Reset() {
|
|
*x = RegisterAccountResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RegisterAccountResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RegisterAccountResponse) ProtoMessage() {}
|
|
|
|
func (x *RegisterAccountResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RegisterAccountResponse.ProtoReflect.Descriptor instead.
|
|
func (*RegisterAccountResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *RegisterAccountResponse) GetIdentity() *Identity {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SignInAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SignInAccountRequest) Reset() {
|
|
*x = SignInAccountRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignInAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignInAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *SignInAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SignInAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*SignInAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *SignInAccountRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SignInAccountRequest) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SignInAccountResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
|
|
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SignInAccountResponse) Reset() {
|
|
*x = SignInAccountResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignInAccountResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignInAccountResponse) ProtoMessage() {}
|
|
|
|
func (x *SignInAccountResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SignInAccountResponse.ProtoReflect.Descriptor instead.
|
|
func (*SignInAccountResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *SignInAccountResponse) GetIdentity() *Identity {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SignInAccountResponse) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SignInAccountResponse) GetExpiresAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ExpiresAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ResolveAccountSessionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResolveAccountSessionRequest) Reset() {
|
|
*x = ResolveAccountSessionRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResolveAccountSessionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResolveAccountSessionRequest) ProtoMessage() {}
|
|
|
|
func (x *ResolveAccountSessionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResolveAccountSessionRequest.ProtoReflect.Descriptor instead.
|
|
func (*ResolveAccountSessionRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ResolveAccountSessionRequest) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ResolveAccountSessionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ResolveAccountSessionResponse) Reset() {
|
|
*x = ResolveAccountSessionResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ResolveAccountSessionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ResolveAccountSessionResponse) ProtoMessage() {}
|
|
|
|
func (x *ResolveAccountSessionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ResolveAccountSessionResponse.ProtoReflect.Descriptor instead.
|
|
func (*ResolveAccountSessionResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *ResolveAccountSessionResponse) GetIdentity() *Identity {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SignOutAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SignOutAccountRequest) Reset() {
|
|
*x = SignOutAccountRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignOutAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignOutAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *SignOutAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SignOutAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*SignOutAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *SignOutAccountRequest) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SignOutAccountResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SignOutAccountResponse) Reset() {
|
|
*x = SignOutAccountResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignOutAccountResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignOutAccountResponse) ProtoMessage() {}
|
|
|
|
func (x *SignOutAccountResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SignOutAccountResponse.ProtoReflect.Descriptor instead.
|
|
func (*SignOutAccountResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
type ChangeAccountPasswordRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CurrentPassword string `protobuf:"bytes,1,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"`
|
|
NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChangeAccountPasswordRequest) Reset() {
|
|
*x = ChangeAccountPasswordRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChangeAccountPasswordRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChangeAccountPasswordRequest) ProtoMessage() {}
|
|
|
|
func (x *ChangeAccountPasswordRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ChangeAccountPasswordRequest.ProtoReflect.Descriptor instead.
|
|
func (*ChangeAccountPasswordRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *ChangeAccountPasswordRequest) GetCurrentPassword() string {
|
|
if x != nil {
|
|
return x.CurrentPassword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChangeAccountPasswordRequest) GetNewPassword() string {
|
|
if x != nil {
|
|
return x.NewPassword
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ChangeAccountPasswordResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ChangeAccountPasswordResponse) Reset() {
|
|
*x = ChangeAccountPasswordResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ChangeAccountPasswordResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChangeAccountPasswordResponse) ProtoMessage() {}
|
|
|
|
func (x *ChangeAccountPasswordResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ChangeAccountPasswordResponse.ProtoReflect.Descriptor instead.
|
|
func (*ChangeAccountPasswordResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
type AuthenticationSettings struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PublicUrl string `protobuf:"bytes,1,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
|
|
OidcIssuer string `protobuf:"bytes,2,opt,name=oidc_issuer,json=oidcIssuer,proto3" json:"oidc_issuer,omitempty"`
|
|
OidcAudience string `protobuf:"bytes,3,opt,name=oidc_audience,json=oidcAudience,proto3" json:"oidc_audience,omitempty"`
|
|
OidcClientId string `protobuf:"bytes,4,opt,name=oidc_client_id,json=oidcClientId,proto3" json:"oidc_client_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AuthenticationSettings) Reset() {
|
|
*x = AuthenticationSettings{}
|
|
mi := &file_state_v1_account_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AuthenticationSettings) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AuthenticationSettings) ProtoMessage() {}
|
|
|
|
func (x *AuthenticationSettings) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AuthenticationSettings.ProtoReflect.Descriptor instead.
|
|
func (*AuthenticationSettings) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *AuthenticationSettings) GetPublicUrl() string {
|
|
if x != nil {
|
|
return x.PublicUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthenticationSettings) GetOidcIssuer() string {
|
|
if x != nil {
|
|
return x.OidcIssuer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthenticationSettings) GetOidcAudience() string {
|
|
if x != nil {
|
|
return x.OidcAudience
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AuthenticationSettings) GetOidcClientId() string {
|
|
if x != nil {
|
|
return x.OidcClientId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetAuthenticationSettingsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAuthenticationSettingsRequest) Reset() {
|
|
*x = GetAuthenticationSettingsRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAuthenticationSettingsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAuthenticationSettingsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetAuthenticationSettingsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAuthenticationSettingsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetAuthenticationSettingsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
type GetAuthenticationSettingsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Settings *AuthenticationSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetAuthenticationSettingsResponse) Reset() {
|
|
*x = GetAuthenticationSettingsResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetAuthenticationSettingsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAuthenticationSettingsResponse) ProtoMessage() {}
|
|
|
|
func (x *GetAuthenticationSettingsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAuthenticationSettingsResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetAuthenticationSettingsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *GetAuthenticationSettingsResponse) GetSettings() *AuthenticationSettings {
|
|
if x != nil {
|
|
return x.Settings
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SaveAuthenticationSettingsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Settings *AuthenticationSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveAuthenticationSettingsRequest) Reset() {
|
|
*x = SaveAuthenticationSettingsRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveAuthenticationSettingsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveAuthenticationSettingsRequest) ProtoMessage() {}
|
|
|
|
func (x *SaveAuthenticationSettingsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveAuthenticationSettingsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SaveAuthenticationSettingsRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *SaveAuthenticationSettingsRequest) GetSettings() *AuthenticationSettings {
|
|
if x != nil {
|
|
return x.Settings
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SaveAuthenticationSettingsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveAuthenticationSettingsResponse) Reset() {
|
|
*x = SaveAuthenticationSettingsResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveAuthenticationSettingsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveAuthenticationSettingsResponse) ProtoMessage() {}
|
|
|
|
func (x *SaveAuthenticationSettingsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveAuthenticationSettingsResponse.ProtoReflect.Descriptor instead.
|
|
func (*SaveAuthenticationSettingsResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
type BeginPasskeyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Registration bool `protobuf:"varint,1,opt,name=registration,proto3" json:"registration,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BeginPasskeyRequest) Reset() {
|
|
*x = BeginPasskeyRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BeginPasskeyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BeginPasskeyRequest) ProtoMessage() {}
|
|
|
|
func (x *BeginPasskeyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BeginPasskeyRequest.ProtoReflect.Descriptor instead.
|
|
func (*BeginPasskeyRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *BeginPasskeyRequest) GetRegistration() bool {
|
|
if x != nil {
|
|
return x.Registration
|
|
}
|
|
return false
|
|
}
|
|
|
|
type BeginPasskeyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
Options []byte `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *BeginPasskeyResponse) Reset() {
|
|
*x = BeginPasskeyResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *BeginPasskeyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BeginPasskeyResponse) ProtoMessage() {}
|
|
|
|
func (x *BeginPasskeyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BeginPasskeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*BeginPasskeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *BeginPasskeyResponse) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BeginPasskeyResponse) GetOptions() []byte {
|
|
if x != nil {
|
|
return x.Options
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FinishPasskeyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
Credential []byte `protobuf:"bytes,2,opt,name=credential,proto3" json:"credential,omitempty"`
|
|
Registration bool `protobuf:"varint,3,opt,name=registration,proto3" json:"registration,omitempty"`
|
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FinishPasskeyRequest) Reset() {
|
|
*x = FinishPasskeyRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FinishPasskeyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FinishPasskeyRequest) ProtoMessage() {}
|
|
|
|
func (x *FinishPasskeyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FinishPasskeyRequest.ProtoReflect.Descriptor instead.
|
|
func (*FinishPasskeyRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *FinishPasskeyRequest) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FinishPasskeyRequest) GetCredential() []byte {
|
|
if x != nil {
|
|
return x.Credential
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FinishPasskeyRequest) GetRegistration() bool {
|
|
if x != nil {
|
|
return x.Registration
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *FinishPasskeyRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type FinishPasskeyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
|
|
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FinishPasskeyResponse) Reset() {
|
|
*x = FinishPasskeyResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FinishPasskeyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FinishPasskeyResponse) ProtoMessage() {}
|
|
|
|
func (x *FinishPasskeyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FinishPasskeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*FinishPasskeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *FinishPasskeyResponse) GetIdentity() *Identity {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FinishPasskeyResponse) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FinishPasskeyResponse) GetExpiresAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ExpiresAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Passkey struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Passkey) Reset() {
|
|
*x = Passkey{}
|
|
mi := &file_state_v1_account_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Passkey) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Passkey) ProtoMessage() {}
|
|
|
|
func (x *Passkey) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Passkey.ProtoReflect.Descriptor instead.
|
|
func (*Passkey) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *Passkey) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Passkey) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListPasskeysRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPasskeysRequest) Reset() {
|
|
*x = ListPasskeysRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPasskeysRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPasskeysRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPasskeysRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPasskeysRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPasskeysRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
type ListPasskeysResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Passkeys []*Passkey `protobuf:"bytes,1,rep,name=passkeys,proto3" json:"passkeys,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPasskeysResponse) Reset() {
|
|
*x = ListPasskeysResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPasskeysResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPasskeysResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPasskeysResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListPasskeysResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPasskeysResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *ListPasskeysResponse) GetPasskeys() []*Passkey {
|
|
if x != nil {
|
|
return x.Passkeys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeletePasskeyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePasskeyRequest) Reset() {
|
|
*x = DeletePasskeyRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePasskeyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePasskeyRequest) ProtoMessage() {}
|
|
|
|
func (x *DeletePasskeyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePasskeyRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeletePasskeyRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *DeletePasskeyRequest) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeletePasskeyResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeletePasskeyResponse) Reset() {
|
|
*x = DeletePasskeyResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeletePasskeyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePasskeyResponse) ProtoMessage() {}
|
|
|
|
func (x *DeletePasskeyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeletePasskeyResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeletePasskeyResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
type OpenAccountSessionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OpenAccountSessionRequest) Reset() {
|
|
*x = OpenAccountSessionRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OpenAccountSessionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OpenAccountSessionRequest) ProtoMessage() {}
|
|
|
|
func (x *OpenAccountSessionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OpenAccountSessionRequest.ProtoReflect.Descriptor instead.
|
|
func (*OpenAccountSessionRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *OpenAccountSessionRequest) GetExpiresAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ExpiresAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OpenAccountSessionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity *Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
|
|
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OpenAccountSessionResponse) Reset() {
|
|
*x = OpenAccountSessionResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OpenAccountSessionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OpenAccountSessionResponse) ProtoMessage() {}
|
|
|
|
func (x *OpenAccountSessionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OpenAccountSessionResponse.ProtoReflect.Descriptor instead.
|
|
func (*OpenAccountSessionResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *OpenAccountSessionResponse) GetIdentity() *Identity {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OpenAccountSessionResponse) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OpenAccountSessionResponse) GetExpiresAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ExpiresAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RequireFreshAccountSessionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RequireFreshAccountSessionRequest) Reset() {
|
|
*x = RequireFreshAccountSessionRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RequireFreshAccountSessionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RequireFreshAccountSessionRequest) ProtoMessage() {}
|
|
|
|
func (x *RequireFreshAccountSessionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RequireFreshAccountSessionRequest.ProtoReflect.Descriptor instead.
|
|
func (*RequireFreshAccountSessionRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *RequireFreshAccountSessionRequest) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RequireFreshAccountSessionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RequireFreshAccountSessionResponse) Reset() {
|
|
*x = RequireFreshAccountSessionResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RequireFreshAccountSessionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RequireFreshAccountSessionResponse) ProtoMessage() {}
|
|
|
|
func (x *RequireFreshAccountSessionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RequireFreshAccountSessionResponse.ProtoReflect.Descriptor instead.
|
|
func (*RequireFreshAccountSessionResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
type CreateAccountRecoveryRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateAccountRecoveryRequest) Reset() {
|
|
*x = CreateAccountRecoveryRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateAccountRecoveryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateAccountRecoveryRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateAccountRecoveryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateAccountRecoveryRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateAccountRecoveryRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
type CreateAccountRecoveryResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateAccountRecoveryResponse) Reset() {
|
|
*x = CreateAccountRecoveryResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateAccountRecoveryResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateAccountRecoveryResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateAccountRecoveryResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateAccountRecoveryResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateAccountRecoveryResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *CreateAccountRecoveryResponse) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RecoverAccountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecoverAccountRequest) Reset() {
|
|
*x = RecoverAccountRequest{}
|
|
mi := &file_state_v1_account_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecoverAccountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecoverAccountRequest) ProtoMessage() {}
|
|
|
|
func (x *RecoverAccountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecoverAccountRequest.ProtoReflect.Descriptor instead.
|
|
func (*RecoverAccountRequest) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *RecoverAccountRequest) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RecoverAccountRequest) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RecoverAccountRequest) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RecoverAccountResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecoverAccountResponse) Reset() {
|
|
*x = RecoverAccountResponse{}
|
|
mi := &file_state_v1_account_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecoverAccountResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecoverAccountResponse) ProtoMessage() {}
|
|
|
|
func (x *RecoverAccountResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_state_v1_account_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecoverAccountResponse.ProtoReflect.Descriptor instead.
|
|
func (*RecoverAccountResponse) Descriptor() ([]byte, []int) {
|
|
return file_state_v1_account_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
var File_state_v1_account_proto protoreflect.FileDescriptor
|
|
|
|
const file_state_v1_account_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x16state/v1/account.proto\x12\bstate.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14state/v1/types.proto\"Z\n" +
|
|
"\rPersonalToken\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\")\n" +
|
|
"\x17AddPersonalTokenRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"\x1a\n" +
|
|
"\x18AddPersonalTokenResponse\"\x1b\n" +
|
|
"\x19ListPersonalTokensRequest\"M\n" +
|
|
"\x1aListPersonalTokensResponse\x12/\n" +
|
|
"\x06tokens\x18\x01 \x03(\v2\x17.state.v1.PersonalTokenR\x06tokens\",\n" +
|
|
"\x1aRevokePersonalTokenRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"\x1d\n" +
|
|
"\x1bRevokePersonalTokenResponse\"\x15\n" +
|
|
"\x13AccountSetupRequest\"2\n" +
|
|
"\x14AccountSetupResponse\x12\x1a\n" +
|
|
"\brequired\x18\x01 \x01(\bR\brequired\"\x92\x02\n" +
|
|
"\x16RegisterAccountRequest\x12\x14\n" +
|
|
"\x05email\x18\x01 \x01(\tR\x05email\x12!\n" +
|
|
"\fdisplay_name\x18\x02 \x01(\tR\vdisplayName\x12\x1a\n" +
|
|
"\bpassword\x18\x03 \x01(\tR\bpassword\x12\x12\n" +
|
|
"\x04role\x18\x04 \x01(\tR\x04role\x12\x1c\n" +
|
|
"\tbootstrap\x18\x05 \x01(\bR\tbootstrap\x12+\n" +
|
|
"\x11organisation_name\x18\x06 \x01(\tR\x10organisationName\x12%\n" +
|
|
"\x0eworkspace_name\x18\a \x01(\tR\rworkspaceName\x12\x1d\n" +
|
|
"\n" +
|
|
"public_url\x18\b \x01(\tR\tpublicUrl\"I\n" +
|
|
"\x17RegisterAccountResponse\x12.\n" +
|
|
"\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"H\n" +
|
|
"\x14SignInAccountRequest\x12\x14\n" +
|
|
"\x05email\x18\x01 \x01(\tR\x05email\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\"\x98\x01\n" +
|
|
"\x15SignInAccountResponse\x12.\n" +
|
|
"\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\x12\x14\n" +
|
|
"\x05token\x18\x02 \x01(\tR\x05token\x129\n" +
|
|
"\n" +
|
|
"expires_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\"4\n" +
|
|
"\x1cResolveAccountSessionRequest\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\"O\n" +
|
|
"\x1dResolveAccountSessionResponse\x12.\n" +
|
|
"\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\"-\n" +
|
|
"\x15SignOutAccountRequest\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\"\x18\n" +
|
|
"\x16SignOutAccountResponse\"l\n" +
|
|
"\x1cChangeAccountPasswordRequest\x12)\n" +
|
|
"\x10current_password\x18\x01 \x01(\tR\x0fcurrentPassword\x12!\n" +
|
|
"\fnew_password\x18\x02 \x01(\tR\vnewPassword\"\x1f\n" +
|
|
"\x1dChangeAccountPasswordResponse\"\xa3\x01\n" +
|
|
"\x16AuthenticationSettings\x12\x1d\n" +
|
|
"\n" +
|
|
"public_url\x18\x01 \x01(\tR\tpublicUrl\x12\x1f\n" +
|
|
"\voidc_issuer\x18\x02 \x01(\tR\n" +
|
|
"oidcIssuer\x12#\n" +
|
|
"\roidc_audience\x18\x03 \x01(\tR\foidcAudience\x12$\n" +
|
|
"\x0eoidc_client_id\x18\x04 \x01(\tR\foidcClientId\"\"\n" +
|
|
" GetAuthenticationSettingsRequest\"a\n" +
|
|
"!GetAuthenticationSettingsResponse\x12<\n" +
|
|
"\bsettings\x18\x01 \x01(\v2 .state.v1.AuthenticationSettingsR\bsettings\"a\n" +
|
|
"!SaveAuthenticationSettingsRequest\x12<\n" +
|
|
"\bsettings\x18\x01 \x01(\v2 .state.v1.AuthenticationSettingsR\bsettings\"$\n" +
|
|
"\"SaveAuthenticationSettingsResponse\"9\n" +
|
|
"\x13BeginPasskeyRequest\x12\"\n" +
|
|
"\fregistration\x18\x01 \x01(\bR\fregistration\"F\n" +
|
|
"\x14BeginPasskeyResponse\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\x12\x18\n" +
|
|
"\aoptions\x18\x02 \x01(\fR\aoptions\"\x84\x01\n" +
|
|
"\x14FinishPasskeyRequest\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\x12\x1e\n" +
|
|
"\n" +
|
|
"credential\x18\x02 \x01(\fR\n" +
|
|
"credential\x12\"\n" +
|
|
"\fregistration\x18\x03 \x01(\bR\fregistration\x12\x12\n" +
|
|
"\x04name\x18\x04 \x01(\tR\x04name\"\x98\x01\n" +
|
|
"\x15FinishPasskeyResponse\x12.\n" +
|
|
"\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\x12\x14\n" +
|
|
"\x05token\x18\x02 \x01(\tR\x05token\x129\n" +
|
|
"\n" +
|
|
"expires_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\"-\n" +
|
|
"\aPasskey\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"\x15\n" +
|
|
"\x13ListPasskeysRequest\"E\n" +
|
|
"\x14ListPasskeysResponse\x12-\n" +
|
|
"\bpasskeys\x18\x01 \x03(\v2\x11.state.v1.PasskeyR\bpasskeys\"&\n" +
|
|
"\x14DeletePasskeyRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\"\x17\n" +
|
|
"\x15DeletePasskeyResponse\"V\n" +
|
|
"\x19OpenAccountSessionRequest\x129\n" +
|
|
"\n" +
|
|
"expires_at\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\"\x9d\x01\n" +
|
|
"\x1aOpenAccountSessionResponse\x12.\n" +
|
|
"\bidentity\x18\x01 \x01(\v2\x12.state.v1.IdentityR\bidentity\x12\x14\n" +
|
|
"\x05token\x18\x02 \x01(\tR\x05token\x129\n" +
|
|
"\n" +
|
|
"expires_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\texpiresAt\"9\n" +
|
|
"!RequireFreshAccountSessionRequest\x12\x14\n" +
|
|
"\x05token\x18\x01 \x01(\tR\x05token\"$\n" +
|
|
"\"RequireFreshAccountSessionResponse\"\x1e\n" +
|
|
"\x1cCreateAccountRecoveryRequest\"3\n" +
|
|
"\x1dCreateAccountRecoveryResponse\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\"]\n" +
|
|
"\x15RecoverAccountRequest\x12\x14\n" +
|
|
"\x05email\x18\x01 \x01(\tR\x05email\x12\x12\n" +
|
|
"\x04code\x18\x02 \x01(\tR\x04code\x12\x1a\n" +
|
|
"\bpassword\x18\x03 \x01(\tR\bpassword\"\x18\n" +
|
|
"\x16RecoverAccountResponse2\x9c\x0e\n" +
|
|
"\x0eAccountService\x12t\n" +
|
|
"\x19GetAuthenticationSettings\x12*.state.v1.GetAuthenticationSettingsRequest\x1a+.state.v1.GetAuthenticationSettingsResponse\x12w\n" +
|
|
"\x1aSaveAuthenticationSettings\x12+.state.v1.SaveAuthenticationSettingsRequest\x1a,.state.v1.SaveAuthenticationSettingsResponse\x12M\n" +
|
|
"\fBeginPasskey\x12\x1d.state.v1.BeginPasskeyRequest\x1a\x1e.state.v1.BeginPasskeyResponse\x12P\n" +
|
|
"\rFinishPasskey\x12\x1e.state.v1.FinishPasskeyRequest\x1a\x1f.state.v1.FinishPasskeyResponse\x12M\n" +
|
|
"\fListPasskeys\x12\x1d.state.v1.ListPasskeysRequest\x1a\x1e.state.v1.ListPasskeysResponse\x12P\n" +
|
|
"\rDeletePasskey\x12\x1e.state.v1.DeletePasskeyRequest\x1a\x1f.state.v1.DeletePasskeyResponse\x12_\n" +
|
|
"\x12OpenAccountSession\x12#.state.v1.OpenAccountSessionRequest\x1a$.state.v1.OpenAccountSessionResponse\x12w\n" +
|
|
"\x1aRequireFreshAccountSession\x12+.state.v1.RequireFreshAccountSessionRequest\x1a,.state.v1.RequireFreshAccountSessionResponse\x12h\n" +
|
|
"\x15CreateAccountRecovery\x12&.state.v1.CreateAccountRecoveryRequest\x1a'.state.v1.CreateAccountRecoveryResponse\x12S\n" +
|
|
"\x0eRecoverAccount\x12\x1f.state.v1.RecoverAccountRequest\x1a .state.v1.RecoverAccountResponse\x12M\n" +
|
|
"\fAccountSetup\x12\x1d.state.v1.AccountSetupRequest\x1a\x1e.state.v1.AccountSetupResponse\x12V\n" +
|
|
"\x0fRegisterAccount\x12 .state.v1.RegisterAccountRequest\x1a!.state.v1.RegisterAccountResponse\x12P\n" +
|
|
"\rSignInAccount\x12\x1e.state.v1.SignInAccountRequest\x1a\x1f.state.v1.SignInAccountResponse\x12h\n" +
|
|
"\x15ResolveAccountSession\x12&.state.v1.ResolveAccountSessionRequest\x1a'.state.v1.ResolveAccountSessionResponse\x12S\n" +
|
|
"\x0eSignOutAccount\x12\x1f.state.v1.SignOutAccountRequest\x1a .state.v1.SignOutAccountResponse\x12h\n" +
|
|
"\x15ChangeAccountPassword\x12&.state.v1.ChangeAccountPasswordRequest\x1a'.state.v1.ChangeAccountPasswordResponse\x12Y\n" +
|
|
"\x10AddPersonalToken\x12!.state.v1.AddPersonalTokenRequest\x1a\".state.v1.AddPersonalTokenResponse\x12_\n" +
|
|
"\x12ListPersonalTokens\x12#.state.v1.ListPersonalTokensRequest\x1a$.state.v1.ListPersonalTokensResponse\x12b\n" +
|
|
"\x13RevokePersonalToken\x12$.state.v1.RevokePersonalTokenRequest\x1a%.state.v1.RevokePersonalTokenResponseB\xa6\x01\n" +
|
|
"\fcom.state.v1B\fAccountProtoP\x01ZGgithub.com/samcharles93/archie-core/internal/contracts/state/v1;statev1\xa2\x02\x03SXX\xaa\x02\bState.V1\xca\x02\bState\\V1\xe2\x02\x14State\\V1\\GPBMetadata\xea\x02\tState::V1b\x06proto3"
|
|
|
|
var (
|
|
file_state_v1_account_proto_rawDescOnce sync.Once
|
|
file_state_v1_account_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_state_v1_account_proto_rawDescGZIP() []byte {
|
|
file_state_v1_account_proto_rawDescOnce.Do(func() {
|
|
file_state_v1_account_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_state_v1_account_proto_rawDesc), len(file_state_v1_account_proto_rawDesc)))
|
|
})
|
|
return file_state_v1_account_proto_rawDescData
|
|
}
|
|
|
|
var file_state_v1_account_proto_msgTypes = make([]protoimpl.MessageInfo, 41)
|
|
var file_state_v1_account_proto_goTypes = []any{
|
|
(*PersonalToken)(nil), // 0: state.v1.PersonalToken
|
|
(*AddPersonalTokenRequest)(nil), // 1: state.v1.AddPersonalTokenRequest
|
|
(*AddPersonalTokenResponse)(nil), // 2: state.v1.AddPersonalTokenResponse
|
|
(*ListPersonalTokensRequest)(nil), // 3: state.v1.ListPersonalTokensRequest
|
|
(*ListPersonalTokensResponse)(nil), // 4: state.v1.ListPersonalTokensResponse
|
|
(*RevokePersonalTokenRequest)(nil), // 5: state.v1.RevokePersonalTokenRequest
|
|
(*RevokePersonalTokenResponse)(nil), // 6: state.v1.RevokePersonalTokenResponse
|
|
(*AccountSetupRequest)(nil), // 7: state.v1.AccountSetupRequest
|
|
(*AccountSetupResponse)(nil), // 8: state.v1.AccountSetupResponse
|
|
(*RegisterAccountRequest)(nil), // 9: state.v1.RegisterAccountRequest
|
|
(*RegisterAccountResponse)(nil), // 10: state.v1.RegisterAccountResponse
|
|
(*SignInAccountRequest)(nil), // 11: state.v1.SignInAccountRequest
|
|
(*SignInAccountResponse)(nil), // 12: state.v1.SignInAccountResponse
|
|
(*ResolveAccountSessionRequest)(nil), // 13: state.v1.ResolveAccountSessionRequest
|
|
(*ResolveAccountSessionResponse)(nil), // 14: state.v1.ResolveAccountSessionResponse
|
|
(*SignOutAccountRequest)(nil), // 15: state.v1.SignOutAccountRequest
|
|
(*SignOutAccountResponse)(nil), // 16: state.v1.SignOutAccountResponse
|
|
(*ChangeAccountPasswordRequest)(nil), // 17: state.v1.ChangeAccountPasswordRequest
|
|
(*ChangeAccountPasswordResponse)(nil), // 18: state.v1.ChangeAccountPasswordResponse
|
|
(*AuthenticationSettings)(nil), // 19: state.v1.AuthenticationSettings
|
|
(*GetAuthenticationSettingsRequest)(nil), // 20: state.v1.GetAuthenticationSettingsRequest
|
|
(*GetAuthenticationSettingsResponse)(nil), // 21: state.v1.GetAuthenticationSettingsResponse
|
|
(*SaveAuthenticationSettingsRequest)(nil), // 22: state.v1.SaveAuthenticationSettingsRequest
|
|
(*SaveAuthenticationSettingsResponse)(nil), // 23: state.v1.SaveAuthenticationSettingsResponse
|
|
(*BeginPasskeyRequest)(nil), // 24: state.v1.BeginPasskeyRequest
|
|
(*BeginPasskeyResponse)(nil), // 25: state.v1.BeginPasskeyResponse
|
|
(*FinishPasskeyRequest)(nil), // 26: state.v1.FinishPasskeyRequest
|
|
(*FinishPasskeyResponse)(nil), // 27: state.v1.FinishPasskeyResponse
|
|
(*Passkey)(nil), // 28: state.v1.Passkey
|
|
(*ListPasskeysRequest)(nil), // 29: state.v1.ListPasskeysRequest
|
|
(*ListPasskeysResponse)(nil), // 30: state.v1.ListPasskeysResponse
|
|
(*DeletePasskeyRequest)(nil), // 31: state.v1.DeletePasskeyRequest
|
|
(*DeletePasskeyResponse)(nil), // 32: state.v1.DeletePasskeyResponse
|
|
(*OpenAccountSessionRequest)(nil), // 33: state.v1.OpenAccountSessionRequest
|
|
(*OpenAccountSessionResponse)(nil), // 34: state.v1.OpenAccountSessionResponse
|
|
(*RequireFreshAccountSessionRequest)(nil), // 35: state.v1.RequireFreshAccountSessionRequest
|
|
(*RequireFreshAccountSessionResponse)(nil), // 36: state.v1.RequireFreshAccountSessionResponse
|
|
(*CreateAccountRecoveryRequest)(nil), // 37: state.v1.CreateAccountRecoveryRequest
|
|
(*CreateAccountRecoveryResponse)(nil), // 38: state.v1.CreateAccountRecoveryResponse
|
|
(*RecoverAccountRequest)(nil), // 39: state.v1.RecoverAccountRequest
|
|
(*RecoverAccountResponse)(nil), // 40: state.v1.RecoverAccountResponse
|
|
(*timestamppb.Timestamp)(nil), // 41: google.protobuf.Timestamp
|
|
(*Identity)(nil), // 42: state.v1.Identity
|
|
}
|
|
var file_state_v1_account_proto_depIdxs = []int32{
|
|
41, // 0: state.v1.PersonalToken.created_at:type_name -> google.protobuf.Timestamp
|
|
0, // 1: state.v1.ListPersonalTokensResponse.tokens:type_name -> state.v1.PersonalToken
|
|
42, // 2: state.v1.RegisterAccountResponse.identity:type_name -> state.v1.Identity
|
|
42, // 3: state.v1.SignInAccountResponse.identity:type_name -> state.v1.Identity
|
|
41, // 4: state.v1.SignInAccountResponse.expires_at:type_name -> google.protobuf.Timestamp
|
|
42, // 5: state.v1.ResolveAccountSessionResponse.identity:type_name -> state.v1.Identity
|
|
19, // 6: state.v1.GetAuthenticationSettingsResponse.settings:type_name -> state.v1.AuthenticationSettings
|
|
19, // 7: state.v1.SaveAuthenticationSettingsRequest.settings:type_name -> state.v1.AuthenticationSettings
|
|
42, // 8: state.v1.FinishPasskeyResponse.identity:type_name -> state.v1.Identity
|
|
41, // 9: state.v1.FinishPasskeyResponse.expires_at:type_name -> google.protobuf.Timestamp
|
|
28, // 10: state.v1.ListPasskeysResponse.passkeys:type_name -> state.v1.Passkey
|
|
41, // 11: state.v1.OpenAccountSessionRequest.expires_at:type_name -> google.protobuf.Timestamp
|
|
42, // 12: state.v1.OpenAccountSessionResponse.identity:type_name -> state.v1.Identity
|
|
41, // 13: state.v1.OpenAccountSessionResponse.expires_at:type_name -> google.protobuf.Timestamp
|
|
20, // 14: state.v1.AccountService.GetAuthenticationSettings:input_type -> state.v1.GetAuthenticationSettingsRequest
|
|
22, // 15: state.v1.AccountService.SaveAuthenticationSettings:input_type -> state.v1.SaveAuthenticationSettingsRequest
|
|
24, // 16: state.v1.AccountService.BeginPasskey:input_type -> state.v1.BeginPasskeyRequest
|
|
26, // 17: state.v1.AccountService.FinishPasskey:input_type -> state.v1.FinishPasskeyRequest
|
|
29, // 18: state.v1.AccountService.ListPasskeys:input_type -> state.v1.ListPasskeysRequest
|
|
31, // 19: state.v1.AccountService.DeletePasskey:input_type -> state.v1.DeletePasskeyRequest
|
|
33, // 20: state.v1.AccountService.OpenAccountSession:input_type -> state.v1.OpenAccountSessionRequest
|
|
35, // 21: state.v1.AccountService.RequireFreshAccountSession:input_type -> state.v1.RequireFreshAccountSessionRequest
|
|
37, // 22: state.v1.AccountService.CreateAccountRecovery:input_type -> state.v1.CreateAccountRecoveryRequest
|
|
39, // 23: state.v1.AccountService.RecoverAccount:input_type -> state.v1.RecoverAccountRequest
|
|
7, // 24: state.v1.AccountService.AccountSetup:input_type -> state.v1.AccountSetupRequest
|
|
9, // 25: state.v1.AccountService.RegisterAccount:input_type -> state.v1.RegisterAccountRequest
|
|
11, // 26: state.v1.AccountService.SignInAccount:input_type -> state.v1.SignInAccountRequest
|
|
13, // 27: state.v1.AccountService.ResolveAccountSession:input_type -> state.v1.ResolveAccountSessionRequest
|
|
15, // 28: state.v1.AccountService.SignOutAccount:input_type -> state.v1.SignOutAccountRequest
|
|
17, // 29: state.v1.AccountService.ChangeAccountPassword:input_type -> state.v1.ChangeAccountPasswordRequest
|
|
1, // 30: state.v1.AccountService.AddPersonalToken:input_type -> state.v1.AddPersonalTokenRequest
|
|
3, // 31: state.v1.AccountService.ListPersonalTokens:input_type -> state.v1.ListPersonalTokensRequest
|
|
5, // 32: state.v1.AccountService.RevokePersonalToken:input_type -> state.v1.RevokePersonalTokenRequest
|
|
21, // 33: state.v1.AccountService.GetAuthenticationSettings:output_type -> state.v1.GetAuthenticationSettingsResponse
|
|
23, // 34: state.v1.AccountService.SaveAuthenticationSettings:output_type -> state.v1.SaveAuthenticationSettingsResponse
|
|
25, // 35: state.v1.AccountService.BeginPasskey:output_type -> state.v1.BeginPasskeyResponse
|
|
27, // 36: state.v1.AccountService.FinishPasskey:output_type -> state.v1.FinishPasskeyResponse
|
|
30, // 37: state.v1.AccountService.ListPasskeys:output_type -> state.v1.ListPasskeysResponse
|
|
32, // 38: state.v1.AccountService.DeletePasskey:output_type -> state.v1.DeletePasskeyResponse
|
|
34, // 39: state.v1.AccountService.OpenAccountSession:output_type -> state.v1.OpenAccountSessionResponse
|
|
36, // 40: state.v1.AccountService.RequireFreshAccountSession:output_type -> state.v1.RequireFreshAccountSessionResponse
|
|
38, // 41: state.v1.AccountService.CreateAccountRecovery:output_type -> state.v1.CreateAccountRecoveryResponse
|
|
40, // 42: state.v1.AccountService.RecoverAccount:output_type -> state.v1.RecoverAccountResponse
|
|
8, // 43: state.v1.AccountService.AccountSetup:output_type -> state.v1.AccountSetupResponse
|
|
10, // 44: state.v1.AccountService.RegisterAccount:output_type -> state.v1.RegisterAccountResponse
|
|
12, // 45: state.v1.AccountService.SignInAccount:output_type -> state.v1.SignInAccountResponse
|
|
14, // 46: state.v1.AccountService.ResolveAccountSession:output_type -> state.v1.ResolveAccountSessionResponse
|
|
16, // 47: state.v1.AccountService.SignOutAccount:output_type -> state.v1.SignOutAccountResponse
|
|
18, // 48: state.v1.AccountService.ChangeAccountPassword:output_type -> state.v1.ChangeAccountPasswordResponse
|
|
2, // 49: state.v1.AccountService.AddPersonalToken:output_type -> state.v1.AddPersonalTokenResponse
|
|
4, // 50: state.v1.AccountService.ListPersonalTokens:output_type -> state.v1.ListPersonalTokensResponse
|
|
6, // 51: state.v1.AccountService.RevokePersonalToken:output_type -> state.v1.RevokePersonalTokenResponse
|
|
33, // [33:52] is the sub-list for method output_type
|
|
14, // [14:33] is the sub-list for method input_type
|
|
14, // [14:14] is the sub-list for extension type_name
|
|
14, // [14:14] is the sub-list for extension extendee
|
|
0, // [0:14] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_state_v1_account_proto_init() }
|
|
func file_state_v1_account_proto_init() {
|
|
if File_state_v1_account_proto != nil {
|
|
return
|
|
}
|
|
file_state_v1_types_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_state_v1_account_proto_rawDesc), len(file_state_v1_account_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 41,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_state_v1_account_proto_goTypes,
|
|
DependencyIndexes: file_state_v1_account_proto_depIdxs,
|
|
MessageInfos: file_state_v1_account_proto_msgTypes,
|
|
}.Build()
|
|
File_state_v1_account_proto = out.File
|
|
file_state_v1_account_proto_goTypes = nil
|
|
file_state_v1_account_proto_depIdxs = nil
|
|
}
|