From 2d273bd5cb63d7340d71b9a11bdcce0118e4fb00 Mon Sep 17 00:00:00 2001 From: Kaleb Scholes Date: Thu, 19 Oct 2023 04:08:56 -0700 Subject: [PATCH] feat: add v2beta endpoints (#258) Added more v2beta endpoints: oidc/org/settings/user --- build/zitadel/Dockerfile | 6 +- build/zitadel/generate-grpc-client.sh | 18 + pkg/client/oidc/v2beta/client.go | 24 + pkg/client/org/v2beta/client.go | 24 + pkg/client/settings/v2beta/client.go | 24 + pkg/client/user/v2beta/client.go | 24 + .../zitadel/oidc/v2beta/authorization.pb.go | 637 ++ .../zitadel/oidc/v2beta/oidc_service.pb.go | 707 +++ .../oidc/v2beta/oidc_service_grpc.pb.go | 137 + .../zitadel/org/v2beta/org_service.pb.go | 589 ++ .../zitadel/org/v2beta/org_service_grpc.pb.go | 103 + .../settings/v2beta/branding_settings.pb.go | 389 ++ .../settings/v2beta/domain_settings.pb.go | 225 + .../settings/v2beta/legal_settings.pb.go | 228 + .../settings/v2beta/lockout_settings.pb.go | 194 + .../settings/v2beta/login_settings.pb.go | 876 +++ .../settings/v2beta/password_settings.pb.go | 241 + .../zitadel/settings/v2beta/settings.pb.go | 145 + .../settings/v2beta/settings_service.pb.go | 1551 +++++ .../v2beta/settings_service_grpc.pb.go | 369 ++ pkg/client/zitadel/user/v2beta/auth.pb.go | 378 ++ pkg/client/zitadel/user/v2beta/email.pb.go | 378 ++ pkg/client/zitadel/user/v2beta/idp.pb.go | 872 +++ pkg/client/zitadel/user/v2beta/password.pb.go | 461 ++ pkg/client/zitadel/user/v2beta/phone.pb.go | 343 ++ pkg/client/zitadel/user/v2beta/user.pb.go | 429 ++ .../zitadel/user/v2beta/user_service.pb.go | 5105 +++++++++++++++++ .../user/v2beta/user_service_grpc.pb.go | 877 +++ 28 files changed, 15353 insertions(+), 1 deletion(-) create mode 100644 pkg/client/oidc/v2beta/client.go create mode 100644 pkg/client/org/v2beta/client.go create mode 100644 pkg/client/settings/v2beta/client.go create mode 100644 pkg/client/user/v2beta/client.go create mode 100644 pkg/client/zitadel/oidc/v2beta/authorization.pb.go create mode 100644 pkg/client/zitadel/oidc/v2beta/oidc_service.pb.go create mode 100644 pkg/client/zitadel/oidc/v2beta/oidc_service_grpc.pb.go create mode 100644 pkg/client/zitadel/org/v2beta/org_service.pb.go create mode 100644 pkg/client/zitadel/org/v2beta/org_service_grpc.pb.go create mode 100644 pkg/client/zitadel/settings/v2beta/branding_settings.pb.go create mode 100644 pkg/client/zitadel/settings/v2beta/domain_settings.pb.go create mode 100644 pkg/client/zitadel/settings/v2beta/legal_settings.pb.go create mode 100644 pkg/client/zitadel/settings/v2beta/lockout_settings.pb.go create mode 100644 pkg/client/zitadel/settings/v2beta/login_settings.pb.go create mode 100644 pkg/client/zitadel/settings/v2beta/password_settings.pb.go create mode 100644 pkg/client/zitadel/settings/v2beta/settings.pb.go create mode 100644 pkg/client/zitadel/settings/v2beta/settings_service.pb.go create mode 100644 pkg/client/zitadel/settings/v2beta/settings_service_grpc.pb.go create mode 100644 pkg/client/zitadel/user/v2beta/auth.pb.go create mode 100644 pkg/client/zitadel/user/v2beta/email.pb.go create mode 100644 pkg/client/zitadel/user/v2beta/idp.pb.go create mode 100644 pkg/client/zitadel/user/v2beta/password.pb.go create mode 100644 pkg/client/zitadel/user/v2beta/phone.pb.go create mode 100644 pkg/client/zitadel/user/v2beta/user.pb.go create mode 100644 pkg/client/zitadel/user/v2beta/user_service.pb.go create mode 100644 pkg/client/zitadel/user/v2beta/user_service_grpc.pb.go diff --git a/build/zitadel/Dockerfile b/build/zitadel/Dockerfile index fc4ebe3..ae27812 100644 --- a/build/zitadel/Dockerfile +++ b/build/zitadel/Dockerfile @@ -75,7 +75,11 @@ RUN ./build/zitadel/generate-grpc-client.sh ${PROJECT_PATH} \ && mv /go/src/github.com/zitadel/zitadel/pkg/grpc/auth/auth_grpc.pb.go /zitadel-api/go/src/${PROJECT_PATH}/zitadel/auth/ \ && mv /go/src/github.com/zitadel/zitadel/pkg/grpc/management/management_grpc.pb.go /zitadel-api/go/src/${PROJECT_PATH}/zitadel/management/ \ && mv /go/src/github.com/zitadel/zitadel/pkg/grpc/system/system_grpc.pb.go /zitadel-api/go/src/${PROJECT_PATH}/zitadel/system/ \ - && mv /go/src/github.com/zitadel/zitadel/pkg/grpc/session/v2beta/*.pb.go /zitadel-api/go/src/${PROJECT_PATH}/zitadel/session/v2beta/ + && mv /go/src/github.com/zitadel/zitadel/pkg/grpc/session/v2beta/*.pb.go /zitadel-api/go/src/${PROJECT_PATH}/zitadel/session/v2beta/ \ + && mv /go/src/github.com/zitadel/zitadel/pkg/grpc/oidc/v2beta/*.pb.go /zitadel-api/go/src/${PROJECT_PATH}/zitadel/oidc/v2beta/ \ + && mv /go/src/github.com/zitadel/zitadel/pkg/grpc/org/v2beta/*.pb.go /zitadel-api/go/src/${PROJECT_PATH}/zitadel/org/v2beta/ \ + && mv /go/src/github.com/zitadel/zitadel/pkg/grpc/settings/v2beta/*.pb.go /zitadel-api/go/src/${PROJECT_PATH}/zitadel/settings/v2beta/ \ + && mv /go/src/github.com/zitadel/zitadel/pkg/grpc/user/v2beta/*.pb.go /zitadel-api/go/src/${PROJECT_PATH}/zitadel/user/v2beta/ ####################### ## prepare generated files for output ####################### diff --git a/build/zitadel/generate-grpc-client.sh b/build/zitadel/generate-grpc-client.sh index 6b350cd..741fada 100755 --- a/build/zitadel/generate-grpc-client.sh +++ b/build/zitadel/generate-grpc-client.sh @@ -48,6 +48,24 @@ protoc \ --go_opt=Mzitadel/session/v2beta/challenge.proto=${ZITADEL_IMPORT}/session/v2beta \ --go_opt=Mzitadel/session/v2beta/session.proto=${ZITADEL_IMPORT}/session/v2beta \ --go_opt=Mzitadel/session/v2beta/session_service.proto=${ZITADEL_IMPORT}/session/v2beta \ + --go_opt=Mzitadel/oidc/v2beta/authorization.proto=${ZITADEL_IMPORT}/oidc/v2beta \ + --go_opt=Mzitadel/oidc/v2beta/oidc_service.proto=${ZITADEL_IMPORT}/oidc/v2beta \ + --go_opt=Mzitadel/org/v2beta/org_service.proto=${ZITADEL_IMPORT}/org/v2beta \ + --go_opt=Mzitadel/settings/v2beta/branding_settings.proto=${ZITADEL_IMPORT}/settings/v2beta \ + --go_opt=Mzitadel/settings/v2beta/domain_settings.proto=${ZITADEL_IMPORT}/settings/v2beta \ + --go_opt=Mzitadel/settings/v2beta/legal_settings.proto=${ZITADEL_IMPORT}/settings/v2beta \ + --go_opt=Mzitadel/settings/v2beta/lockout_settings.proto=${ZITADEL_IMPORT}/settings/v2beta \ + --go_opt=Mzitadel/settings/v2beta/login_settings.proto=${ZITADEL_IMPORT}/settings/v2beta \ + --go_opt=Mzitadel/settings/v2beta/password_settings.proto=${ZITADEL_IMPORT}/settings/v2beta \ + --go_opt=Mzitadel/settings/v2beta/settings.proto=${ZITADEL_IMPORT}/settings/v2beta \ + --go_opt=Mzitadel/settings/v2beta/settings_service.proto=${ZITADEL_IMPORT}/settings/v2beta \ + --go_opt=Mzitadel/user/v2beta/auth.proto=${ZITADEL_IMPORT}/user/v2beta \ + --go_opt=Mzitadel/user/v2beta/email.proto=${ZITADEL_IMPORT}/user/v2beta \ + --go_opt=Mzitadel/user/v2beta/idp.proto=${ZITADEL_IMPORT}/user/v2beta \ + --go_opt=Mzitadel/user/v2beta/password.proto=${ZITADEL_IMPORT}/user/v2beta \ + --go_opt=Mzitadel/user/v2beta/phone.proto=${ZITADEL_IMPORT}/user/v2beta \ + --go_opt=Mzitadel/user/v2beta/user.proto=${ZITADEL_IMPORT}/user/v2beta \ + --go_opt=Mzitadel/user/v2beta/user_service.proto=${ZITADEL_IMPORT}/user/v2beta \ --go_out /go/src \ --go-grpc_out /go/src \ $(find /proto/include/zitadel -iname *.proto) diff --git a/pkg/client/oidc/v2beta/client.go b/pkg/client/oidc/v2beta/client.go new file mode 100644 index 0000000..c8a6fa8 --- /dev/null +++ b/pkg/client/oidc/v2beta/client.go @@ -0,0 +1,24 @@ +package v2beta + +import ( + "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel" + oidc "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/oidc/v2beta" +) + +type Client struct { + Connection *zitadel.Connection + oidc.OIDCServiceClient +} + +func NewClient(issuer, api string, scopes []string, options ...zitadel.Option) (*Client, error) { + + conn, err := zitadel.NewConnection(issuer, api, scopes, options...) + if err != nil { + return nil, err + } + + return &Client{ + Connection: conn, + OIDCServiceClient: oidc.NewOIDCServiceClient(conn.ClientConn), + }, nil +} diff --git a/pkg/client/org/v2beta/client.go b/pkg/client/org/v2beta/client.go new file mode 100644 index 0000000..a6762ec --- /dev/null +++ b/pkg/client/org/v2beta/client.go @@ -0,0 +1,24 @@ +package v2beta + +import ( + "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel" + org "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/org/v2beta" +) + +type Client struct { + Connection *zitadel.Connection + org.OrganizationServiceClient +} + +func NewClient(issuer, api string, scopes []string, options ...zitadel.Option) (*Client, error) { + + conn, err := zitadel.NewConnection(issuer, api, scopes, options...) + if err != nil { + return nil, err + } + + return &Client{ + Connection: conn, + OrganizationServiceClient: org.NewOrganizationServiceClient(conn.ClientConn), + }, nil +} diff --git a/pkg/client/settings/v2beta/client.go b/pkg/client/settings/v2beta/client.go new file mode 100644 index 0000000..a0edf78 --- /dev/null +++ b/pkg/client/settings/v2beta/client.go @@ -0,0 +1,24 @@ +package v2beta + +import ( + "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel" + settings "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/settings/v2beta" +) + +type Client struct { + Connection *zitadel.Connection + settings.SettingsServiceClient +} + +func NewClient(issuer, api string, scopes []string, options ...zitadel.Option) (*Client, error) { + + conn, err := zitadel.NewConnection(issuer, api, scopes, options...) + if err != nil { + return nil, err + } + + return &Client{ + Connection: conn, + SettingsServiceClient: settings.NewSettingsServiceClient(conn.ClientConn), + }, nil +} diff --git a/pkg/client/user/v2beta/client.go b/pkg/client/user/v2beta/client.go new file mode 100644 index 0000000..75a9269 --- /dev/null +++ b/pkg/client/user/v2beta/client.go @@ -0,0 +1,24 @@ +package v2beta + +import ( + "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel" + user "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/user/v2beta" +) + +type Client struct { + Connection *zitadel.Connection + user.UserServiceClient +} + +func NewClient(issuer, api string, scopes []string, options ...zitadel.Option) (*Client, error) { + + conn, err := zitadel.NewConnection(issuer, api, scopes, options...) + if err != nil { + return nil, err + } + + return &Client{ + Connection: conn, + UserServiceClient: user.NewUserServiceClient(conn.ClientConn), + }, nil +} diff --git a/pkg/client/zitadel/oidc/v2beta/authorization.pb.go b/pkg/client/zitadel/oidc/v2beta/authorization.pb.go new file mode 100644 index 0000000..499b1bf --- /dev/null +++ b/pkg/client/zitadel/oidc/v2beta/authorization.pb.go @@ -0,0 +1,637 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/oidc/v2beta/authorization.proto + +package oidc + +import ( + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +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) +) + +type Prompt int32 + +const ( + Prompt_PROMPT_UNSPECIFIED Prompt = 0 + Prompt_PROMPT_NONE Prompt = 1 + Prompt_PROMPT_LOGIN Prompt = 2 + Prompt_PROMPT_CONSENT Prompt = 3 + Prompt_PROMPT_SELECT_ACCOUNT Prompt = 4 + Prompt_PROMPT_CREATE Prompt = 5 +) + +// Enum value maps for Prompt. +var ( + Prompt_name = map[int32]string{ + 0: "PROMPT_UNSPECIFIED", + 1: "PROMPT_NONE", + 2: "PROMPT_LOGIN", + 3: "PROMPT_CONSENT", + 4: "PROMPT_SELECT_ACCOUNT", + 5: "PROMPT_CREATE", + } + Prompt_value = map[string]int32{ + "PROMPT_UNSPECIFIED": 0, + "PROMPT_NONE": 1, + "PROMPT_LOGIN": 2, + "PROMPT_CONSENT": 3, + "PROMPT_SELECT_ACCOUNT": 4, + "PROMPT_CREATE": 5, + } +) + +func (x Prompt) Enum() *Prompt { + p := new(Prompt) + *p = x + return p +} + +func (x Prompt) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Prompt) Descriptor() protoreflect.EnumDescriptor { + return file_zitadel_oidc_v2beta_authorization_proto_enumTypes[0].Descriptor() +} + +func (Prompt) Type() protoreflect.EnumType { + return &file_zitadel_oidc_v2beta_authorization_proto_enumTypes[0] +} + +func (x Prompt) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Prompt.Descriptor instead. +func (Prompt) EnumDescriptor() ([]byte, []int) { + return file_zitadel_oidc_v2beta_authorization_proto_rawDescGZIP(), []int{0} +} + +type ErrorReason int32 + +const ( + ErrorReason_ERROR_REASON_UNSPECIFIED ErrorReason = 0 + // Error states from https://datatracker.ietf.org/doc/html/rfc6749#section-4.2.2.1 + ErrorReason_ERROR_REASON_INVALID_REQUEST ErrorReason = 1 + ErrorReason_ERROR_REASON_UNAUTHORIZED_CLIENT ErrorReason = 2 + ErrorReason_ERROR_REASON_ACCESS_DENIED ErrorReason = 3 + ErrorReason_ERROR_REASON_UNSUPPORTED_RESPONSE_TYPE ErrorReason = 4 + ErrorReason_ERROR_REASON_INVALID_SCOPE ErrorReason = 5 + ErrorReason_ERROR_REASON_SERVER_ERROR ErrorReason = 6 + ErrorReason_ERROR_REASON_TEMPORARY_UNAVAILABLE ErrorReason = 7 + // Error states from https://openid.net/specs/openid-connect-core-1_0.html#AuthError + ErrorReason_ERROR_REASON_INTERACTION_REQUIRED ErrorReason = 8 + ErrorReason_ERROR_REASON_LOGIN_REQUIRED ErrorReason = 9 + ErrorReason_ERROR_REASON_ACCOUNT_SELECTION_REQUIRED ErrorReason = 10 + ErrorReason_ERROR_REASON_CONSENT_REQUIRED ErrorReason = 11 + ErrorReason_ERROR_REASON_INVALID_REQUEST_URI ErrorReason = 12 + ErrorReason_ERROR_REASON_INVALID_REQUEST_OBJECT ErrorReason = 13 + ErrorReason_ERROR_REASON_REQUEST_NOT_SUPPORTED ErrorReason = 14 + ErrorReason_ERROR_REASON_REQUEST_URI_NOT_SUPPORTED ErrorReason = 15 + ErrorReason_ERROR_REASON_REGISTRATION_NOT_SUPPORTED ErrorReason = 16 +) + +// Enum value maps for ErrorReason. +var ( + ErrorReason_name = map[int32]string{ + 0: "ERROR_REASON_UNSPECIFIED", + 1: "ERROR_REASON_INVALID_REQUEST", + 2: "ERROR_REASON_UNAUTHORIZED_CLIENT", + 3: "ERROR_REASON_ACCESS_DENIED", + 4: "ERROR_REASON_UNSUPPORTED_RESPONSE_TYPE", + 5: "ERROR_REASON_INVALID_SCOPE", + 6: "ERROR_REASON_SERVER_ERROR", + 7: "ERROR_REASON_TEMPORARY_UNAVAILABLE", + 8: "ERROR_REASON_INTERACTION_REQUIRED", + 9: "ERROR_REASON_LOGIN_REQUIRED", + 10: "ERROR_REASON_ACCOUNT_SELECTION_REQUIRED", + 11: "ERROR_REASON_CONSENT_REQUIRED", + 12: "ERROR_REASON_INVALID_REQUEST_URI", + 13: "ERROR_REASON_INVALID_REQUEST_OBJECT", + 14: "ERROR_REASON_REQUEST_NOT_SUPPORTED", + 15: "ERROR_REASON_REQUEST_URI_NOT_SUPPORTED", + 16: "ERROR_REASON_REGISTRATION_NOT_SUPPORTED", + } + ErrorReason_value = map[string]int32{ + "ERROR_REASON_UNSPECIFIED": 0, + "ERROR_REASON_INVALID_REQUEST": 1, + "ERROR_REASON_UNAUTHORIZED_CLIENT": 2, + "ERROR_REASON_ACCESS_DENIED": 3, + "ERROR_REASON_UNSUPPORTED_RESPONSE_TYPE": 4, + "ERROR_REASON_INVALID_SCOPE": 5, + "ERROR_REASON_SERVER_ERROR": 6, + "ERROR_REASON_TEMPORARY_UNAVAILABLE": 7, + "ERROR_REASON_INTERACTION_REQUIRED": 8, + "ERROR_REASON_LOGIN_REQUIRED": 9, + "ERROR_REASON_ACCOUNT_SELECTION_REQUIRED": 10, + "ERROR_REASON_CONSENT_REQUIRED": 11, + "ERROR_REASON_INVALID_REQUEST_URI": 12, + "ERROR_REASON_INVALID_REQUEST_OBJECT": 13, + "ERROR_REASON_REQUEST_NOT_SUPPORTED": 14, + "ERROR_REASON_REQUEST_URI_NOT_SUPPORTED": 15, + "ERROR_REASON_REGISTRATION_NOT_SUPPORTED": 16, + } +) + +func (x ErrorReason) Enum() *ErrorReason { + p := new(ErrorReason) + *p = x + return p +} + +func (x ErrorReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ErrorReason) Descriptor() protoreflect.EnumDescriptor { + return file_zitadel_oidc_v2beta_authorization_proto_enumTypes[1].Descriptor() +} + +func (ErrorReason) Type() protoreflect.EnumType { + return &file_zitadel_oidc_v2beta_authorization_proto_enumTypes[1] +} + +func (x ErrorReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ErrorReason.Descriptor instead. +func (ErrorReason) EnumDescriptor() ([]byte, []int) { + return file_zitadel_oidc_v2beta_authorization_proto_rawDescGZIP(), []int{1} +} + +type AuthRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + CreationDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` + ClientId string `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + Scope []string `protobuf:"bytes,4,rep,name=scope,proto3" json:"scope,omitempty"` + RedirectUri string `protobuf:"bytes,5,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` + Prompt []Prompt `protobuf:"varint,6,rep,packed,name=prompt,proto3,enum=zitadel.oidc.v2beta.Prompt" json:"prompt,omitempty"` + UiLocales []string `protobuf:"bytes,7,rep,name=ui_locales,json=uiLocales,proto3" json:"ui_locales,omitempty"` + LoginHint *string `protobuf:"bytes,8,opt,name=login_hint,json=loginHint,proto3,oneof" json:"login_hint,omitempty"` + MaxAge *durationpb.Duration `protobuf:"bytes,9,opt,name=max_age,json=maxAge,proto3,oneof" json:"max_age,omitempty"` + HintUserId *string `protobuf:"bytes,10,opt,name=hint_user_id,json=hintUserId,proto3,oneof" json:"hint_user_id,omitempty"` +} + +func (x *AuthRequest) Reset() { + *x = AuthRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_oidc_v2beta_authorization_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AuthRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AuthRequest) ProtoMessage() {} + +func (x *AuthRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_oidc_v2beta_authorization_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead. +func (*AuthRequest) Descriptor() ([]byte, []int) { + return file_zitadel_oidc_v2beta_authorization_proto_rawDescGZIP(), []int{0} +} + +func (x *AuthRequest) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *AuthRequest) GetCreationDate() *timestamppb.Timestamp { + if x != nil { + return x.CreationDate + } + return nil +} + +func (x *AuthRequest) GetClientId() string { + if x != nil { + return x.ClientId + } + return "" +} + +func (x *AuthRequest) GetScope() []string { + if x != nil { + return x.Scope + } + return nil +} + +func (x *AuthRequest) GetRedirectUri() string { + if x != nil { + return x.RedirectUri + } + return "" +} + +func (x *AuthRequest) GetPrompt() []Prompt { + if x != nil { + return x.Prompt + } + return nil +} + +func (x *AuthRequest) GetUiLocales() []string { + if x != nil { + return x.UiLocales + } + return nil +} + +func (x *AuthRequest) GetLoginHint() string { + if x != nil && x.LoginHint != nil { + return *x.LoginHint + } + return "" +} + +func (x *AuthRequest) GetMaxAge() *durationpb.Duration { + if x != nil { + return x.MaxAge + } + return nil +} + +func (x *AuthRequest) GetHintUserId() string { + if x != nil && x.HintUserId != nil { + return *x.HintUserId + } + return "" +} + +type AuthorizationError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Error ErrorReason `protobuf:"varint,1,opt,name=error,proto3,enum=zitadel.oidc.v2beta.ErrorReason" json:"error,omitempty"` + ErrorDescription *string `protobuf:"bytes,2,opt,name=error_description,json=errorDescription,proto3,oneof" json:"error_description,omitempty"` + ErrorUri *string `protobuf:"bytes,3,opt,name=error_uri,json=errorUri,proto3,oneof" json:"error_uri,omitempty"` +} + +func (x *AuthorizationError) Reset() { + *x = AuthorizationError{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_oidc_v2beta_authorization_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AuthorizationError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AuthorizationError) ProtoMessage() {} + +func (x *AuthorizationError) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_oidc_v2beta_authorization_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AuthorizationError.ProtoReflect.Descriptor instead. +func (*AuthorizationError) Descriptor() ([]byte, []int) { + return file_zitadel_oidc_v2beta_authorization_proto_rawDescGZIP(), []int{1} +} + +func (x *AuthorizationError) GetError() ErrorReason { + if x != nil { + return x.Error + } + return ErrorReason_ERROR_REASON_UNSPECIFIED +} + +func (x *AuthorizationError) GetErrorDescription() string { + if x != nil && x.ErrorDescription != nil { + return *x.ErrorDescription + } + return "" +} + +func (x *AuthorizationError) GetErrorUri() string { + if x != nil && x.ErrorUri != nil { + return *x.ErrorUri + } + return "" +} + +var File_zitadel_oidc_v2beta_authorization_proto protoreflect.FileDescriptor + +var file_zitadel_oidc_v2beta_authorization_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2e, 0x6f, 0x69, 0x64, 0x63, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, + 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xd6, 0x0d, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x34, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0x92, 0x41, 0x21, + 0x32, 0x1f, 0x49, 0x44, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x52, 0x02, 0x69, 0x64, 0x12, 0x6c, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x2b, 0x92, 0x41, 0x28, 0x32, 0x26, 0x54, + 0x69, 0x6d, 0x65, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x75, 0x74, + 0x68, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x77, 0x61, 0x73, 0x20, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x61, 0x74, 0x65, 0x12, 0x61, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x44, 0x92, 0x41, 0x41, 0x32, 0x3f, 0x4f, 0x49, 0x44, + 0x43, 0x20, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x20, 0x49, 0x44, 0x20, 0x6f, 0x66, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x74, + 0x68, 0x61, 0x74, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x61, 0x75, 0x74, 0x68, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x5f, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x49, 0x92, 0x41, 0x46, 0x32, 0x44, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x65, 0x64, 0x20, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x20, 0x62, 0x79, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2c, + 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, + 0x6d, 0x75, 0x73, 0x74, 0x20, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x20, 0x74, 0x6f, 0x2e, + 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x54, 0x0a, 0x0c, 0x72, 0x65, 0x64, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0x92, + 0x41, 0x2e, 0x32, 0x2c, 0x42, 0x61, 0x73, 0x65, 0x20, 0x55, 0x52, 0x49, 0x20, 0x74, 0x68, 0x61, + 0x74, 0x20, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x20, 0x62, 0x61, 0x63, 0x6b, 0x20, 0x74, 0x6f, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x0b, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x55, 0x72, 0x69, 0x12, 0x64, 0x0a, + 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1b, 0x2e, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x69, 0x64, 0x63, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x42, 0x2f, 0x92, 0x41, 0x2c, 0x32, + 0x2a, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x73, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x6d, 0x75, + 0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x64, 0x20, + 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x52, 0x06, 0x70, 0x72, 0x6f, + 0x6d, 0x70, 0x74, 0x12, 0xd4, 0x03, 0x0a, 0x0a, 0x75, 0x69, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, + 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, 0xb4, 0x03, 0x92, 0x41, 0xb0, 0x03, 0x32, + 0xad, 0x03, 0x45, 0x6e, 0x64, 0x2d, 0x55, 0x73, 0x65, 0x72, 0x27, 0x73, 0x20, 0x70, 0x72, 0x65, + 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x20, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, + 0x20, 0x61, 0x6e, 0x64, 0x20, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x20, 0x66, 0x6f, 0x72, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x2c, 0x20, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x64, + 0x20, 0x61, 0x73, 0x20, 0x61, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x42, 0x43, + 0x50, 0x34, 0x37, 0x20, 0x5b, 0x52, 0x46, 0x43, 0x35, 0x36, 0x34, 0x36, 0x5d, 0x20, 0x6c, 0x61, + 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x20, 0x74, 0x61, 0x67, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x73, 0x2c, 0x20, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x70, 0x72, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x20, 0x46, 0x6f, 0x72, 0x20, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x20, 0x5b, 0x66, 0x72, 0x2d, 0x43, 0x41, 0x2c, 0x20, 0x66, 0x72, 0x2c, 0x20, 0x65, 0x6e, + 0x5d, 0x20, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x61, 0x20, 0x70, + 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x46, 0x72, + 0x65, 0x6e, 0x63, 0x68, 0x20, 0x61, 0x73, 0x20, 0x73, 0x70, 0x6f, 0x6b, 0x65, 0x6e, 0x20, 0x69, + 0x6e, 0x20, 0x43, 0x61, 0x6e, 0x61, 0x64, 0x61, 0x2c, 0x20, 0x74, 0x68, 0x65, 0x6e, 0x20, 0x46, + 0x72, 0x65, 0x6e, 0x63, 0x68, 0x20, 0x28, 0x77, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x20, 0x61, + 0x20, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x20, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x29, 0x2c, 0x20, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x20, 0x62, + 0x79, 0x20, 0x45, 0x6e, 0x67, 0x6c, 0x69, 0x73, 0x68, 0x20, 0x28, 0x77, 0x69, 0x74, 0x68, 0x6f, + 0x75, 0x74, 0x20, 0x61, 0x20, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x20, 0x64, 0x65, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x29, 0x2e, 0x20, 0x41, 0x6e, 0x20, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x20, 0x53, 0x48, 0x4f, 0x55, 0x4c, 0x44, 0x20, 0x4e, 0x4f, 0x54, 0x20, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x20, 0x69, 0x66, 0x20, 0x73, 0x6f, 0x6d, 0x65, 0x20, 0x6f, 0x72, 0x20, + 0x61, 0x6c, 0x6c, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x65, 0x64, 0x20, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x73, 0x20, 0x61, 0x72, 0x65, + 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x2e, 0x52, + 0x09, 0x75, 0x69, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x73, 0x12, 0x8a, 0x01, 0x0a, 0x0a, 0x6c, + 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x66, 0x92, 0x41, 0x63, 0x32, 0x61, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x20, 0x68, 0x69, 0x6e, 0x74, + 0x20, 0x63, 0x61, 0x6e, 0x20, 0x62, 0x65, 0x20, 0x73, 0x65, 0x74, 0x20, 0x62, 0x79, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x77, + 0x69, 0x74, 0x68, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x20, 0x73, 0x75, 0x63, 0x68, 0x20, 0x61, 0x73, 0x20, 0x61, 0x6e, + 0x20, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x6f, 0x72, 0x20, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x20, + 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x2e, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x69, 0x6e, + 0x48, 0x69, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x12, 0xa9, 0x02, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, + 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0xef, 0x01, 0x92, 0x41, 0xeb, 0x01, 0x32, 0xe8, 0x01, 0x53, 0x70, + 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x6c, 0x6c, 0x6f, + 0x77, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x20, 0x74, 0x69, + 0x6d, 0x65, 0x20, 0x69, 0x6e, 0x20, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x20, 0x73, 0x69, + 0x6e, 0x63, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, 0x61, 0x73, 0x74, 0x20, 0x74, 0x69, 0x6d, + 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x45, 0x6e, 0x64, 0x2d, 0x55, 0x73, 0x65, 0x72, 0x20, 0x77, + 0x61, 0x73, 0x20, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x6c, 0x79, 0x20, 0x61, 0x75, 0x74, 0x68, + 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x20, 0x49, 0x66, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x65, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x69, + 0x73, 0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e, 0x20, 0x74, + 0x68, 0x69, 0x73, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2c, 0x20, 0x6f, 0x72, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x69, 0x73, 0x20, 0x70, 0x72, 0x65, 0x73, 0x65, + 0x6e, 0x74, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x30, 0x20, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x6d, 0x75, 0x73, + 0x74, 0x20, 0x62, 0x65, 0x20, 0x72, 0x65, 0x2d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x48, 0x01, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x41, 0x67, 0x65, + 0x88, 0x01, 0x01, 0x12, 0x6b, 0x0a, 0x0c, 0x68, 0x69, 0x6e, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x44, 0x92, 0x41, 0x41, 0x32, 0x3f, + 0x55, 0x73, 0x65, 0x72, 0x20, 0x49, 0x44, 0x20, 0x74, 0x61, 0x6b, 0x65, 0x6e, 0x20, 0x66, 0x72, + 0x6f, 0x6d, 0x20, 0x61, 0x20, 0x49, 0x44, 0x20, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x20, 0x48, 0x69, + 0x6e, 0x74, 0x20, 0x69, 0x66, 0x20, 0x69, 0x74, 0x20, 0x77, 0x61, 0x73, 0x20, 0x70, 0x72, 0x65, + 0x73, 0x65, 0x6e, 0x74, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x2e, 0x48, + 0x02, 0x52, 0x0a, 0x68, 0x69, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, + 0x3a, 0x7a, 0x92, 0x41, 0x77, 0x2a, 0x75, 0x0a, 0x30, 0x46, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x75, + 0x74, 0x20, 0x6d, 0x6f, 0x72, 0x65, 0x20, 0x61, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x4f, 0x49, 0x44, + 0x43, 0x20, 0x41, 0x75, 0x74, 0x68, 0x20, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x41, 0x68, 0x74, 0x74, 0x70, 0x73, + 0x3a, 0x2f, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x73, 0x70, + 0x65, 0x63, 0x73, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x2d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2d, 0x31, 0x5f, 0x30, 0x2e, 0x68, 0x74, 0x6d, 0x6c, + 0x23, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x0d, 0x0a, 0x0b, + 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x42, 0x0a, 0x0a, 0x08, 0x5f, + 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x67, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x68, 0x69, 0x6e, 0x74, + 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x22, 0xc4, 0x01, 0x0a, 0x12, 0x41, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, + 0x36, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, + 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x69, 0x64, 0x63, 0x2e, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x30, 0x0a, 0x11, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x08, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x55, 0x72, 0x69, 0x88, 0x01, 0x01, 0x42, 0x14, 0x0a, 0x12, 0x5f, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x75, 0x72, 0x69, 0x2a, + 0x85, 0x01, 0x0a, 0x06, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, + 0x4f, 0x4d, 0x50, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x52, 0x4f, 0x4d, 0x50, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, + 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x52, 0x4f, 0x4d, 0x50, 0x54, 0x5f, 0x4c, 0x4f, + 0x47, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x52, 0x4f, 0x4d, 0x50, 0x54, 0x5f, + 0x43, 0x4f, 0x4e, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x52, 0x4f, + 0x4d, 0x50, 0x54, 0x5f, 0x53, 0x45, 0x4c, 0x45, 0x43, 0x54, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, + 0x4e, 0x54, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x52, 0x4f, 0x4d, 0x50, 0x54, 0x5f, 0x43, + 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x05, 0x2a, 0x8e, 0x05, 0x0a, 0x0b, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x52, 0x45, + 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x24, 0x0a, 0x20, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, + 0x49, 0x5a, 0x45, 0x44, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x1e, 0x0a, + 0x1a, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x43, + 0x43, 0x45, 0x53, 0x53, 0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x03, 0x12, 0x2a, 0x0a, + 0x26, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, + 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x53, 0x50, 0x4f, 0x4e, + 0x53, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x04, 0x12, 0x1e, 0x0a, 0x1a, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, + 0x44, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x06, 0x12, 0x26, 0x0a, 0x22, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x54, 0x45, 0x4d, 0x50, 0x4f, 0x52, 0x41, + 0x52, 0x59, 0x5f, 0x55, 0x4e, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x07, + 0x12, 0x25, 0x0a, 0x21, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, + 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x51, + 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x08, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4c, 0x4f, 0x47, 0x49, 0x4e, 0x5f, 0x52, 0x45, + 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x09, 0x12, 0x2b, 0x0a, 0x27, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, + 0x5f, 0x53, 0x45, 0x4c, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, + 0x52, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x52, + 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x53, 0x45, 0x4e, 0x54, 0x5f, 0x52, 0x45, + 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x24, 0x0a, 0x20, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, + 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x55, 0x52, 0x49, 0x10, 0x0c, 0x12, 0x27, + 0x0a, 0x23, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x49, + 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x4f, + 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x0d, 0x12, 0x26, 0x0a, 0x22, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, + 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x0e, 0x12, + 0x2a, 0x0a, 0x26, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, + 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x55, 0x52, 0x49, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x0f, 0x12, 0x2b, 0x0a, 0x27, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x49, + 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x53, 0x55, 0x50, + 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x10, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, + 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x6f, 0x69, 0x64, 0x63, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_oidc_v2beta_authorization_proto_rawDescOnce sync.Once + file_zitadel_oidc_v2beta_authorization_proto_rawDescData = file_zitadel_oidc_v2beta_authorization_proto_rawDesc +) + +func file_zitadel_oidc_v2beta_authorization_proto_rawDescGZIP() []byte { + file_zitadel_oidc_v2beta_authorization_proto_rawDescOnce.Do(func() { + file_zitadel_oidc_v2beta_authorization_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_oidc_v2beta_authorization_proto_rawDescData) + }) + return file_zitadel_oidc_v2beta_authorization_proto_rawDescData +} + +var file_zitadel_oidc_v2beta_authorization_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_zitadel_oidc_v2beta_authorization_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_zitadel_oidc_v2beta_authorization_proto_goTypes = []interface{}{ + (Prompt)(0), // 0: zitadel.oidc.v2beta.Prompt + (ErrorReason)(0), // 1: zitadel.oidc.v2beta.ErrorReason + (*AuthRequest)(nil), // 2: zitadel.oidc.v2beta.AuthRequest + (*AuthorizationError)(nil), // 3: zitadel.oidc.v2beta.AuthorizationError + (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 5: google.protobuf.Duration +} +var file_zitadel_oidc_v2beta_authorization_proto_depIdxs = []int32{ + 4, // 0: zitadel.oidc.v2beta.AuthRequest.creation_date:type_name -> google.protobuf.Timestamp + 0, // 1: zitadel.oidc.v2beta.AuthRequest.prompt:type_name -> zitadel.oidc.v2beta.Prompt + 5, // 2: zitadel.oidc.v2beta.AuthRequest.max_age:type_name -> google.protobuf.Duration + 1, // 3: zitadel.oidc.v2beta.AuthorizationError.error:type_name -> zitadel.oidc.v2beta.ErrorReason + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_zitadel_oidc_v2beta_authorization_proto_init() } +func file_zitadel_oidc_v2beta_authorization_proto_init() { + if File_zitadel_oidc_v2beta_authorization_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_zitadel_oidc_v2beta_authorization_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_oidc_v2beta_authorization_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AuthorizationError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_zitadel_oidc_v2beta_authorization_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_zitadel_oidc_v2beta_authorization_proto_msgTypes[1].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_oidc_v2beta_authorization_proto_rawDesc, + NumEnums: 2, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_oidc_v2beta_authorization_proto_goTypes, + DependencyIndexes: file_zitadel_oidc_v2beta_authorization_proto_depIdxs, + EnumInfos: file_zitadel_oidc_v2beta_authorization_proto_enumTypes, + MessageInfos: file_zitadel_oidc_v2beta_authorization_proto_msgTypes, + }.Build() + File_zitadel_oidc_v2beta_authorization_proto = out.File + file_zitadel_oidc_v2beta_authorization_proto_rawDesc = nil + file_zitadel_oidc_v2beta_authorization_proto_goTypes = nil + file_zitadel_oidc_v2beta_authorization_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/oidc/v2beta/oidc_service.pb.go b/pkg/client/zitadel/oidc/v2beta/oidc_service.pb.go new file mode 100644 index 0000000..b7bf5df --- /dev/null +++ b/pkg/client/zitadel/oidc/v2beta/oidc_service.pb.go @@ -0,0 +1,707 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/oidc/v2beta/oidc_service.proto + +package oidc + +import ( + _ "github.com/envoyproxy/protoc-gen-validate/validate" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + v2beta "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object/v2beta" + _ "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/protoc/v2" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type GetAuthRequestRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AuthRequestId string `protobuf:"bytes,1,opt,name=auth_request_id,json=authRequestId,proto3" json:"auth_request_id,omitempty"` +} + +func (x *GetAuthRequestRequest) Reset() { + *x = GetAuthRequestRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAuthRequestRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAuthRequestRequest) ProtoMessage() {} + +func (x *GetAuthRequestRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAuthRequestRequest.ProtoReflect.Descriptor instead. +func (*GetAuthRequestRequest) Descriptor() ([]byte, []int) { + return file_zitadel_oidc_v2beta_oidc_service_proto_rawDescGZIP(), []int{0} +} + +func (x *GetAuthRequestRequest) GetAuthRequestId() string { + if x != nil { + return x.AuthRequestId + } + return "" +} + +type GetAuthRequestResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AuthRequest *AuthRequest `protobuf:"bytes,1,opt,name=auth_request,json=authRequest,proto3" json:"auth_request,omitempty"` +} + +func (x *GetAuthRequestResponse) Reset() { + *x = GetAuthRequestResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetAuthRequestResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetAuthRequestResponse) ProtoMessage() {} + +func (x *GetAuthRequestResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetAuthRequestResponse.ProtoReflect.Descriptor instead. +func (*GetAuthRequestResponse) Descriptor() ([]byte, []int) { + return file_zitadel_oidc_v2beta_oidc_service_proto_rawDescGZIP(), []int{1} +} + +func (x *GetAuthRequestResponse) GetAuthRequest() *AuthRequest { + if x != nil { + return x.AuthRequest + } + return nil +} + +type CreateCallbackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AuthRequestId string `protobuf:"bytes,1,opt,name=auth_request_id,json=authRequestId,proto3" json:"auth_request_id,omitempty"` + // Types that are assignable to CallbackKind: + // + // *CreateCallbackRequest_Session + // *CreateCallbackRequest_Error + CallbackKind isCreateCallbackRequest_CallbackKind `protobuf_oneof:"callback_kind"` +} + +func (x *CreateCallbackRequest) Reset() { + *x = CreateCallbackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateCallbackRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateCallbackRequest) ProtoMessage() {} + +func (x *CreateCallbackRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateCallbackRequest.ProtoReflect.Descriptor instead. +func (*CreateCallbackRequest) Descriptor() ([]byte, []int) { + return file_zitadel_oidc_v2beta_oidc_service_proto_rawDescGZIP(), []int{2} +} + +func (x *CreateCallbackRequest) GetAuthRequestId() string { + if x != nil { + return x.AuthRequestId + } + return "" +} + +func (m *CreateCallbackRequest) GetCallbackKind() isCreateCallbackRequest_CallbackKind { + if m != nil { + return m.CallbackKind + } + return nil +} + +func (x *CreateCallbackRequest) GetSession() *Session { + if x, ok := x.GetCallbackKind().(*CreateCallbackRequest_Session); ok { + return x.Session + } + return nil +} + +func (x *CreateCallbackRequest) GetError() *AuthorizationError { + if x, ok := x.GetCallbackKind().(*CreateCallbackRequest_Error); ok { + return x.Error + } + return nil +} + +type isCreateCallbackRequest_CallbackKind interface { + isCreateCallbackRequest_CallbackKind() +} + +type CreateCallbackRequest_Session struct { + Session *Session `protobuf:"bytes,2,opt,name=session,proto3,oneof"` +} + +type CreateCallbackRequest_Error struct { + Error *AuthorizationError `protobuf:"bytes,3,opt,name=error,proto3,oneof"` +} + +func (*CreateCallbackRequest_Session) isCreateCallbackRequest_CallbackKind() {} + +func (*CreateCallbackRequest_Error) isCreateCallbackRequest_CallbackKind() {} + +type Session struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` + SessionToken string `protobuf:"bytes,2,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"` +} + +func (x *Session) Reset() { + *x = Session{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Session) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Session) ProtoMessage() {} + +func (x *Session) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Session.ProtoReflect.Descriptor instead. +func (*Session) Descriptor() ([]byte, []int) { + return file_zitadel_oidc_v2beta_oidc_service_proto_rawDescGZIP(), []int{3} +} + +func (x *Session) GetSessionId() string { + if x != nil { + return x.SessionId + } + return "" +} + +func (x *Session) GetSessionToken() string { + if x != nil { + return x.SessionToken + } + return "" +} + +type CreateCallbackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + CallbackUrl string `protobuf:"bytes,2,opt,name=callback_url,json=callbackUrl,proto3" json:"callback_url,omitempty"` +} + +func (x *CreateCallbackResponse) Reset() { + *x = CreateCallbackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateCallbackResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateCallbackResponse) ProtoMessage() {} + +func (x *CreateCallbackResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateCallbackResponse.ProtoReflect.Descriptor instead. +func (*CreateCallbackResponse) Descriptor() ([]byte, []int) { + return file_zitadel_oidc_v2beta_oidc_service_proto_rawDescGZIP(), []int{4} +} + +func (x *CreateCallbackResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *CreateCallbackResponse) GetCallbackUrl() string { + if x != nil { + return x.CallbackUrl + } + return "" +} + +var File_zitadel_oidc_v2beta_oidc_service_proto protoreflect.FileDescriptor + +var file_zitadel_oidc_v2beta_oidc_service_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x6f, 0x69, 0x64, 0x63, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x22, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x2b, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x32, + 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, + 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, + 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xa7, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x8d, 0x01, 0x0a, 0x0f, 0x61, 0x75, + 0x74, 0x68, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x65, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x92, + 0x41, 0x58, 0x32, 0x3a, 0x49, 0x44, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x41, 0x75, + 0x74, 0x68, 0x20, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2c, 0x20, 0x61, 0x73, 0x20, 0x6f, + 0x62, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x64, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x20, 0x55, 0x52, 0x4c, 0x2e, 0x4a, 0x14, + 0x22, 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, + 0x37, 0x30, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x16, 0x47, 0x65, 0x74, + 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x69, 0x64, 0x63, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, + 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0b, 0x61, 0x75, 0x74, + 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xe8, 0x04, 0x0a, 0x15, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0xf6, 0x01, 0x0a, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0xcd, 0x01, 0xfa, + 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x92, 0x41, 0xbf, 0x01, 0x1a, 0x3f, 0x68, + 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x2e, 0x6e, 0x65, + 0x74, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x73, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x2d, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2d, 0x31, 0x5f, 0x30, 0x2e, + 0x68, 0x74, 0x6d, 0x6c, 0x23, 0x41, 0x75, 0x74, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x32, 0x7c, + 0x53, 0x65, 0x74, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x77, + 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x66, 0x6c, 0x6f, 0x77, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x65, + 0x64, 0x2e, 0x20, 0x49, 0x74, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x73, 0x20, 0x61, 0x20, + 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x20, 0x55, 0x52, 0x4c, 0x20, 0x74, 0x6f, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2c, + 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x20, + 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x20, 0x73, 0x65, 0x74, 0x2e, 0x52, 0x0d, 0x61, 0x75, + 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x07, 0x73, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x69, 0x64, 0x63, 0x2e, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x07, 0x73, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x85, 0x02, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x6f, 0x69, 0x64, 0x63, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x42, 0xc3, + 0x01, 0x92, 0x41, 0xbf, 0x01, 0x1a, 0x3f, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x6f, + 0x70, 0x65, 0x6e, 0x69, 0x64, 0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x73, 0x2f, + 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x2d, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x2d, 0x63, + 0x6f, 0x72, 0x65, 0x2d, 0x31, 0x5f, 0x30, 0x2e, 0x68, 0x74, 0x6d, 0x6c, 0x23, 0x41, 0x75, 0x74, + 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x32, 0x7c, 0x53, 0x65, 0x74, 0x20, 0x74, 0x68, 0x69, 0x73, + 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x66, 0x6c, + 0x6f, 0x77, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x2e, 0x20, 0x49, 0x74, 0x20, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x73, 0x20, 0x61, 0x20, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, + 0x20, 0x55, 0x52, 0x4c, 0x20, 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2c, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x20, + 0x73, 0x65, 0x74, 0x2e, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x14, 0x0a, + 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x03, + 0xf8, 0x42, 0x01, 0x22, 0x8a, 0x02, 0x0a, 0x07, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x9e, 0x01, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x7f, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, + 0x92, 0x41, 0x72, 0x32, 0x54, 0x49, 0x44, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2c, 0x20, 0x75, 0x73, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, + 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x20, + 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x41, 0x75, 0x74, 0x68, + 0x20, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4a, 0x14, 0x22, 0x31, 0x36, 0x33, 0x38, + 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, 0x30, 0x35, 0x22, 0x78, + 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x12, 0x5e, 0x0a, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x39, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, + 0x18, 0xc8, 0x01, 0x92, 0x41, 0x2c, 0x32, 0x24, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x20, 0x74, 0x6f, + 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x73, 0x20, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x78, 0xc8, 0x01, 0x80, + 0x01, 0x01, 0x52, 0x0c, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, + 0x22, 0xff, 0x03, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x62, + 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0xaa, 0x03, 0x0a, 0x0c, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, + 0x63, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x86, 0x03, 0x92, + 0x41, 0x82, 0x03, 0x32, 0xb0, 0x02, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x20, 0x55, + 0x52, 0x4c, 0x20, 0x77, 0x68, 0x65, 0x72, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, + 0x72, 0x20, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x20, 0x62, 0x65, 0x20, 0x72, 0x65, 0x64, 0x69, + 0x72, 0x65, 0x63, 0x74, 0x65, 0x64, 0x2c, 0x20, 0x75, 0x73, 0x69, 0x6e, 0x67, 0x20, 0x61, 0x20, + 0x22, 0x33, 0x30, 0x32, 0x20, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x22, 0x20, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x2e, 0x20, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x20, 0x64, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x6f, 0x62, 0x74, 0x61, + 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x20, 0x6f, 0x6e, + 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2c, 0x20, 0x6f, 0x72, 0x20, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x20, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x20, 0x6f, 0x6e, 0x20, 0x66, 0x61, + 0x69, 0x6c, 0x75, 0x72, 0x65, 0x2e, 0x20, 0x4e, 0x6f, 0x74, 0x65, 0x20, 0x74, 0x68, 0x61, 0x74, + 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x6d, 0x75, 0x73, 0x74, + 0x20, 0x62, 0x65, 0x20, 0x74, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x61, 0x73, 0x20, 0x63, + 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x2c, 0x20, 0x61, 0x73, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x64, 0x20, 0x63, 0x6f, 0x64, + 0x65, 0x20, 0x63, 0x61, 0x6e, 0x20, 0x62, 0x65, 0x20, 0x75, 0x73, 0x65, 0x64, 0x20, 0x74, 0x6f, + 0x20, 0x6f, 0x62, 0x74, 0x61, 0x69, 0x6e, 0x20, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x20, 0x6f, + 0x6e, 0x20, 0x62, 0x65, 0x68, 0x61, 0x6c, 0x76, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x4a, 0x4d, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, + 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, + 0x6f, 0x72, 0x67, 0x2f, 0x63, 0x62, 0x3f, 0x63, 0x6f, 0x64, 0x65, 0x3d, 0x53, 0x70, 0x6c, 0x78, + 0x6c, 0x4f, 0x42, 0x65, 0x5a, 0x51, 0x51, 0x59, 0x62, 0x59, 0x53, 0x36, 0x57, 0x78, 0x53, 0x62, + 0x49, 0x41, 0x26, 0x73, 0x74, 0x61, 0x74, 0x65, 0x3d, 0x61, 0x66, 0x30, 0x69, 0x66, 0x6a, 0x73, + 0x6c, 0x64, 0x6b, 0x6a, 0x22, 0x52, 0x0b, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x55, + 0x72, 0x6c, 0x32, 0xbd, 0x07, 0x0a, 0x0b, 0x4f, 0x49, 0x44, 0x43, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0xf1, 0x02, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x6f, 0x69, 0x64, 0x63, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, + 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2b, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x69, 0x64, 0x63, + 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x85, + 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, + 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0xb8, 0x01, 0x12, 0x1d, + 0x47, 0x65, 0x74, 0x20, 0x4f, 0x49, 0x44, 0x43, 0x20, 0x41, 0x75, 0x74, 0x68, 0x20, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 0x89, 0x01, + 0x47, 0x65, 0x74, 0x20, 0x4f, 0x49, 0x44, 0x43, 0x20, 0x41, 0x75, 0x74, 0x68, 0x20, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x20, 0x62, 0x79, + 0x20, 0x49, 0x44, 0x2c, 0x20, 0x6f, 0x62, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x64, 0x20, 0x66, 0x72, + 0x6f, 0x6d, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x20, + 0x55, 0x52, 0x4c, 0x2e, 0x20, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x20, 0x64, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x61, 0x72, 0x65, 0x20, 0x70, 0x61, + 0x72, 0x73, 0x65, 0x64, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x27, 0x73, 0x20, 0x41, 0x75, 0x74, 0x68, + 0x20, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, + 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xb9, 0x04, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x2a, 0x2e, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x69, 0x64, 0x63, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x6f, 0x69, 0x64, 0x63, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0xcd, 0x03, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x2c, 0x2f, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x11, + 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x92, 0x41, 0xfd, 0x02, 0x12, 0x32, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x20, + 0x61, 0x6e, 0x20, 0x41, 0x75, 0x74, 0x68, 0x20, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, + 0x61, 0x6e, 0x64, 0x20, 0x67, 0x65, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x61, 0x6c, 0x6c, + 0x62, 0x61, 0x63, 0x6b, 0x20, 0x55, 0x52, 0x4c, 0x2e, 0x1a, 0xb9, 0x02, 0x46, 0x69, 0x6e, 0x61, + 0x6c, 0x69, 0x7a, 0x65, 0x20, 0x61, 0x6e, 0x20, 0x41, 0x75, 0x74, 0x68, 0x20, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x67, 0x65, 0x74, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x20, 0x55, 0x52, 0x4c, 0x20, 0x66, 0x6f, + 0x72, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x6f, 0x72, 0x20, 0x66, 0x61, 0x69, + 0x6c, 0x75, 0x72, 0x65, 0x2e, 0x20, 0x54, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x6d, + 0x75, 0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x20, 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x55, 0x52, 0x4c, 0x20, 0x69, 0x6e, 0x20, + 0x6f, 0x72, 0x64, 0x65, 0x72, 0x20, 0x74, 0x6f, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, + 0x61, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x20, 0x6f, 0x72, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x2e, 0x20, 0x4f, 0x6e, + 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x55, 0x52, + 0x4c, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x20, 0x64, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x6f, 0x62, 0x74, 0x61, 0x69, 0x6e, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x2e, 0x20, 0x54, 0x68, 0x69, + 0x73, 0x20, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x20, 0x63, 0x61, 0x6e, 0x20, 0x6f, 0x6e, 0x6c, + 0x79, 0x20, 0x62, 0x65, 0x20, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x20, 0x6f, 0x6e, 0x63, 0x65, + 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x6e, 0x20, 0x41, 0x75, 0x74, 0x68, 0x20, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, + 0x4f, 0x4b, 0x42, 0xab, 0x08, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x6f, 0x69, 0x64, 0x63, 0x92, 0x41, 0xf1, 0x07, 0x12, + 0xcf, 0x02, 0x0a, 0x0c, 0x4f, 0x49, 0x44, 0x43, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0xc0, 0x01, 0x47, 0x65, 0x74, 0x20, 0x4f, 0x49, 0x44, 0x43, 0x20, 0x41, 0x75, 0x74, 0x68, + 0x20, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, + 0x20, 0x61, 0x6e, 0x64, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x63, 0x61, 0x6c, 0x6c, + 0x62, 0x61, 0x63, 0x6b, 0x20, 0x55, 0x52, 0x4c, 0x73, 0x2e, 0x20, 0x54, 0x68, 0x69, 0x73, 0x20, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x69, 0x73, 0x20, 0x69, 0x6e, 0x20, 0x62, 0x65, + 0x74, 0x61, 0x20, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x20, 0x49, 0x74, 0x20, 0x63, 0x61, 0x6e, + 0x20, 0x41, 0x4e, 0x44, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, + 0x75, 0x65, 0x20, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x20, 0x75, 0x6e, 0x74, 0x69, + 0x6c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x20, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x61, 0x6d, 0x65, 0x20, + 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x20, 0x61, 0x73, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x20, 0x6c, 0x6f, 0x67, + 0x69, 0x6e, 0x2e, 0x22, 0x2e, 0x0a, 0x07, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x12, 0x13, + 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x63, 0x6f, 0x6d, 0x1a, 0x0e, 0x68, 0x69, 0x40, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x63, 0x6f, 0x6d, 0x2a, 0x42, 0x0a, 0x0a, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, 0x20, 0x32, 0x2e, + 0x30, 0x12, 0x34, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d, 0x61, 0x69, 0x6e, 0x2f, + 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x32, 0x08, 0x32, 0x2e, 0x30, 0x2d, 0x62, 0x65, 0x74, + 0x61, 0x1a, 0x0e, 0x24, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x2d, 0x44, 0x4f, 0x4d, 0x41, 0x49, + 0x4e, 0x22, 0x01, 0x2f, 0x2a, 0x02, 0x02, 0x01, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x32, 0x1a, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x77, + 0x65, 0x62, 0x2b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3a, 0x1a, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x77, + 0x65, 0x62, 0x2b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x6d, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, + 0x66, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, + 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x12, 0x1b, 0x0a, 0x19, 0x1a, 0x17, + 0x23, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x70, + 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x49, + 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, + 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x1b, 0x0a, 0x19, + 0x1a, 0x17, 0x23, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x72, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5a, 0xc2, 0x01, 0x0a, 0xbf, 0x01, 0x0a, + 0x06, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x12, 0xb4, 0x01, 0x08, 0x03, 0x28, 0x04, 0x32, 0x21, + 0x24, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x2d, 0x44, 0x4f, 0x4d, 0x41, 0x49, 0x4e, 0x2f, 0x6f, + 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x65, 0x3a, 0x1d, 0x24, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x2d, 0x44, 0x4f, 0x4d, 0x41, 0x49, + 0x4e, 0x2f, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x42, 0x6c, 0x0a, 0x10, 0x0a, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x12, 0x06, 0x6f, 0x70, + 0x65, 0x6e, 0x69, 0x64, 0x0a, 0x58, 0x0a, 0x2a, 0x75, 0x72, 0x6e, 0x3a, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x3a, 0x69, 0x61, 0x6d, 0x3a, 0x6f, 0x72, 0x67, 0x3a, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x3a, 0x69, 0x64, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, 0x61, + 0x75, 0x64, 0x12, 0x2a, 0x75, 0x72, 0x6e, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, + 0x69, 0x61, 0x6d, 0x3a, 0x6f, 0x72, 0x67, 0x3a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3a, + 0x69, 0x64, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, 0x61, 0x75, 0x64, 0x62, 0x40, + 0x0a, 0x3e, 0x0a, 0x06, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x12, 0x34, 0x0a, 0x06, 0x6f, 0x70, + 0x65, 0x6e, 0x69, 0x64, 0x0a, 0x2a, 0x75, 0x72, 0x6e, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x3a, 0x69, 0x61, 0x6d, 0x3a, 0x6f, 0x72, 0x67, 0x3a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x3a, 0x69, 0x64, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, 0x61, 0x75, 0x64, + 0x72, 0x3e, 0x0a, 0x22, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x20, 0x69, 0x6e, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x61, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x5a, + 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x12, 0x18, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x6f, 0x63, 0x73, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_oidc_v2beta_oidc_service_proto_rawDescOnce sync.Once + file_zitadel_oidc_v2beta_oidc_service_proto_rawDescData = file_zitadel_oidc_v2beta_oidc_service_proto_rawDesc +) + +func file_zitadel_oidc_v2beta_oidc_service_proto_rawDescGZIP() []byte { + file_zitadel_oidc_v2beta_oidc_service_proto_rawDescOnce.Do(func() { + file_zitadel_oidc_v2beta_oidc_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_oidc_v2beta_oidc_service_proto_rawDescData) + }) + return file_zitadel_oidc_v2beta_oidc_service_proto_rawDescData +} + +var file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_zitadel_oidc_v2beta_oidc_service_proto_goTypes = []interface{}{ + (*GetAuthRequestRequest)(nil), // 0: zitadel.oidc.v2beta.GetAuthRequestRequest + (*GetAuthRequestResponse)(nil), // 1: zitadel.oidc.v2beta.GetAuthRequestResponse + (*CreateCallbackRequest)(nil), // 2: zitadel.oidc.v2beta.CreateCallbackRequest + (*Session)(nil), // 3: zitadel.oidc.v2beta.Session + (*CreateCallbackResponse)(nil), // 4: zitadel.oidc.v2beta.CreateCallbackResponse + (*AuthRequest)(nil), // 5: zitadel.oidc.v2beta.AuthRequest + (*AuthorizationError)(nil), // 6: zitadel.oidc.v2beta.AuthorizationError + (*v2beta.Details)(nil), // 7: zitadel.object.v2beta.Details +} +var file_zitadel_oidc_v2beta_oidc_service_proto_depIdxs = []int32{ + 5, // 0: zitadel.oidc.v2beta.GetAuthRequestResponse.auth_request:type_name -> zitadel.oidc.v2beta.AuthRequest + 3, // 1: zitadel.oidc.v2beta.CreateCallbackRequest.session:type_name -> zitadel.oidc.v2beta.Session + 6, // 2: zitadel.oidc.v2beta.CreateCallbackRequest.error:type_name -> zitadel.oidc.v2beta.AuthorizationError + 7, // 3: zitadel.oidc.v2beta.CreateCallbackResponse.details:type_name -> zitadel.object.v2beta.Details + 0, // 4: zitadel.oidc.v2beta.OIDCService.GetAuthRequest:input_type -> zitadel.oidc.v2beta.GetAuthRequestRequest + 2, // 5: zitadel.oidc.v2beta.OIDCService.CreateCallback:input_type -> zitadel.oidc.v2beta.CreateCallbackRequest + 1, // 6: zitadel.oidc.v2beta.OIDCService.GetAuthRequest:output_type -> zitadel.oidc.v2beta.GetAuthRequestResponse + 4, // 7: zitadel.oidc.v2beta.OIDCService.CreateCallback:output_type -> zitadel.oidc.v2beta.CreateCallbackResponse + 6, // [6:8] is the sub-list for method output_type + 4, // [4:6] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_zitadel_oidc_v2beta_oidc_service_proto_init() } +func file_zitadel_oidc_v2beta_oidc_service_proto_init() { + if File_zitadel_oidc_v2beta_oidc_service_proto != nil { + return + } + file_zitadel_oidc_v2beta_authorization_proto_init() + if !protoimpl.UnsafeEnabled { + file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAuthRequestRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAuthRequestResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateCallbackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Session); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateCallbackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*CreateCallbackRequest_Session)(nil), + (*CreateCallbackRequest_Error)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_oidc_v2beta_oidc_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 5, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_zitadel_oidc_v2beta_oidc_service_proto_goTypes, + DependencyIndexes: file_zitadel_oidc_v2beta_oidc_service_proto_depIdxs, + MessageInfos: file_zitadel_oidc_v2beta_oidc_service_proto_msgTypes, + }.Build() + File_zitadel_oidc_v2beta_oidc_service_proto = out.File + file_zitadel_oidc_v2beta_oidc_service_proto_rawDesc = nil + file_zitadel_oidc_v2beta_oidc_service_proto_goTypes = nil + file_zitadel_oidc_v2beta_oidc_service_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/oidc/v2beta/oidc_service_grpc.pb.go b/pkg/client/zitadel/oidc/v2beta/oidc_service_grpc.pb.go new file mode 100644 index 0000000..88ea2c0 --- /dev/null +++ b/pkg/client/zitadel/oidc/v2beta/oidc_service_grpc.pb.go @@ -0,0 +1,137 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package oidc + +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.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// OIDCServiceClient is the client API for OIDCService 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 OIDCServiceClient interface { + GetAuthRequest(ctx context.Context, in *GetAuthRequestRequest, opts ...grpc.CallOption) (*GetAuthRequestResponse, error) + CreateCallback(ctx context.Context, in *CreateCallbackRequest, opts ...grpc.CallOption) (*CreateCallbackResponse, error) +} + +type oIDCServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewOIDCServiceClient(cc grpc.ClientConnInterface) OIDCServiceClient { + return &oIDCServiceClient{cc} +} + +func (c *oIDCServiceClient) GetAuthRequest(ctx context.Context, in *GetAuthRequestRequest, opts ...grpc.CallOption) (*GetAuthRequestResponse, error) { + out := new(GetAuthRequestResponse) + err := c.cc.Invoke(ctx, "/zitadel.oidc.v2beta.OIDCService/GetAuthRequest", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *oIDCServiceClient) CreateCallback(ctx context.Context, in *CreateCallbackRequest, opts ...grpc.CallOption) (*CreateCallbackResponse, error) { + out := new(CreateCallbackResponse) + err := c.cc.Invoke(ctx, "/zitadel.oidc.v2beta.OIDCService/CreateCallback", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// OIDCServiceServer is the server API for OIDCService service. +// All implementations must embed UnimplementedOIDCServiceServer +// for forward compatibility +type OIDCServiceServer interface { + GetAuthRequest(context.Context, *GetAuthRequestRequest) (*GetAuthRequestResponse, error) + CreateCallback(context.Context, *CreateCallbackRequest) (*CreateCallbackResponse, error) + mustEmbedUnimplementedOIDCServiceServer() +} + +// UnimplementedOIDCServiceServer must be embedded to have forward compatible implementations. +type UnimplementedOIDCServiceServer struct { +} + +func (UnimplementedOIDCServiceServer) GetAuthRequest(context.Context, *GetAuthRequestRequest) (*GetAuthRequestResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetAuthRequest not implemented") +} +func (UnimplementedOIDCServiceServer) CreateCallback(context.Context, *CreateCallbackRequest) (*CreateCallbackResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateCallback not implemented") +} +func (UnimplementedOIDCServiceServer) mustEmbedUnimplementedOIDCServiceServer() {} + +// UnsafeOIDCServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to OIDCServiceServer will +// result in compilation errors. +type UnsafeOIDCServiceServer interface { + mustEmbedUnimplementedOIDCServiceServer() +} + +func RegisterOIDCServiceServer(s grpc.ServiceRegistrar, srv OIDCServiceServer) { + s.RegisterService(&OIDCService_ServiceDesc, srv) +} + +func _OIDCService_GetAuthRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAuthRequestRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OIDCServiceServer).GetAuthRequest(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.oidc.v2beta.OIDCService/GetAuthRequest", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OIDCServiceServer).GetAuthRequest(ctx, req.(*GetAuthRequestRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OIDCService_CreateCallback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateCallbackRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OIDCServiceServer).CreateCallback(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.oidc.v2beta.OIDCService/CreateCallback", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OIDCServiceServer).CreateCallback(ctx, req.(*CreateCallbackRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// OIDCService_ServiceDesc is the grpc.ServiceDesc for OIDCService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var OIDCService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "zitadel.oidc.v2beta.OIDCService", + HandlerType: (*OIDCServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetAuthRequest", + Handler: _OIDCService_GetAuthRequest_Handler, + }, + { + MethodName: "CreateCallback", + Handler: _OIDCService_CreateCallback_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "zitadel/oidc/v2beta/oidc_service.proto", +} diff --git a/pkg/client/zitadel/org/v2beta/org_service.pb.go b/pkg/client/zitadel/org/v2beta/org_service.pb.go new file mode 100644 index 0000000..84cccf6 --- /dev/null +++ b/pkg/client/zitadel/org/v2beta/org_service.pb.go @@ -0,0 +1,589 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/org/v2beta/org_service.proto + +package org + +import ( + _ "github.com/envoyproxy/protoc-gen-validate/validate" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + v2beta "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object/v2beta" + _ "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/protoc/v2" + v2beta1 "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/user/v2beta" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + _ "google.golang.org/protobuf/types/known/durationpb" + _ "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" +) + +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) +) + +type AddOrganizationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Admins []*AddOrganizationRequest_Admin `protobuf:"bytes,2,rep,name=admins,proto3" json:"admins,omitempty"` +} + +func (x *AddOrganizationRequest) Reset() { + *x = AddOrganizationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_org_v2beta_org_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddOrganizationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddOrganizationRequest) ProtoMessage() {} + +func (x *AddOrganizationRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_org_v2beta_org_service_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddOrganizationRequest.ProtoReflect.Descriptor instead. +func (*AddOrganizationRequest) Descriptor() ([]byte, []int) { + return file_zitadel_org_v2beta_org_service_proto_rawDescGZIP(), []int{0} +} + +func (x *AddOrganizationRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *AddOrganizationRequest) GetAdmins() []*AddOrganizationRequest_Admin { + if x != nil { + return x.Admins + } + return nil +} + +type AddOrganizationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` + CreatedAdmins []*AddOrganizationResponse_CreatedAdmin `protobuf:"bytes,3,rep,name=created_admins,json=createdAdmins,proto3" json:"created_admins,omitempty"` +} + +func (x *AddOrganizationResponse) Reset() { + *x = AddOrganizationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_org_v2beta_org_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddOrganizationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddOrganizationResponse) ProtoMessage() {} + +func (x *AddOrganizationResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_org_v2beta_org_service_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddOrganizationResponse.ProtoReflect.Descriptor instead. +func (*AddOrganizationResponse) Descriptor() ([]byte, []int) { + return file_zitadel_org_v2beta_org_service_proto_rawDescGZIP(), []int{1} +} + +func (x *AddOrganizationResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *AddOrganizationResponse) GetOrganizationId() string { + if x != nil { + return x.OrganizationId + } + return "" +} + +func (x *AddOrganizationResponse) GetCreatedAdmins() []*AddOrganizationResponse_CreatedAdmin { + if x != nil { + return x.CreatedAdmins + } + return nil +} + +type AddOrganizationRequest_Admin struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to UserType: + // + // *AddOrganizationRequest_Admin_UserId + // *AddOrganizationRequest_Admin_Human + UserType isAddOrganizationRequest_Admin_UserType `protobuf_oneof:"user_type"` + // specify Org Member Roles for the provided user (default is ORG_OWNER if roles are empty) + Roles []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` +} + +func (x *AddOrganizationRequest_Admin) Reset() { + *x = AddOrganizationRequest_Admin{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_org_v2beta_org_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddOrganizationRequest_Admin) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddOrganizationRequest_Admin) ProtoMessage() {} + +func (x *AddOrganizationRequest_Admin) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_org_v2beta_org_service_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddOrganizationRequest_Admin.ProtoReflect.Descriptor instead. +func (*AddOrganizationRequest_Admin) Descriptor() ([]byte, []int) { + return file_zitadel_org_v2beta_org_service_proto_rawDescGZIP(), []int{0, 0} +} + +func (m *AddOrganizationRequest_Admin) GetUserType() isAddOrganizationRequest_Admin_UserType { + if m != nil { + return m.UserType + } + return nil +} + +func (x *AddOrganizationRequest_Admin) GetUserId() string { + if x, ok := x.GetUserType().(*AddOrganizationRequest_Admin_UserId); ok { + return x.UserId + } + return "" +} + +func (x *AddOrganizationRequest_Admin) GetHuman() *v2beta1.AddHumanUserRequest { + if x, ok := x.GetUserType().(*AddOrganizationRequest_Admin_Human); ok { + return x.Human + } + return nil +} + +func (x *AddOrganizationRequest_Admin) GetRoles() []string { + if x != nil { + return x.Roles + } + return nil +} + +type isAddOrganizationRequest_Admin_UserType interface { + isAddOrganizationRequest_Admin_UserType() +} + +type AddOrganizationRequest_Admin_UserId struct { + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"` +} + +type AddOrganizationRequest_Admin_Human struct { + Human *v2beta1.AddHumanUserRequest `protobuf:"bytes,2,opt,name=human,proto3,oneof"` +} + +func (*AddOrganizationRequest_Admin_UserId) isAddOrganizationRequest_Admin_UserType() {} + +func (*AddOrganizationRequest_Admin_Human) isAddOrganizationRequest_Admin_UserType() {} + +type AddOrganizationResponse_CreatedAdmin struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + EmailCode *string `protobuf:"bytes,2,opt,name=email_code,json=emailCode,proto3,oneof" json:"email_code,omitempty"` + PhoneCode *string `protobuf:"bytes,3,opt,name=phone_code,json=phoneCode,proto3,oneof" json:"phone_code,omitempty"` +} + +func (x *AddOrganizationResponse_CreatedAdmin) Reset() { + *x = AddOrganizationResponse_CreatedAdmin{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_org_v2beta_org_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddOrganizationResponse_CreatedAdmin) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddOrganizationResponse_CreatedAdmin) ProtoMessage() {} + +func (x *AddOrganizationResponse_CreatedAdmin) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_org_v2beta_org_service_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddOrganizationResponse_CreatedAdmin.ProtoReflect.Descriptor instead. +func (*AddOrganizationResponse_CreatedAdmin) Descriptor() ([]byte, []int) { + return file_zitadel_org_v2beta_org_service_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *AddOrganizationResponse_CreatedAdmin) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *AddOrganizationResponse_CreatedAdmin) GetEmailCode() string { + if x != nil && x.EmailCode != nil { + return *x.EmailCode + } + return "" +} + +func (x *AddOrganizationResponse_CreatedAdmin) GetPhoneCode() string { + if x != nil && x.PhoneCode != nil { + return *x.PhoneCode + } + return "" +} + +var File_zitadel_org_v2beta_org_service_proto protoreflect.FileDescriptor + +var file_zitadel_org_v2beta_org_service_proto_rawDesc = []byte{ + 0x0a, 0x24, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6f, 0x72, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x6f, 0x72, 0x67, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x22, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, + 0x65, 0x6e, 0x5f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x7a, 0x69, 0x74, + 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x7a, 0x69, 0x74, + 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2f, 0x69, 0x64, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x26, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, + 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa3, + 0x02, 0x0a, 0x16, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, + 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x11, 0x4a, 0x09, 0x22, 0x5a, 0x49, 0x54, 0x41, + 0x44, 0x45, 0x4c, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x48, 0x0a, 0x06, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x30, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x64, 0x6d, + 0x69, 0x6e, 0x52, 0x06, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x1a, 0x87, 0x01, 0x0a, 0x05, 0x41, + 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x19, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x40, 0x0a, 0x05, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, + 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x64, 0x64, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x05, 0x68, 0x75, 0x6d, 0x61, + 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x22, 0xed, 0x02, 0x0a, 0x17, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x5f, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, + 0x64, 0x6d, 0x69, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2e, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x64, + 0x6d, 0x69, 0x6e, 0x73, 0x1a, 0x8d, 0x01, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, + 0x0a, 0x0a, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x88, + 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x09, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x43, + 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, + 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, + 0x63, 0x6f, 0x64, 0x65, 0x32, 0xf4, 0x02, 0x0a, 0x13, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xdc, 0x02, 0x0a, + 0x0f, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x2a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2e, 0x41, 0x64, 0x64, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xef, 0x01, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x1a, 0x22, 0x15, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x13, + 0x0a, 0x0c, 0x0a, 0x0a, 0x6f, 0x72, 0x67, 0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x03, + 0x08, 0xc9, 0x01, 0x92, 0x41, 0xb4, 0x01, 0x12, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, + 0x61, 0x6e, 0x20, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, + 0x8c, 0x01, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x61, 0x20, 0x6e, 0x65, 0x77, 0x20, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x77, 0x69, 0x74, 0x68, + 0x20, 0x61, 0x6e, 0x20, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x76, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x20, 0x49, 0x66, 0x20, 0x6e, 0x6f, 0x20, 0x73, + 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x20, 0x61, 0x72, + 0x65, 0x20, 0x73, 0x65, 0x6e, 0x74, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, + 0x73, 0x65, 0x72, 0x73, 0x2c, 0x20, 0x74, 0x68, 0x65, 0x79, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, + 0x62, 0x65, 0x20, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, + 0x6f, 0x6c, 0x65, 0x20, 0x4f, 0x52, 0x47, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x2e, 0x4a, 0x0b, + 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x42, 0xb5, 0x08, 0x5a, 0x32, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, + 0x72, 0x70, 0x63, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x6f, + 0x72, 0x67, 0x92, 0x41, 0xfd, 0x07, 0x12, 0xdb, 0x02, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x20, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xcc, 0x01, 0x54, 0x68, 0x69, 0x73, 0x20, 0x41, + 0x50, 0x49, 0x20, 0x69, 0x73, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x20, 0x74, + 0x6f, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x20, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x69, 0x6e, 0x20, 0x61, 0x20, 0x5a, 0x49, 0x54, 0x41, + 0x44, 0x45, 0x4c, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x20, 0x54, 0x68, + 0x69, 0x73, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x69, 0x73, 0x20, 0x69, 0x6e, + 0x20, 0x62, 0x65, 0x74, 0x61, 0x20, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x20, 0x49, 0x74, 0x20, + 0x63, 0x61, 0x6e, 0x20, 0x41, 0x4e, 0x44, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x63, 0x6f, 0x6e, + 0x74, 0x69, 0x6e, 0x75, 0x65, 0x20, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x20, 0x75, + 0x6e, 0x74, 0x69, 0x6c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x61, + 0x6d, 0x65, 0x20, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, + 0x20, 0x61, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x20, + 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x22, 0x2e, 0x0a, 0x07, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, + 0x4c, 0x12, 0x13, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x1a, 0x0e, 0x68, 0x69, 0x40, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x2a, 0x42, 0x0a, 0x0a, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, + 0x20, 0x32, 0x2e, 0x30, 0x12, 0x34, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d, 0x61, + 0x69, 0x6e, 0x2f, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x32, 0x08, 0x32, 0x2e, 0x30, 0x2d, + 0x62, 0x65, 0x74, 0x61, 0x1a, 0x0e, 0x24, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x2d, 0x44, 0x4f, + 0x4d, 0x41, 0x49, 0x4e, 0x22, 0x01, 0x2f, 0x2a, 0x02, 0x02, 0x01, 0x32, 0x10, 0x61, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x32, + 0x1a, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, + 0x63, 0x2d, 0x77, 0x65, 0x62, 0x2b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x10, 0x61, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3a, + 0x1a, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, + 0x63, 0x2d, 0x77, 0x65, 0x62, 0x2b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x6d, 0x0a, 0x03, 0x34, + 0x30, 0x33, 0x12, 0x66, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, + 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, + 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x12, 0x1b, 0x0a, + 0x19, 0x1a, 0x17, 0x23, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x72, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, + 0x34, 0x12, 0x49, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, + 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, + 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, + 0x1b, 0x0a, 0x19, 0x1a, 0x17, 0x23, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x72, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5a, 0xc2, 0x01, 0x0a, + 0xbf, 0x01, 0x0a, 0x06, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x12, 0xb4, 0x01, 0x08, 0x03, 0x28, + 0x04, 0x32, 0x21, 0x24, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x2d, 0x44, 0x4f, 0x4d, 0x41, 0x49, + 0x4e, 0x2f, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x65, 0x3a, 0x1d, 0x24, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x2d, 0x44, 0x4f, + 0x4d, 0x41, 0x49, 0x4e, 0x2f, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x42, 0x6c, 0x0a, 0x10, 0x0a, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x12, + 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x0a, 0x58, 0x0a, 0x2a, 0x75, 0x72, 0x6e, 0x3a, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, 0x69, 0x61, 0x6d, 0x3a, 0x6f, 0x72, 0x67, 0x3a, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3a, 0x69, 0x64, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x3a, 0x61, 0x75, 0x64, 0x12, 0x2a, 0x75, 0x72, 0x6e, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x3a, 0x69, 0x61, 0x6d, 0x3a, 0x6f, 0x72, 0x67, 0x3a, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x3a, 0x69, 0x64, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, 0x61, 0x75, + 0x64, 0x62, 0x40, 0x0a, 0x3e, 0x0a, 0x06, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x12, 0x34, 0x0a, + 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x0a, 0x2a, 0x75, 0x72, 0x6e, 0x3a, 0x7a, 0x69, 0x74, + 0x61, 0x64, 0x65, 0x6c, 0x3a, 0x69, 0x61, 0x6d, 0x3a, 0x6f, 0x72, 0x67, 0x3a, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x3a, 0x69, 0x64, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, + 0x61, 0x75, 0x64, 0x72, 0x3e, 0x0a, 0x22, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x20, + 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x61, 0x62, 0x6f, 0x75, + 0x74, 0x20, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x12, 0x18, 0x68, 0x74, 0x74, 0x70, 0x73, + 0x3a, 0x2f, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, + 0x6f, 0x63, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_org_v2beta_org_service_proto_rawDescOnce sync.Once + file_zitadel_org_v2beta_org_service_proto_rawDescData = file_zitadel_org_v2beta_org_service_proto_rawDesc +) + +func file_zitadel_org_v2beta_org_service_proto_rawDescGZIP() []byte { + file_zitadel_org_v2beta_org_service_proto_rawDescOnce.Do(func() { + file_zitadel_org_v2beta_org_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_org_v2beta_org_service_proto_rawDescData) + }) + return file_zitadel_org_v2beta_org_service_proto_rawDescData +} + +var file_zitadel_org_v2beta_org_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_zitadel_org_v2beta_org_service_proto_goTypes = []interface{}{ + (*AddOrganizationRequest)(nil), // 0: zitadel.org.v2beta.AddOrganizationRequest + (*AddOrganizationResponse)(nil), // 1: zitadel.org.v2beta.AddOrganizationResponse + (*AddOrganizationRequest_Admin)(nil), // 2: zitadel.org.v2beta.AddOrganizationRequest.Admin + (*AddOrganizationResponse_CreatedAdmin)(nil), // 3: zitadel.org.v2beta.AddOrganizationResponse.CreatedAdmin + (*v2beta.Details)(nil), // 4: zitadel.object.v2beta.Details + (*v2beta1.AddHumanUserRequest)(nil), // 5: zitadel.user.v2beta.AddHumanUserRequest +} +var file_zitadel_org_v2beta_org_service_proto_depIdxs = []int32{ + 2, // 0: zitadel.org.v2beta.AddOrganizationRequest.admins:type_name -> zitadel.org.v2beta.AddOrganizationRequest.Admin + 4, // 1: zitadel.org.v2beta.AddOrganizationResponse.details:type_name -> zitadel.object.v2beta.Details + 3, // 2: zitadel.org.v2beta.AddOrganizationResponse.created_admins:type_name -> zitadel.org.v2beta.AddOrganizationResponse.CreatedAdmin + 5, // 3: zitadel.org.v2beta.AddOrganizationRequest.Admin.human:type_name -> zitadel.user.v2beta.AddHumanUserRequest + 0, // 4: zitadel.org.v2beta.OrganizationService.AddOrganization:input_type -> zitadel.org.v2beta.AddOrganizationRequest + 1, // 5: zitadel.org.v2beta.OrganizationService.AddOrganization:output_type -> zitadel.org.v2beta.AddOrganizationResponse + 5, // [5:6] is the sub-list for method output_type + 4, // [4:5] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_zitadel_org_v2beta_org_service_proto_init() } +func file_zitadel_org_v2beta_org_service_proto_init() { + if File_zitadel_org_v2beta_org_service_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_zitadel_org_v2beta_org_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddOrganizationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_org_v2beta_org_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddOrganizationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_org_v2beta_org_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddOrganizationRequest_Admin); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_org_v2beta_org_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddOrganizationResponse_CreatedAdmin); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_zitadel_org_v2beta_org_service_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*AddOrganizationRequest_Admin_UserId)(nil), + (*AddOrganizationRequest_Admin_Human)(nil), + } + file_zitadel_org_v2beta_org_service_proto_msgTypes[3].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_org_v2beta_org_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_zitadel_org_v2beta_org_service_proto_goTypes, + DependencyIndexes: file_zitadel_org_v2beta_org_service_proto_depIdxs, + MessageInfos: file_zitadel_org_v2beta_org_service_proto_msgTypes, + }.Build() + File_zitadel_org_v2beta_org_service_proto = out.File + file_zitadel_org_v2beta_org_service_proto_rawDesc = nil + file_zitadel_org_v2beta_org_service_proto_goTypes = nil + file_zitadel_org_v2beta_org_service_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/org/v2beta/org_service_grpc.pb.go b/pkg/client/zitadel/org/v2beta/org_service_grpc.pb.go new file mode 100644 index 0000000..3b3c430 --- /dev/null +++ b/pkg/client/zitadel/org/v2beta/org_service_grpc.pb.go @@ -0,0 +1,103 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package org + +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.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// OrganizationServiceClient is the client API for OrganizationService 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 OrganizationServiceClient interface { + // Create a new organization and grant the user(s) permission to manage it + AddOrganization(ctx context.Context, in *AddOrganizationRequest, opts ...grpc.CallOption) (*AddOrganizationResponse, error) +} + +type organizationServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewOrganizationServiceClient(cc grpc.ClientConnInterface) OrganizationServiceClient { + return &organizationServiceClient{cc} +} + +func (c *organizationServiceClient) AddOrganization(ctx context.Context, in *AddOrganizationRequest, opts ...grpc.CallOption) (*AddOrganizationResponse, error) { + out := new(AddOrganizationResponse) + err := c.cc.Invoke(ctx, "/zitadel.org.v2beta.OrganizationService/AddOrganization", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// OrganizationServiceServer is the server API for OrganizationService service. +// All implementations must embed UnimplementedOrganizationServiceServer +// for forward compatibility +type OrganizationServiceServer interface { + // Create a new organization and grant the user(s) permission to manage it + AddOrganization(context.Context, *AddOrganizationRequest) (*AddOrganizationResponse, error) + mustEmbedUnimplementedOrganizationServiceServer() +} + +// UnimplementedOrganizationServiceServer must be embedded to have forward compatible implementations. +type UnimplementedOrganizationServiceServer struct { +} + +func (UnimplementedOrganizationServiceServer) AddOrganization(context.Context, *AddOrganizationRequest) (*AddOrganizationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddOrganization not implemented") +} +func (UnimplementedOrganizationServiceServer) mustEmbedUnimplementedOrganizationServiceServer() {} + +// UnsafeOrganizationServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to OrganizationServiceServer will +// result in compilation errors. +type UnsafeOrganizationServiceServer interface { + mustEmbedUnimplementedOrganizationServiceServer() +} + +func RegisterOrganizationServiceServer(s grpc.ServiceRegistrar, srv OrganizationServiceServer) { + s.RegisterService(&OrganizationService_ServiceDesc, srv) +} + +func _OrganizationService_AddOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddOrganizationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OrganizationServiceServer).AddOrganization(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.org.v2beta.OrganizationService/AddOrganization", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OrganizationServiceServer).AddOrganization(ctx, req.(*AddOrganizationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// OrganizationService_ServiceDesc is the grpc.ServiceDesc for OrganizationService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var OrganizationService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "zitadel.org.v2beta.OrganizationService", + HandlerType: (*OrganizationServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "AddOrganization", + Handler: _OrganizationService_AddOrganization_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "zitadel/org/v2beta/org_service.proto", +} diff --git a/pkg/client/zitadel/settings/v2beta/branding_settings.pb.go b/pkg/client/zitadel/settings/v2beta/branding_settings.pb.go new file mode 100644 index 0000000..9f7a8a3 --- /dev/null +++ b/pkg/client/zitadel/settings/v2beta/branding_settings.pb.go @@ -0,0 +1,389 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/settings/v2beta/branding_settings.proto + +package settings + +import ( + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type BrandingSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LightTheme *Theme `protobuf:"bytes,1,opt,name=light_theme,json=lightTheme,proto3" json:"light_theme,omitempty"` + DarkTheme *Theme `protobuf:"bytes,2,opt,name=dark_theme,json=darkTheme,proto3" json:"dark_theme,omitempty"` + FontUrl string `protobuf:"bytes,3,opt,name=font_url,json=fontUrl,proto3" json:"font_url,omitempty"` + // hides the org suffix on the login form if the scope \"urn:zitadel:iam:org:domain:primary:{domainname}\" is set + HideLoginNameSuffix bool `protobuf:"varint,4,opt,name=hide_login_name_suffix,json=hideLoginNameSuffix,proto3" json:"hide_login_name_suffix,omitempty"` + DisableWatermark bool `protobuf:"varint,5,opt,name=disable_watermark,json=disableWatermark,proto3" json:"disable_watermark,omitempty"` + // resource_owner_type returns if the setting is managed on the organization or on the instance + ResourceOwnerType ResourceOwnerType `protobuf:"varint,6,opt,name=resource_owner_type,json=resourceOwnerType,proto3,enum=zitadel.settings.v2beta.ResourceOwnerType" json:"resource_owner_type,omitempty"` +} + +func (x *BrandingSettings) Reset() { + *x = BrandingSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_branding_settings_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BrandingSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BrandingSettings) ProtoMessage() {} + +func (x *BrandingSettings) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_branding_settings_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BrandingSettings.ProtoReflect.Descriptor instead. +func (*BrandingSettings) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_branding_settings_proto_rawDescGZIP(), []int{0} +} + +func (x *BrandingSettings) GetLightTheme() *Theme { + if x != nil { + return x.LightTheme + } + return nil +} + +func (x *BrandingSettings) GetDarkTheme() *Theme { + if x != nil { + return x.DarkTheme + } + return nil +} + +func (x *BrandingSettings) GetFontUrl() string { + if x != nil { + return x.FontUrl + } + return "" +} + +func (x *BrandingSettings) GetHideLoginNameSuffix() bool { + if x != nil { + return x.HideLoginNameSuffix + } + return false +} + +func (x *BrandingSettings) GetDisableWatermark() bool { + if x != nil { + return x.DisableWatermark + } + return false +} + +func (x *BrandingSettings) GetResourceOwnerType() ResourceOwnerType { + if x != nil { + return x.ResourceOwnerType + } + return ResourceOwnerType_RESOURCE_OWNER_TYPE_UNSPECIFIED +} + +type Theme struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // hex value for primary color + PrimaryColor string `protobuf:"bytes,1,opt,name=primary_color,json=primaryColor,proto3" json:"primary_color,omitempty"` + // hex value for background color + BackgroundColor string `protobuf:"bytes,2,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"` + // hex value for warning color + WarnColor string `protobuf:"bytes,3,opt,name=warn_color,json=warnColor,proto3" json:"warn_color,omitempty"` + // hex value for font color + FontColor string `protobuf:"bytes,4,opt,name=font_color,json=fontColor,proto3" json:"font_color,omitempty"` + // url where the logo is served + LogoUrl string `protobuf:"bytes,5,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"` + // url where the icon is served + IconUrl string `protobuf:"bytes,6,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"` +} + +func (x *Theme) Reset() { + *x = Theme{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_branding_settings_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Theme) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Theme) ProtoMessage() {} + +func (x *Theme) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_branding_settings_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Theme.ProtoReflect.Descriptor instead. +func (*Theme) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_branding_settings_proto_rawDescGZIP(), []int{1} +} + +func (x *Theme) GetPrimaryColor() string { + if x != nil { + return x.PrimaryColor + } + return "" +} + +func (x *Theme) GetBackgroundColor() string { + if x != nil { + return x.BackgroundColor + } + return "" +} + +func (x *Theme) GetWarnColor() string { + if x != nil { + return x.WarnColor + } + return "" +} + +func (x *Theme) GetFontColor() string { + if x != nil { + return x.FontColor + } + return "" +} + +func (x *Theme) GetLogoUrl() string { + if x != nil { + return x.LogoUrl + } + return "" +} + +func (x *Theme) GetIconUrl() string { + if x != nil { + return x.IconUrl + } + return "" +} + +var File_zitadel_settings_v2beta_branding_settings_proto protoreflect.FileDescriptor + +var file_zitadel_settings_v2beta_branding_settings_proto_rawDesc = []byte{ + 0x0a, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x17, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, + 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xdc, 0x05, 0x0a, 0x10, 0x42, 0x72, 0x61, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3f, 0x0a, 0x0b, 0x6c, 0x69, 0x67, 0x68, 0x74, + 0x5f, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x68, 0x65, 0x6d, 0x65, 0x52, 0x0a, 0x6c, 0x69, + 0x67, 0x68, 0x74, 0x54, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x64, 0x61, 0x72, 0x6b, + 0x5f, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x68, 0x65, 0x6d, 0x65, 0x52, 0x09, 0x64, 0x61, + 0x72, 0x6b, 0x54, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x08, 0x66, 0x6f, 0x6e, 0x74, + 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x6f, 0x92, 0x41, 0x6c, 0x32, + 0x14, 0x75, 0x72, 0x6c, 0x20, 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x66, 0x6f, 0x6e, 0x74, + 0x20, 0x75, 0x73, 0x65, 0x64, 0x4a, 0x54, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, + 0x61, 0x63, 0x6d, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2f, + 0x76, 0x31, 0x2f, 0x31, 0x36, 0x35, 0x36, 0x31, 0x37, 0x38, 0x35, 0x30, 0x36, 0x39, 0x32, 0x36, + 0x35, 0x34, 0x36, 0x30, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2f, 0x6c, 0x61, 0x62, + 0x65, 0x6c, 0x2f, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x31, 0x38, 0x30, 0x39, 0x35, 0x30, 0x32, 0x34, + 0x33, 0x32, 0x33, 0x37, 0x34, 0x30, 0x35, 0x34, 0x34, 0x31, 0x22, 0x52, 0x07, 0x66, 0x6f, 0x6e, + 0x74, 0x55, 0x72, 0x6c, 0x12, 0xa6, 0x01, 0x0a, 0x16, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x6c, 0x6f, + 0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x71, 0x92, 0x41, 0x6e, 0x32, 0x6c, 0x68, 0x69, 0x64, 0x65, + 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6f, 0x72, 0x67, 0x20, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, + 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x20, 0x66, 0x6f, + 0x72, 0x6d, 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x20, + 0x22, 0x75, 0x72, 0x6e, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, 0x69, 0x61, 0x6d, + 0x3a, 0x6f, 0x72, 0x67, 0x3a, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x3a, 0x70, 0x72, 0x69, 0x6d, + 0x61, 0x72, 0x79, 0x3a, 0x7b, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, + 0x22, 0x20, 0x69, 0x73, 0x20, 0x73, 0x65, 0x74, 0x52, 0x13, 0x68, 0x69, 0x64, 0x65, 0x4c, 0x6f, + 0x67, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x52, 0x0a, + 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x77, 0x61, 0x74, 0x65, 0x72, 0x6d, 0x61, + 0x72, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x25, 0x92, 0x41, 0x22, 0x32, 0x20, 0x62, + 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x77, 0x61, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x72, 0x6b, 0x52, + 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x61, 0x74, 0x65, 0x72, 0x6d, 0x61, 0x72, + 0x6b, 0x12, 0xbd, 0x01, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x61, 0x92, 0x41, 0x5e, + 0x32, 0x5c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x20, 0x69, 0x66, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x73, 0x20, + 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x72, 0x20, 0x6f, + 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x11, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, + 0x65, 0x22, 0xd6, 0x04, 0x0a, 0x05, 0x54, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x0d, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x2b, 0x92, 0x41, 0x28, 0x32, 0x1b, 0x68, 0x65, 0x78, 0x20, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x20, 0x63, + 0x6f, 0x6c, 0x6f, 0x72, 0x4a, 0x09, 0x22, 0x23, 0x35, 0x34, 0x36, 0x39, 0x64, 0x34, 0x22, 0x52, + 0x0c, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x59, 0x0a, + 0x10, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2e, 0x92, 0x41, 0x2b, 0x32, 0x1e, 0x68, 0x65, + 0x78, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x62, 0x61, 0x63, 0x6b, + 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x20, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x4a, 0x09, 0x22, 0x23, + 0x46, 0x41, 0x46, 0x41, 0x46, 0x41, 0x22, 0x52, 0x0f, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, + 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x47, 0x0a, 0x0a, 0x77, 0x61, 0x72, 0x6e, + 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0x92, 0x41, + 0x25, 0x32, 0x18, 0x68, 0x65, 0x78, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x20, 0x66, 0x6f, 0x72, + 0x20, 0x77, 0x61, 0x72, 0x6e, 0x20, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x4a, 0x09, 0x22, 0x23, 0x43, + 0x44, 0x33, 0x44, 0x35, 0x36, 0x22, 0x52, 0x09, 0x77, 0x61, 0x72, 0x6e, 0x43, 0x6f, 0x6c, 0x6f, + 0x72, 0x12, 0x47, 0x0a, 0x0a, 0x66, 0x6f, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0x92, 0x41, 0x25, 0x32, 0x18, 0x68, 0x65, 0x78, 0x20, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x66, 0x6f, 0x6e, 0x74, 0x20, 0x63, + 0x6f, 0x6c, 0x6f, 0x72, 0x4a, 0x09, 0x22, 0x23, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x22, 0x52, + 0x09, 0x66, 0x6f, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x85, 0x01, 0x0a, 0x08, 0x6c, + 0x6f, 0x67, 0x6f, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x6a, 0x92, + 0x41, 0x67, 0x32, 0x0f, 0x75, 0x72, 0x6c, 0x20, 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, + 0x6f, 0x67, 0x6f, 0x4a, 0x54, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x63, + 0x6d, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x76, 0x31, + 0x2f, 0x31, 0x36, 0x35, 0x36, 0x31, 0x37, 0x38, 0x35, 0x30, 0x36, 0x39, 0x32, 0x36, 0x35, 0x34, + 0x36, 0x30, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, + 0x2f, 0x6c, 0x6f, 0x67, 0x6f, 0x2d, 0x31, 0x38, 0x30, 0x39, 0x35, 0x30, 0x34, 0x31, 0x36, 0x33, + 0x32, 0x31, 0x34, 0x39, 0x34, 0x36, 0x35, 0x37, 0x22, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x6f, 0x55, + 0x72, 0x6c, 0x12, 0x85, 0x01, 0x0a, 0x08, 0x69, 0x63, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x6a, 0x92, 0x41, 0x67, 0x32, 0x0f, 0x75, 0x72, 0x6c, 0x20, + 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x63, 0x6f, 0x6e, 0x4a, 0x54, 0x22, 0x68, 0x74, + 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x63, 0x6d, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x31, 0x36, 0x35, 0x36, 0x31, 0x37, 0x38, + 0x35, 0x30, 0x36, 0x39, 0x32, 0x36, 0x35, 0x34, 0x36, 0x30, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2f, 0x69, 0x63, 0x6f, 0x6e, 0x2d, 0x31, 0x38, + 0x30, 0x39, 0x35, 0x30, 0x34, 0x39, 0x38, 0x38, 0x37, 0x34, 0x31, 0x37, 0x38, 0x38, 0x31, 0x37, + 0x22, 0x52, 0x07, 0x69, 0x63, 0x6f, 0x6e, 0x55, 0x72, 0x6c, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x72, 0x70, + 0x63, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x3b, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_zitadel_settings_v2beta_branding_settings_proto_rawDescOnce sync.Once + file_zitadel_settings_v2beta_branding_settings_proto_rawDescData = file_zitadel_settings_v2beta_branding_settings_proto_rawDesc +) + +func file_zitadel_settings_v2beta_branding_settings_proto_rawDescGZIP() []byte { + file_zitadel_settings_v2beta_branding_settings_proto_rawDescOnce.Do(func() { + file_zitadel_settings_v2beta_branding_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_settings_v2beta_branding_settings_proto_rawDescData) + }) + return file_zitadel_settings_v2beta_branding_settings_proto_rawDescData +} + +var file_zitadel_settings_v2beta_branding_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_zitadel_settings_v2beta_branding_settings_proto_goTypes = []interface{}{ + (*BrandingSettings)(nil), // 0: zitadel.settings.v2beta.BrandingSettings + (*Theme)(nil), // 1: zitadel.settings.v2beta.Theme + (ResourceOwnerType)(0), // 2: zitadel.settings.v2beta.ResourceOwnerType +} +var file_zitadel_settings_v2beta_branding_settings_proto_depIdxs = []int32{ + 1, // 0: zitadel.settings.v2beta.BrandingSettings.light_theme:type_name -> zitadel.settings.v2beta.Theme + 1, // 1: zitadel.settings.v2beta.BrandingSettings.dark_theme:type_name -> zitadel.settings.v2beta.Theme + 2, // 2: zitadel.settings.v2beta.BrandingSettings.resource_owner_type:type_name -> zitadel.settings.v2beta.ResourceOwnerType + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_zitadel_settings_v2beta_branding_settings_proto_init() } +func file_zitadel_settings_v2beta_branding_settings_proto_init() { + if File_zitadel_settings_v2beta_branding_settings_proto != nil { + return + } + file_zitadel_settings_v2beta_settings_proto_init() + if !protoimpl.UnsafeEnabled { + file_zitadel_settings_v2beta_branding_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BrandingSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_branding_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Theme); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_settings_v2beta_branding_settings_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_settings_v2beta_branding_settings_proto_goTypes, + DependencyIndexes: file_zitadel_settings_v2beta_branding_settings_proto_depIdxs, + MessageInfos: file_zitadel_settings_v2beta_branding_settings_proto_msgTypes, + }.Build() + File_zitadel_settings_v2beta_branding_settings_proto = out.File + file_zitadel_settings_v2beta_branding_settings_proto_rawDesc = nil + file_zitadel_settings_v2beta_branding_settings_proto_goTypes = nil + file_zitadel_settings_v2beta_branding_settings_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/settings/v2beta/domain_settings.pb.go b/pkg/client/zitadel/settings/v2beta/domain_settings.pb.go new file mode 100644 index 0000000..84a58e1 --- /dev/null +++ b/pkg/client/zitadel/settings/v2beta/domain_settings.pb.go @@ -0,0 +1,225 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/settings/v2beta/domain_settings.proto + +package settings + +import ( + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type DomainSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + LoginNameIncludesDomain bool `protobuf:"varint,1,opt,name=login_name_includes_domain,json=loginNameIncludesDomain,proto3" json:"login_name_includes_domain,omitempty"` + RequireOrgDomainVerification bool `protobuf:"varint,2,opt,name=require_org_domain_verification,json=requireOrgDomainVerification,proto3" json:"require_org_domain_verification,omitempty"` + SmtpSenderAddressMatchesInstanceDomain bool `protobuf:"varint,3,opt,name=smtp_sender_address_matches_instance_domain,json=smtpSenderAddressMatchesInstanceDomain,proto3" json:"smtp_sender_address_matches_instance_domain,omitempty"` + // resource_owner_type returns if the setting is managed on the organization or on the instance + ResourceOwnerType ResourceOwnerType `protobuf:"varint,6,opt,name=resource_owner_type,json=resourceOwnerType,proto3,enum=zitadel.settings.v2beta.ResourceOwnerType" json:"resource_owner_type,omitempty"` +} + +func (x *DomainSettings) Reset() { + *x = DomainSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_domain_settings_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DomainSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DomainSettings) ProtoMessage() {} + +func (x *DomainSettings) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_domain_settings_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DomainSettings.ProtoReflect.Descriptor instead. +func (*DomainSettings) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_domain_settings_proto_rawDescGZIP(), []int{0} +} + +func (x *DomainSettings) GetLoginNameIncludesDomain() bool { + if x != nil { + return x.LoginNameIncludesDomain + } + return false +} + +func (x *DomainSettings) GetRequireOrgDomainVerification() bool { + if x != nil { + return x.RequireOrgDomainVerification + } + return false +} + +func (x *DomainSettings) GetSmtpSenderAddressMatchesInstanceDomain() bool { + if x != nil { + return x.SmtpSenderAddressMatchesInstanceDomain + } + return false +} + +func (x *DomainSettings) GetResourceOwnerType() ResourceOwnerType { + if x != nil { + return x.ResourceOwnerType + } + return ResourceOwnerType_RESOURCE_OWNER_TYPE_UNSPECIFIED +} + +var File_zitadel_settings_v2beta_domain_settings_proto protoreflect.FileDescriptor + +var file_zitadel_settings_v2beta_domain_settings_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, + 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x17, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xc8, 0x05, 0x0a, 0x0e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x12, 0x7d, 0x0a, 0x1a, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x40, 0x92, 0x41, 0x3d, 0x32, 0x3b, 0x74, 0x68, + 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x68, 0x61, 0x73, 0x20, 0x74, + 0x6f, 0x20, 0x65, 0x6e, 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x69, 0x74, 0x73, 0x20, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x17, 0x6c, 0x6f, 0x67, 0x69, 0x6e, + 0x4e, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x73, 0x44, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x12, 0xb8, 0x01, 0x0a, 0x1f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f, 0x6f, + 0x72, 0x67, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x71, 0x92, 0x41, + 0x6e, 0x32, 0x6c, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x73, 0x20, 0x69, 0x66, 0x20, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x73, 0x20, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x20, 0x62, 0x65, 0x20, 0x76, 0x65, 0x72, + 0x69, 0x66, 0x69, 0x65, 0x64, 0x20, 0x75, 0x70, 0x6f, 0x6e, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2c, 0x20, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x77, 0x69, 0x73, 0x65, 0x20, 0x77, + 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x61, + 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, + 0x1c, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x4f, 0x72, 0x67, 0x44, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xbb, 0x01, + 0x0a, 0x2b, 0x73, 0x6d, 0x74, 0x70, 0x5f, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x5f, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x42, 0x5e, 0x92, 0x41, 0x5b, 0x32, 0x59, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, + 0x73, 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x53, 0x4d, 0x54, 0x50, 0x20, 0x73, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x20, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x20, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x20, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x20, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x20, 0x61, 0x6e, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x64, 0x6f, 0x6d, + 0x61, 0x69, 0x6e, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x52, 0x26, 0x73, 0x6d, 0x74, 0x70, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x49, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0xbd, 0x01, 0x0a, 0x13, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, + 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x61, 0x92, 0x41, 0x5e, 0x32, 0x5c, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x20, + 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x73, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x64, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x72, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x3e, 0x5a, 0x3c, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x72, + 0x70, 0x63, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x3b, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_settings_v2beta_domain_settings_proto_rawDescOnce sync.Once + file_zitadel_settings_v2beta_domain_settings_proto_rawDescData = file_zitadel_settings_v2beta_domain_settings_proto_rawDesc +) + +func file_zitadel_settings_v2beta_domain_settings_proto_rawDescGZIP() []byte { + file_zitadel_settings_v2beta_domain_settings_proto_rawDescOnce.Do(func() { + file_zitadel_settings_v2beta_domain_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_settings_v2beta_domain_settings_proto_rawDescData) + }) + return file_zitadel_settings_v2beta_domain_settings_proto_rawDescData +} + +var file_zitadel_settings_v2beta_domain_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_zitadel_settings_v2beta_domain_settings_proto_goTypes = []interface{}{ + (*DomainSettings)(nil), // 0: zitadel.settings.v2beta.DomainSettings + (ResourceOwnerType)(0), // 1: zitadel.settings.v2beta.ResourceOwnerType +} +var file_zitadel_settings_v2beta_domain_settings_proto_depIdxs = []int32{ + 1, // 0: zitadel.settings.v2beta.DomainSettings.resource_owner_type:type_name -> zitadel.settings.v2beta.ResourceOwnerType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_zitadel_settings_v2beta_domain_settings_proto_init() } +func file_zitadel_settings_v2beta_domain_settings_proto_init() { + if File_zitadel_settings_v2beta_domain_settings_proto != nil { + return + } + file_zitadel_settings_v2beta_settings_proto_init() + if !protoimpl.UnsafeEnabled { + file_zitadel_settings_v2beta_domain_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DomainSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_settings_v2beta_domain_settings_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_settings_v2beta_domain_settings_proto_goTypes, + DependencyIndexes: file_zitadel_settings_v2beta_domain_settings_proto_depIdxs, + MessageInfos: file_zitadel_settings_v2beta_domain_settings_proto_msgTypes, + }.Build() + File_zitadel_settings_v2beta_domain_settings_proto = out.File + file_zitadel_settings_v2beta_domain_settings_proto_rawDesc = nil + file_zitadel_settings_v2beta_domain_settings_proto_goTypes = nil + file_zitadel_settings_v2beta_domain_settings_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/settings/v2beta/legal_settings.pb.go b/pkg/client/zitadel/settings/v2beta/legal_settings.pb.go new file mode 100644 index 0000000..4ff9b91 --- /dev/null +++ b/pkg/client/zitadel/settings/v2beta/legal_settings.pb.go @@ -0,0 +1,228 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/settings/v2beta/legal_settings.proto + +package settings + +import ( + _ "github.com/envoyproxy/protoc-gen-validate/validate" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type LegalAndSupportSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TosLink string `protobuf:"bytes,1,opt,name=tos_link,json=tosLink,proto3" json:"tos_link,omitempty"` + PrivacyPolicyLink string `protobuf:"bytes,2,opt,name=privacy_policy_link,json=privacyPolicyLink,proto3" json:"privacy_policy_link,omitempty"` + HelpLink string `protobuf:"bytes,3,opt,name=help_link,json=helpLink,proto3" json:"help_link,omitempty"` + SupportEmail string `protobuf:"bytes,4,opt,name=support_email,json=supportEmail,proto3" json:"support_email,omitempty"` + // resource_owner_type returns if the setting is managed on the organization or on the instance + ResourceOwnerType ResourceOwnerType `protobuf:"varint,5,opt,name=resource_owner_type,json=resourceOwnerType,proto3,enum=zitadel.settings.v2beta.ResourceOwnerType" json:"resource_owner_type,omitempty"` +} + +func (x *LegalAndSupportSettings) Reset() { + *x = LegalAndSupportSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_legal_settings_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LegalAndSupportSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LegalAndSupportSettings) ProtoMessage() {} + +func (x *LegalAndSupportSettings) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_legal_settings_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LegalAndSupportSettings.ProtoReflect.Descriptor instead. +func (*LegalAndSupportSettings) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_legal_settings_proto_rawDescGZIP(), []int{0} +} + +func (x *LegalAndSupportSettings) GetTosLink() string { + if x != nil { + return x.TosLink + } + return "" +} + +func (x *LegalAndSupportSettings) GetPrivacyPolicyLink() string { + if x != nil { + return x.PrivacyPolicyLink + } + return "" +} + +func (x *LegalAndSupportSettings) GetHelpLink() string { + if x != nil { + return x.HelpLink + } + return "" +} + +func (x *LegalAndSupportSettings) GetSupportEmail() string { + if x != nil { + return x.SupportEmail + } + return "" +} + +func (x *LegalAndSupportSettings) GetResourceOwnerType() ResourceOwnerType { + if x != nil { + return x.ResourceOwnerType + } + return ResourceOwnerType_RESOURCE_OWNER_TYPE_UNSPECIFIED +} + +var File_zitadel_settings_v2beta_legal_settings_proto protoreflect.FileDescriptor + +var file_zitadel_settings_v2beta_legal_settings_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x5f, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, + 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd5, 0x04, 0x0a, 0x17, 0x4c, 0x65, 0x67, + 0x61, 0x6c, 0x41, 0x6e, 0x64, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x12, 0x51, 0x0a, 0x08, 0x74, 0x6f, 0x73, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, 0x92, 0x41, 0x33, 0x4a, 0x31, 0x22, 0x68, 0x74, + 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x64, 0x6f, 0x63, 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x72, + 0x6d, 0x73, 0x2d, 0x6f, 0x66, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x52, 0x07, + 0x74, 0x6f, 0x73, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x64, 0x0a, 0x13, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x63, 0x79, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x34, 0x92, 0x41, 0x31, 0x4a, 0x2f, 0x22, 0x68, 0x74, 0x74, 0x70, + 0x73, 0x3a, 0x2f, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x64, 0x6f, 0x63, 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, + 0x63, 0x79, 0x2d, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x52, 0x11, 0x70, 0x72, 0x69, 0x76, + 0x61, 0x63, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x51, 0x0a, + 0x09, 0x68, 0x65, 0x6c, 0x70, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x34, 0x92, 0x41, 0x31, 0x4a, 0x2f, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x6f, 0x63, 0x73, + 0x2f, 0x6d, 0x61, 0x6e, 0x75, 0x61, 0x6c, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x52, 0x08, 0x68, 0x65, 0x6c, 0x70, 0x4c, 0x69, 0x6e, 0x6b, + 0x12, 0x6e, 0x0a, 0x0d, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, + 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x49, 0xfa, 0x42, 0x0a, 0x72, 0x08, 0x18, 0xc0, + 0x02, 0x60, 0x01, 0xd0, 0x01, 0x01, 0x92, 0x41, 0x39, 0x32, 0x1d, 0x68, 0x65, 0x6c, 0x70, 0x20, + 0x2f, 0x20, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x20, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x20, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x4a, 0x18, 0x22, 0x73, 0x75, 0x70, 0x70, 0x6f, + 0x72, 0x74, 0x2d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x40, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x63, 0x6f, + 0x6d, 0x22, 0x52, 0x0c, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, + 0x12, 0xbd, 0x01, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, + 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x61, 0x92, 0x41, 0x5e, 0x32, + 0x5c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x20, 0x69, 0x66, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x69, 0x73, 0x20, 0x6d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x72, 0x20, 0x6f, 0x6e, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x11, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, + 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, + 0x6b, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_settings_v2beta_legal_settings_proto_rawDescOnce sync.Once + file_zitadel_settings_v2beta_legal_settings_proto_rawDescData = file_zitadel_settings_v2beta_legal_settings_proto_rawDesc +) + +func file_zitadel_settings_v2beta_legal_settings_proto_rawDescGZIP() []byte { + file_zitadel_settings_v2beta_legal_settings_proto_rawDescOnce.Do(func() { + file_zitadel_settings_v2beta_legal_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_settings_v2beta_legal_settings_proto_rawDescData) + }) + return file_zitadel_settings_v2beta_legal_settings_proto_rawDescData +} + +var file_zitadel_settings_v2beta_legal_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_zitadel_settings_v2beta_legal_settings_proto_goTypes = []interface{}{ + (*LegalAndSupportSettings)(nil), // 0: zitadel.settings.v2beta.LegalAndSupportSettings + (ResourceOwnerType)(0), // 1: zitadel.settings.v2beta.ResourceOwnerType +} +var file_zitadel_settings_v2beta_legal_settings_proto_depIdxs = []int32{ + 1, // 0: zitadel.settings.v2beta.LegalAndSupportSettings.resource_owner_type:type_name -> zitadel.settings.v2beta.ResourceOwnerType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_zitadel_settings_v2beta_legal_settings_proto_init() } +func file_zitadel_settings_v2beta_legal_settings_proto_init() { + if File_zitadel_settings_v2beta_legal_settings_proto != nil { + return + } + file_zitadel_settings_v2beta_settings_proto_init() + if !protoimpl.UnsafeEnabled { + file_zitadel_settings_v2beta_legal_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LegalAndSupportSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_settings_v2beta_legal_settings_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_settings_v2beta_legal_settings_proto_goTypes, + DependencyIndexes: file_zitadel_settings_v2beta_legal_settings_proto_depIdxs, + MessageInfos: file_zitadel_settings_v2beta_legal_settings_proto_msgTypes, + }.Build() + File_zitadel_settings_v2beta_legal_settings_proto = out.File + file_zitadel_settings_v2beta_legal_settings_proto_rawDesc = nil + file_zitadel_settings_v2beta_legal_settings_proto_goTypes = nil + file_zitadel_settings_v2beta_legal_settings_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/settings/v2beta/lockout_settings.pb.go b/pkg/client/zitadel/settings/v2beta/lockout_settings.pb.go new file mode 100644 index 0000000..c2ebb29 --- /dev/null +++ b/pkg/client/zitadel/settings/v2beta/lockout_settings.pb.go @@ -0,0 +1,194 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/settings/v2beta/lockout_settings.proto + +package settings + +import ( + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type LockoutSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MaxPasswordAttempts uint64 `protobuf:"varint,1,opt,name=max_password_attempts,json=maxPasswordAttempts,proto3" json:"max_password_attempts,omitempty"` + // resource_owner_type returns if the settings is managed on the organization or on the instance + ResourceOwnerType ResourceOwnerType `protobuf:"varint,2,opt,name=resource_owner_type,json=resourceOwnerType,proto3,enum=zitadel.settings.v2beta.ResourceOwnerType" json:"resource_owner_type,omitempty"` +} + +func (x *LockoutSettings) Reset() { + *x = LockoutSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_lockout_settings_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LockoutSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LockoutSettings) ProtoMessage() {} + +func (x *LockoutSettings) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_lockout_settings_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LockoutSettings.ProtoReflect.Descriptor instead. +func (*LockoutSettings) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_lockout_settings_proto_rawDescGZIP(), []int{0} +} + +func (x *LockoutSettings) GetMaxPasswordAttempts() uint64 { + if x != nil { + return x.MaxPasswordAttempts + } + return 0 +} + +func (x *LockoutSettings) GetResourceOwnerType() ResourceOwnerType { + if x != nil { + return x.ResourceOwnerType + } + return ResourceOwnerType_RESOURCE_OWNER_TYPE_UNSPECIFIED +} + +var File_zitadel_settings_v2beta_lockout_settings_proto protoreflect.FileDescriptor + +var file_zitadel_settings_v2beta_lockout_settings_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6c, 0x6f, 0x63, 0x6b, 0x6f, 0x75, + 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x17, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xde, 0x03, 0x0a, 0x0f, 0x4c, 0x6f, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x89, 0x02, 0x0a, 0x15, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0xd4, 0x01, 0x92, 0x41, 0xd0, 0x01, 0x32, 0xc7, 0x01, 0x4d, + 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x20, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x20, 0x62, + 0x65, 0x66, 0x6f, 0x72, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x20, 0x67, 0x65, 0x74, 0x73, 0x20, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x2e, 0x20, 0x41, + 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x20, 0x61, 0x72, 0x65, 0x20, 0x72, 0x65, 0x73, 0x65, + 0x74, 0x20, 0x61, 0x73, 0x20, 0x73, 0x6f, 0x6f, 0x6e, 0x20, 0x61, 0x73, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x69, 0x73, 0x20, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x65, 0x64, 0x20, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x63, 0x74, 0x6c, 0x79, 0x20, 0x6f, + 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x69, + 0x73, 0x20, 0x72, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x20, 0x49, 0x66, 0x20, 0x73, 0x65, 0x74, 0x20, + 0x74, 0x6f, 0x20, 0x30, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x6e, 0x65, 0x76, 0x65, 0x72, 0x20, 0x62, 0x65, 0x20, 0x6c, + 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x2e, 0x4a, 0x04, 0x22, 0x31, 0x30, 0x22, 0x52, 0x13, 0x6d, 0x61, + 0x78, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, + 0x73, 0x12, 0xbe, 0x01, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x62, 0x92, 0x41, 0x5f, + 0x32, 0x5d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x73, 0x20, 0x69, 0x66, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x20, 0x69, 0x73, + 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x72, 0x20, + 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, + 0x11, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, + 0x70, 0x65, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_settings_v2beta_lockout_settings_proto_rawDescOnce sync.Once + file_zitadel_settings_v2beta_lockout_settings_proto_rawDescData = file_zitadel_settings_v2beta_lockout_settings_proto_rawDesc +) + +func file_zitadel_settings_v2beta_lockout_settings_proto_rawDescGZIP() []byte { + file_zitadel_settings_v2beta_lockout_settings_proto_rawDescOnce.Do(func() { + file_zitadel_settings_v2beta_lockout_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_settings_v2beta_lockout_settings_proto_rawDescData) + }) + return file_zitadel_settings_v2beta_lockout_settings_proto_rawDescData +} + +var file_zitadel_settings_v2beta_lockout_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_zitadel_settings_v2beta_lockout_settings_proto_goTypes = []interface{}{ + (*LockoutSettings)(nil), // 0: zitadel.settings.v2beta.LockoutSettings + (ResourceOwnerType)(0), // 1: zitadel.settings.v2beta.ResourceOwnerType +} +var file_zitadel_settings_v2beta_lockout_settings_proto_depIdxs = []int32{ + 1, // 0: zitadel.settings.v2beta.LockoutSettings.resource_owner_type:type_name -> zitadel.settings.v2beta.ResourceOwnerType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_zitadel_settings_v2beta_lockout_settings_proto_init() } +func file_zitadel_settings_v2beta_lockout_settings_proto_init() { + if File_zitadel_settings_v2beta_lockout_settings_proto != nil { + return + } + file_zitadel_settings_v2beta_settings_proto_init() + if !protoimpl.UnsafeEnabled { + file_zitadel_settings_v2beta_lockout_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LockoutSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_settings_v2beta_lockout_settings_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_settings_v2beta_lockout_settings_proto_goTypes, + DependencyIndexes: file_zitadel_settings_v2beta_lockout_settings_proto_depIdxs, + MessageInfos: file_zitadel_settings_v2beta_lockout_settings_proto_msgTypes, + }.Build() + File_zitadel_settings_v2beta_lockout_settings_proto = out.File + file_zitadel_settings_v2beta_lockout_settings_proto_rawDesc = nil + file_zitadel_settings_v2beta_lockout_settings_proto_goTypes = nil + file_zitadel_settings_v2beta_lockout_settings_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/settings/v2beta/login_settings.pb.go b/pkg/client/zitadel/settings/v2beta/login_settings.pb.go new file mode 100644 index 0000000..0df7458 --- /dev/null +++ b/pkg/client/zitadel/settings/v2beta/login_settings.pb.go @@ -0,0 +1,876 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/settings/v2beta/login_settings.proto + +package settings + +import ( + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" +) + +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) +) + +type SecondFactorType int32 + +const ( + SecondFactorType_SECOND_FACTOR_TYPE_UNSPECIFIED SecondFactorType = 0 + // This is the type for TOTP + SecondFactorType_SECOND_FACTOR_TYPE_OTP SecondFactorType = 1 + SecondFactorType_SECOND_FACTOR_TYPE_U2F SecondFactorType = 2 + SecondFactorType_SECOND_FACTOR_TYPE_OTP_EMAIL SecondFactorType = 3 + SecondFactorType_SECOND_FACTOR_TYPE_OTP_SMS SecondFactorType = 4 +) + +// Enum value maps for SecondFactorType. +var ( + SecondFactorType_name = map[int32]string{ + 0: "SECOND_FACTOR_TYPE_UNSPECIFIED", + 1: "SECOND_FACTOR_TYPE_OTP", + 2: "SECOND_FACTOR_TYPE_U2F", + 3: "SECOND_FACTOR_TYPE_OTP_EMAIL", + 4: "SECOND_FACTOR_TYPE_OTP_SMS", + } + SecondFactorType_value = map[string]int32{ + "SECOND_FACTOR_TYPE_UNSPECIFIED": 0, + "SECOND_FACTOR_TYPE_OTP": 1, + "SECOND_FACTOR_TYPE_U2F": 2, + "SECOND_FACTOR_TYPE_OTP_EMAIL": 3, + "SECOND_FACTOR_TYPE_OTP_SMS": 4, + } +) + +func (x SecondFactorType) Enum() *SecondFactorType { + p := new(SecondFactorType) + *p = x + return p +} + +func (x SecondFactorType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SecondFactorType) Descriptor() protoreflect.EnumDescriptor { + return file_zitadel_settings_v2beta_login_settings_proto_enumTypes[0].Descriptor() +} + +func (SecondFactorType) Type() protoreflect.EnumType { + return &file_zitadel_settings_v2beta_login_settings_proto_enumTypes[0] +} + +func (x SecondFactorType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SecondFactorType.Descriptor instead. +func (SecondFactorType) EnumDescriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_login_settings_proto_rawDescGZIP(), []int{0} +} + +type MultiFactorType int32 + +const ( + MultiFactorType_MULTI_FACTOR_TYPE_UNSPECIFIED MultiFactorType = 0 + MultiFactorType_MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION MultiFactorType = 1 +) + +// Enum value maps for MultiFactorType. +var ( + MultiFactorType_name = map[int32]string{ + 0: "MULTI_FACTOR_TYPE_UNSPECIFIED", + 1: "MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION", + } + MultiFactorType_value = map[string]int32{ + "MULTI_FACTOR_TYPE_UNSPECIFIED": 0, + "MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION": 1, + } +) + +func (x MultiFactorType) Enum() *MultiFactorType { + p := new(MultiFactorType) + *p = x + return p +} + +func (x MultiFactorType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (MultiFactorType) Descriptor() protoreflect.EnumDescriptor { + return file_zitadel_settings_v2beta_login_settings_proto_enumTypes[1].Descriptor() +} + +func (MultiFactorType) Type() protoreflect.EnumType { + return &file_zitadel_settings_v2beta_login_settings_proto_enumTypes[1] +} + +func (x MultiFactorType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MultiFactorType.Descriptor instead. +func (MultiFactorType) EnumDescriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_login_settings_proto_rawDescGZIP(), []int{1} +} + +type PasskeysType int32 + +const ( + PasskeysType_PASSKEYS_TYPE_NOT_ALLOWED PasskeysType = 0 + PasskeysType_PASSKEYS_TYPE_ALLOWED PasskeysType = 1 +) + +// Enum value maps for PasskeysType. +var ( + PasskeysType_name = map[int32]string{ + 0: "PASSKEYS_TYPE_NOT_ALLOWED", + 1: "PASSKEYS_TYPE_ALLOWED", + } + PasskeysType_value = map[string]int32{ + "PASSKEYS_TYPE_NOT_ALLOWED": 0, + "PASSKEYS_TYPE_ALLOWED": 1, + } +) + +func (x PasskeysType) Enum() *PasskeysType { + p := new(PasskeysType) + *p = x + return p +} + +func (x PasskeysType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PasskeysType) Descriptor() protoreflect.EnumDescriptor { + return file_zitadel_settings_v2beta_login_settings_proto_enumTypes[2].Descriptor() +} + +func (PasskeysType) Type() protoreflect.EnumType { + return &file_zitadel_settings_v2beta_login_settings_proto_enumTypes[2] +} + +func (x PasskeysType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PasskeysType.Descriptor instead. +func (PasskeysType) EnumDescriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_login_settings_proto_rawDescGZIP(), []int{2} +} + +type IdentityProviderType int32 + +const ( + IdentityProviderType_IDENTITY_PROVIDER_TYPE_UNSPECIFIED IdentityProviderType = 0 + IdentityProviderType_IDENTITY_PROVIDER_TYPE_OIDC IdentityProviderType = 1 + IdentityProviderType_IDENTITY_PROVIDER_TYPE_JWT IdentityProviderType = 2 + IdentityProviderType_IDENTITY_PROVIDER_TYPE_LDAP IdentityProviderType = 3 + IdentityProviderType_IDENTITY_PROVIDER_TYPE_OAUTH IdentityProviderType = 4 + IdentityProviderType_IDENTITY_PROVIDER_TYPE_AZURE_AD IdentityProviderType = 5 + IdentityProviderType_IDENTITY_PROVIDER_TYPE_GITHUB IdentityProviderType = 6 + IdentityProviderType_IDENTITY_PROVIDER_TYPE_GITHUB_ES IdentityProviderType = 7 + IdentityProviderType_IDENTITY_PROVIDER_TYPE_GITLAB IdentityProviderType = 8 + IdentityProviderType_IDENTITY_PROVIDER_TYPE_GITLAB_SELF_HOSTED IdentityProviderType = 9 + IdentityProviderType_IDENTITY_PROVIDER_TYPE_GOOGLE IdentityProviderType = 10 +) + +// Enum value maps for IdentityProviderType. +var ( + IdentityProviderType_name = map[int32]string{ + 0: "IDENTITY_PROVIDER_TYPE_UNSPECIFIED", + 1: "IDENTITY_PROVIDER_TYPE_OIDC", + 2: "IDENTITY_PROVIDER_TYPE_JWT", + 3: "IDENTITY_PROVIDER_TYPE_LDAP", + 4: "IDENTITY_PROVIDER_TYPE_OAUTH", + 5: "IDENTITY_PROVIDER_TYPE_AZURE_AD", + 6: "IDENTITY_PROVIDER_TYPE_GITHUB", + 7: "IDENTITY_PROVIDER_TYPE_GITHUB_ES", + 8: "IDENTITY_PROVIDER_TYPE_GITLAB", + 9: "IDENTITY_PROVIDER_TYPE_GITLAB_SELF_HOSTED", + 10: "IDENTITY_PROVIDER_TYPE_GOOGLE", + } + IdentityProviderType_value = map[string]int32{ + "IDENTITY_PROVIDER_TYPE_UNSPECIFIED": 0, + "IDENTITY_PROVIDER_TYPE_OIDC": 1, + "IDENTITY_PROVIDER_TYPE_JWT": 2, + "IDENTITY_PROVIDER_TYPE_LDAP": 3, + "IDENTITY_PROVIDER_TYPE_OAUTH": 4, + "IDENTITY_PROVIDER_TYPE_AZURE_AD": 5, + "IDENTITY_PROVIDER_TYPE_GITHUB": 6, + "IDENTITY_PROVIDER_TYPE_GITHUB_ES": 7, + "IDENTITY_PROVIDER_TYPE_GITLAB": 8, + "IDENTITY_PROVIDER_TYPE_GITLAB_SELF_HOSTED": 9, + "IDENTITY_PROVIDER_TYPE_GOOGLE": 10, + } +) + +func (x IdentityProviderType) Enum() *IdentityProviderType { + p := new(IdentityProviderType) + *p = x + return p +} + +func (x IdentityProviderType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (IdentityProviderType) Descriptor() protoreflect.EnumDescriptor { + return file_zitadel_settings_v2beta_login_settings_proto_enumTypes[3].Descriptor() +} + +func (IdentityProviderType) Type() protoreflect.EnumType { + return &file_zitadel_settings_v2beta_login_settings_proto_enumTypes[3] +} + +func (x IdentityProviderType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use IdentityProviderType.Descriptor instead. +func (IdentityProviderType) EnumDescriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_login_settings_proto_rawDescGZIP(), []int{3} +} + +type LoginSettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AllowUsernamePassword bool `protobuf:"varint,1,opt,name=allow_username_password,json=allowUsernamePassword,proto3" json:"allow_username_password,omitempty"` + AllowRegister bool `protobuf:"varint,2,opt,name=allow_register,json=allowRegister,proto3" json:"allow_register,omitempty"` + AllowExternalIdp bool `protobuf:"varint,3,opt,name=allow_external_idp,json=allowExternalIdp,proto3" json:"allow_external_idp,omitempty"` + ForceMfa bool `protobuf:"varint,4,opt,name=force_mfa,json=forceMfa,proto3" json:"force_mfa,omitempty"` + PasskeysType PasskeysType `protobuf:"varint,5,opt,name=passkeys_type,json=passkeysType,proto3,enum=zitadel.settings.v2beta.PasskeysType" json:"passkeys_type,omitempty"` + HidePasswordReset bool `protobuf:"varint,6,opt,name=hide_password_reset,json=hidePasswordReset,proto3" json:"hide_password_reset,omitempty"` + IgnoreUnknownUsernames bool `protobuf:"varint,7,opt,name=ignore_unknown_usernames,json=ignoreUnknownUsernames,proto3" json:"ignore_unknown_usernames,omitempty"` + DefaultRedirectUri string `protobuf:"bytes,8,opt,name=default_redirect_uri,json=defaultRedirectUri,proto3" json:"default_redirect_uri,omitempty"` + PasswordCheckLifetime *durationpb.Duration `protobuf:"bytes,9,opt,name=password_check_lifetime,json=passwordCheckLifetime,proto3" json:"password_check_lifetime,omitempty"` + ExternalLoginCheckLifetime *durationpb.Duration `protobuf:"bytes,10,opt,name=external_login_check_lifetime,json=externalLoginCheckLifetime,proto3" json:"external_login_check_lifetime,omitempty"` + MfaInitSkipLifetime *durationpb.Duration `protobuf:"bytes,11,opt,name=mfa_init_skip_lifetime,json=mfaInitSkipLifetime,proto3" json:"mfa_init_skip_lifetime,omitempty"` + SecondFactorCheckLifetime *durationpb.Duration `protobuf:"bytes,12,opt,name=second_factor_check_lifetime,json=secondFactorCheckLifetime,proto3" json:"second_factor_check_lifetime,omitempty"` + MultiFactorCheckLifetime *durationpb.Duration `protobuf:"bytes,13,opt,name=multi_factor_check_lifetime,json=multiFactorCheckLifetime,proto3" json:"multi_factor_check_lifetime,omitempty"` + SecondFactors []SecondFactorType `protobuf:"varint,14,rep,packed,name=second_factors,json=secondFactors,proto3,enum=zitadel.settings.v2beta.SecondFactorType" json:"second_factors,omitempty"` + MultiFactors []MultiFactorType `protobuf:"varint,15,rep,packed,name=multi_factors,json=multiFactors,proto3,enum=zitadel.settings.v2beta.MultiFactorType" json:"multi_factors,omitempty"` + // If set to true, the suffix (@domain.com) of an unknown username input on the login screen will be matched against the org domains and will redirect to the registration of that organization on success. + AllowDomainDiscovery bool `protobuf:"varint,16,opt,name=allow_domain_discovery,json=allowDomainDiscovery,proto3" json:"allow_domain_discovery,omitempty"` + DisableLoginWithEmail bool `protobuf:"varint,17,opt,name=disable_login_with_email,json=disableLoginWithEmail,proto3" json:"disable_login_with_email,omitempty"` + DisableLoginWithPhone bool `protobuf:"varint,18,opt,name=disable_login_with_phone,json=disableLoginWithPhone,proto3" json:"disable_login_with_phone,omitempty"` + // resource_owner_type returns if the settings is managed on the organization or on the instance + ResourceOwnerType ResourceOwnerType `protobuf:"varint,19,opt,name=resource_owner_type,json=resourceOwnerType,proto3,enum=zitadel.settings.v2beta.ResourceOwnerType" json:"resource_owner_type,omitempty"` + ForceMfaLocalOnly bool `protobuf:"varint,22,opt,name=force_mfa_local_only,json=forceMfaLocalOnly,proto3" json:"force_mfa_local_only,omitempty"` +} + +func (x *LoginSettings) Reset() { + *x = LoginSettings{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_login_settings_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LoginSettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LoginSettings) ProtoMessage() {} + +func (x *LoginSettings) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_login_settings_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LoginSettings.ProtoReflect.Descriptor instead. +func (*LoginSettings) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_login_settings_proto_rawDescGZIP(), []int{0} +} + +func (x *LoginSettings) GetAllowUsernamePassword() bool { + if x != nil { + return x.AllowUsernamePassword + } + return false +} + +func (x *LoginSettings) GetAllowRegister() bool { + if x != nil { + return x.AllowRegister + } + return false +} + +func (x *LoginSettings) GetAllowExternalIdp() bool { + if x != nil { + return x.AllowExternalIdp + } + return false +} + +func (x *LoginSettings) GetForceMfa() bool { + if x != nil { + return x.ForceMfa + } + return false +} + +func (x *LoginSettings) GetPasskeysType() PasskeysType { + if x != nil { + return x.PasskeysType + } + return PasskeysType_PASSKEYS_TYPE_NOT_ALLOWED +} + +func (x *LoginSettings) GetHidePasswordReset() bool { + if x != nil { + return x.HidePasswordReset + } + return false +} + +func (x *LoginSettings) GetIgnoreUnknownUsernames() bool { + if x != nil { + return x.IgnoreUnknownUsernames + } + return false +} + +func (x *LoginSettings) GetDefaultRedirectUri() string { + if x != nil { + return x.DefaultRedirectUri + } + return "" +} + +func (x *LoginSettings) GetPasswordCheckLifetime() *durationpb.Duration { + if x != nil { + return x.PasswordCheckLifetime + } + return nil +} + +func (x *LoginSettings) GetExternalLoginCheckLifetime() *durationpb.Duration { + if x != nil { + return x.ExternalLoginCheckLifetime + } + return nil +} + +func (x *LoginSettings) GetMfaInitSkipLifetime() *durationpb.Duration { + if x != nil { + return x.MfaInitSkipLifetime + } + return nil +} + +func (x *LoginSettings) GetSecondFactorCheckLifetime() *durationpb.Duration { + if x != nil { + return x.SecondFactorCheckLifetime + } + return nil +} + +func (x *LoginSettings) GetMultiFactorCheckLifetime() *durationpb.Duration { + if x != nil { + return x.MultiFactorCheckLifetime + } + return nil +} + +func (x *LoginSettings) GetSecondFactors() []SecondFactorType { + if x != nil { + return x.SecondFactors + } + return nil +} + +func (x *LoginSettings) GetMultiFactors() []MultiFactorType { + if x != nil { + return x.MultiFactors + } + return nil +} + +func (x *LoginSettings) GetAllowDomainDiscovery() bool { + if x != nil { + return x.AllowDomainDiscovery + } + return false +} + +func (x *LoginSettings) GetDisableLoginWithEmail() bool { + if x != nil { + return x.DisableLoginWithEmail + } + return false +} + +func (x *LoginSettings) GetDisableLoginWithPhone() bool { + if x != nil { + return x.DisableLoginWithPhone + } + return false +} + +func (x *LoginSettings) GetResourceOwnerType() ResourceOwnerType { + if x != nil { + return x.ResourceOwnerType + } + return ResourceOwnerType_RESOURCE_OWNER_TYPE_UNSPECIFIED +} + +func (x *LoginSettings) GetForceMfaLocalOnly() bool { + if x != nil { + return x.ForceMfaLocalOnly + } + return false +} + +type IdentityProvider struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Type IdentityProviderType `protobuf:"varint,3,opt,name=type,proto3,enum=zitadel.settings.v2beta.IdentityProviderType" json:"type,omitempty"` +} + +func (x *IdentityProvider) Reset() { + *x = IdentityProvider{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_login_settings_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IdentityProvider) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IdentityProvider) ProtoMessage() {} + +func (x *IdentityProvider) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_login_settings_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IdentityProvider.ProtoReflect.Descriptor instead. +func (*IdentityProvider) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_login_settings_proto_rawDescGZIP(), []int{1} +} + +func (x *IdentityProvider) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *IdentityProvider) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *IdentityProvider) GetType() IdentityProviderType { + if x != nil { + return x.Type + } + return IdentityProviderType_IDENTITY_PROVIDER_TYPE_UNSPECIFIED +} + +var File_zitadel_settings_v2beta_login_settings_proto protoreflect.FileDescriptor + +var file_zitadel_settings_v2beta_login_settings_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, + 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xa7, 0x18, 0x0a, 0x0d, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x12, 0x82, 0x01, 0x0a, 0x17, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x75, 0x73, 0x65, 0x72, + 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x42, 0x4a, 0x92, 0x41, 0x47, 0x32, 0x45, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, + 0x73, 0x20, 0x69, 0x66, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x6c, 0x6f, 0x67, 0x20, 0x69, 0x6e, + 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x68, 0x69, 0x73, 0x20, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, + 0x6d, 0x65, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, + 0x15, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x50, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x72, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x4b, + 0x92, 0x41, 0x48, 0x32, 0x46, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x73, 0x20, 0x69, 0x66, 0x20, + 0x61, 0x20, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x20, 0x69, 0x73, 0x20, 0x61, 0x6c, 0x6c, 0x6f, + 0x77, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x20, + 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x84, 0x01, 0x0a, 0x12, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, + 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x56, 0x92, 0x41, 0x53, 0x32, 0x51, 0x64, 0x65, + 0x66, 0x69, 0x6e, 0x65, 0x73, 0x20, 0x69, 0x66, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, + 0x69, 0x73, 0x20, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x64, + 0x64, 0x20, 0x61, 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x20, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x20, 0x45, + 0x2e, 0x67, 0x2e, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x20, 0x61, 0x75, 0x74, 0x68, 0x52, + 0x10, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, + 0x70, 0x12, 0x55, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x66, 0x61, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x08, 0x42, 0x38, 0x92, 0x41, 0x35, 0x32, 0x33, 0x64, 0x65, 0x66, 0x69, 0x6e, + 0x65, 0x73, 0x20, 0x69, 0x66, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x4d, 0x55, 0x53, + 0x54, 0x20, 0x75, 0x73, 0x65, 0x20, 0x61, 0x20, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x2d, 0x66, 0x61, + 0x63, 0x74, 0x6f, 0x72, 0x20, 0x74, 0x6f, 0x20, 0x6c, 0x6f, 0x67, 0x20, 0x69, 0x6e, 0x52, 0x08, + 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4d, 0x66, 0x61, 0x12, 0x7a, 0x0a, 0x0d, 0x70, 0x61, 0x73, 0x73, + 0x6b, 0x65, 0x79, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x25, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, + 0x79, 0x73, 0x54, 0x79, 0x70, 0x65, 0x42, 0x2e, 0x92, 0x41, 0x2b, 0x32, 0x29, 0x64, 0x65, 0x66, + 0x69, 0x6e, 0x65, 0x73, 0x20, 0x69, 0x66, 0x20, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x73, + 0x20, 0x61, 0x72, 0x65, 0x20, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x20, 0x66, 0x6f, 0x72, + 0x20, 0x75, 0x73, 0x65, 0x72, 0x73, 0x52, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x73, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x77, 0x0a, 0x13, 0x68, 0x69, 0x64, 0x65, 0x5f, 0x70, 0x61, 0x73, + 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x08, 0x42, 0x47, 0x92, 0x41, 0x44, 0x32, 0x42, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x73, 0x20, + 0x69, 0x66, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x72, 0x65, 0x73, 0x65, + 0x74, 0x20, 0x6c, 0x69, 0x6e, 0x6b, 0x20, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x20, 0x62, 0x65, + 0x20, 0x73, 0x68, 0x6f, 0x77, 0x6e, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, 0x6f, + 0x67, 0x69, 0x6e, 0x20, 0x73, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x52, 0x11, 0x68, 0x69, 0x64, 0x65, + 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x65, 0x74, 0x12, 0xab, 0x01, + 0x0a, 0x18, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, + 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, + 0x42, 0x71, 0x92, 0x41, 0x6e, 0x32, 0x6c, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x73, 0x20, 0x69, + 0x66, 0x20, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x20, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, + 0x6d, 0x65, 0x20, 0x6f, 0x6e, 0x20, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x20, 0x73, 0x63, 0x72, 0x65, + 0x65, 0x6e, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6c, 0x79, 0x20, 0x72, 0x65, 0x74, 0x75, + 0x72, 0x6e, 0x73, 0x20, 0x61, 0x6e, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x6f, 0x72, 0x20, + 0x61, 0x6c, 0x77, 0x61, 0x79, 0x73, 0x20, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x73, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x73, 0x63, 0x72, + 0x65, 0x65, 0x6e, 0x52, 0x16, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, + 0x77, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0xc1, 0x01, 0x0a, 0x14, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x5f, 0x75, 0x72, 0x69, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x8e, 0x01, 0x92, 0x41, 0x8a, + 0x01, 0x32, 0x69, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x73, 0x20, 0x77, 0x68, 0x65, 0x72, 0x65, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, + 0x65, 0x20, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, + 0x69, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x20, 0x69, 0x73, 0x20, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x20, + 0x61, 0x70, 0x70, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x20, 0x28, 0x65, 0x2e, 0x67, + 0x2e, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x6d, 0x61, 0x69, 0x6c, 0x29, 0x4a, 0x1d, 0x22, 0x68, + 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x63, 0x6d, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x75, 0x69, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x6f, 0x6c, 0x65, 0x22, 0x52, 0x12, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x55, 0x72, 0x69, 0x12, + 0xb1, 0x01, 0x0a, 0x17, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x63, 0x68, 0x65, + 0x63, 0x6b, 0x5f, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x5e, 0x92, 0x41, + 0x5b, 0x32, 0x4e, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x73, 0x20, 0x61, 0x66, 0x74, 0x65, 0x72, + 0x20, 0x68, 0x6f, 0x77, 0x20, 0x6d, 0x75, 0x63, 0x68, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x68, 0x61, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x72, + 0x65, 0x2d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x20, 0x77, + 0x69, 0x74, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x2e, 0x4a, 0x09, 0x22, 0x38, 0x36, 0x34, 0x30, 0x30, 0x30, 0x73, 0x22, 0x52, 0x15, 0x70, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4c, 0x69, 0x66, 0x65, 0x74, + 0x69, 0x6d, 0x65, 0x12, 0xc4, 0x01, 0x0a, 0x1d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x6c, 0x69, 0x66, + 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x66, 0x92, 0x41, 0x63, 0x32, 0x56, 0x44, 0x65, 0x66, + 0x69, 0x6e, 0x65, 0x73, 0x20, 0x61, 0x66, 0x74, 0x65, 0x72, 0x20, 0x68, 0x6f, 0x77, 0x20, 0x6d, + 0x75, 0x63, 0x68, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, + 0x72, 0x20, 0x68, 0x61, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x72, 0x65, 0x2d, 0x61, 0x75, 0x74, 0x68, + 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x61, 0x6e, + 0x20, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2e, 0x4a, 0x09, 0x22, 0x38, 0x36, 0x34, 0x30, 0x30, 0x30, 0x73, 0x22, 0x52, 0x1a, + 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0xa0, 0x01, 0x0a, 0x16, 0x6d, + 0x66, 0x61, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x6c, 0x69, 0x66, + 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x50, 0x92, 0x41, 0x4d, 0x32, 0x3f, 0x44, 0x65, 0x66, + 0x69, 0x6e, 0x65, 0x73, 0x20, 0x61, 0x66, 0x74, 0x65, 0x72, 0x20, 0x68, 0x6f, 0x77, 0x20, 0x6d, + 0x75, 0x63, 0x68, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6d, 0x66, 0x61, + 0x20, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, + 0x73, 0x68, 0x6f, 0x77, 0x6e, 0x20, 0x61, 0x67, 0x61, 0x69, 0x6e, 0x2e, 0x4a, 0x0a, 0x22, 0x32, + 0x35, 0x39, 0x32, 0x30, 0x30, 0x30, 0x73, 0x22, 0x52, 0x13, 0x6d, 0x66, 0x61, 0x49, 0x6e, 0x69, + 0x74, 0x53, 0x6b, 0x69, 0x70, 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0xa3, 0x01, + 0x0a, 0x1c, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x5f, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x47, 0x92, 0x41, 0x44, 0x32, 0x38, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x73, 0x20, 0x61, 0x66, + 0x74, 0x65, 0x72, 0x20, 0x68, 0x6f, 0x77, 0x20, 0x6c, 0x6f, 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x2d, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x20, 0x63, + 0x68, 0x65, 0x63, 0x6b, 0x20, 0x69, 0x73, 0x20, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x2e, 0x4a, 0x08, + 0x22, 0x36, 0x34, 0x38, 0x30, 0x30, 0x73, 0x22, 0x52, 0x19, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4c, 0x69, 0x66, 0x65, 0x74, + 0x69, 0x6d, 0x65, 0x12, 0x9a, 0x01, 0x0a, 0x1b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x66, 0x61, + 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x6c, 0x69, 0x66, 0x65, 0x74, + 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x40, 0x92, 0x41, 0x3d, 0x32, 0x31, 0x44, 0x65, 0x66, 0x69, 0x6e, + 0x65, 0x73, 0x20, 0x68, 0x6f, 0x77, 0x20, 0x6c, 0x6f, 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x2d, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x20, 0x63, 0x68, 0x65, + 0x63, 0x6b, 0x20, 0x69, 0x73, 0x20, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x2e, 0x4a, 0x08, 0x22, 0x34, + 0x33, 0x32, 0x30, 0x30, 0x73, 0x22, 0x52, 0x18, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x46, 0x61, 0x63, + 0x74, 0x6f, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, + 0x12, 0x50, 0x0a, 0x0e, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, + 0x72, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x46, 0x61, 0x63, 0x74, 0x6f, + 0x72, 0x73, 0x12, 0x4d, 0x0a, 0x0d, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x66, 0x61, 0x63, 0x74, + 0x6f, 0x72, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, + 0x73, 0x12, 0x86, 0x02, 0x0a, 0x16, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x18, 0x10, 0x20, 0x01, + 0x28, 0x08, 0x42, 0xcf, 0x01, 0x92, 0x41, 0xcb, 0x01, 0x32, 0xc8, 0x01, 0x49, 0x66, 0x20, 0x73, + 0x65, 0x74, 0x20, 0x74, 0x6f, 0x20, 0x74, 0x72, 0x75, 0x65, 0x2c, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x20, 0x28, 0x40, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, + 0x63, 0x6f, 0x6d, 0x29, 0x20, 0x6f, 0x66, 0x20, 0x61, 0x6e, 0x20, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, + 0x77, 0x6e, 0x20, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x20, 0x73, + 0x63, 0x72, 0x65, 0x65, 0x6e, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x6d, 0x61, + 0x74, 0x63, 0x68, 0x65, 0x64, 0x20, 0x61, 0x67, 0x61, 0x69, 0x6e, 0x73, 0x74, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x6f, 0x72, 0x67, 0x20, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x20, 0x61, 0x6e, + 0x64, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x20, + 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x61, 0x74, 0x20, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x6e, 0x20, 0x73, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x2e, 0x52, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x44, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x12, 0xa4, 0x01, 0x0a, 0x18, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x77, 0x69, 0x74, + 0x68, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x42, 0x6b, 0x92, + 0x41, 0x68, 0x32, 0x66, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x73, 0x20, 0x69, 0x66, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x63, 0x61, 0x6e, 0x20, 0x61, 0x64, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x20, 0x28, 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x29, 0x20, 0x62, 0x65, 0x20, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x74, 0x68, + 0x65, 0x69, 0x72, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x20, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x20, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x15, 0x64, 0x69, 0x73, 0x61, + 0x62, 0x6c, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x57, 0x69, 0x74, 0x68, 0x45, 0x6d, 0x61, 0x69, + 0x6c, 0x12, 0xa3, 0x01, 0x0a, 0x18, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6c, 0x6f, + 0x67, 0x69, 0x6e, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x12, + 0x20, 0x01, 0x28, 0x08, 0x42, 0x6a, 0x92, 0x41, 0x67, 0x32, 0x65, 0x64, 0x65, 0x66, 0x69, 0x6e, + 0x65, 0x73, 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x63, + 0x61, 0x6e, 0x20, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x20, + 0x28, 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x20, 0x6e, 0x61, + 0x6d, 0x65, 0x29, 0x20, 0x62, 0x65, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, + 0x64, 0x20, 0x62, 0x79, 0x20, 0x74, 0x68, 0x65, 0x69, 0x72, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, + 0x69, 0x65, 0x64, 0x20, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x52, 0x15, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x57, 0x69, + 0x74, 0x68, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0xbe, 0x01, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x13, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, + 0x65, 0x42, 0x62, 0x92, 0x41, 0x5f, 0x32, 0x5d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x20, 0x72, 0x65, 0x74, 0x75, + 0x72, 0x6e, 0x73, 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x20, 0x69, 0x73, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x20, 0x6f, + 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x20, 0x6f, 0x72, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, + 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0xbe, 0x01, 0x0a, 0x14, 0x66, 0x6f, 0x72, + 0x63, 0x65, 0x5f, 0x6d, 0x66, 0x61, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x6f, 0x6e, 0x6c, + 0x79, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x42, 0x8c, 0x01, 0x92, 0x41, 0x88, 0x01, 0x32, 0x85, + 0x01, 0x69, 0x66, 0x20, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x64, 0x2c, 0x20, 0x6f, + 0x6e, 0x6c, 0x79, 0x20, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x20, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, + 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x20, 0x75, 0x73, 0x65, 0x72, 0x73, 0x20, 0x61, 0x72, + 0x65, 0x20, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x75, 0x73, 0x65, 0x20, + 0x4d, 0x46, 0x41, 0x2e, 0x20, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x72, 0x6f, 0x75, 0x67, 0x68, 0x20, 0x49, 0x44, 0x50, 0x73, + 0x20, 0x77, 0x6f, 0x6e, 0x27, 0x74, 0x20, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x20, 0x61, 0x20, + 0x4d, 0x46, 0x41, 0x20, 0x73, 0x74, 0x65, 0x70, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x52, 0x11, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4d, 0x66, 0x61, + 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x79, 0x0a, 0x10, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x41, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x2d, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x2a, 0xb0, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x46, + 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x45, 0x43, + 0x4f, 0x4e, 0x44, 0x5f, 0x46, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1a, 0x0a, + 0x16, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x5f, 0x46, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x54, 0x50, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x43, + 0x4f, 0x4e, 0x44, 0x5f, 0x46, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x55, 0x32, 0x46, 0x10, 0x02, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x5f, + 0x46, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x54, 0x50, 0x5f, + 0x45, 0x4d, 0x41, 0x49, 0x4c, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x45, 0x43, 0x4f, 0x4e, + 0x44, 0x5f, 0x46, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x54, + 0x50, 0x5f, 0x53, 0x4d, 0x53, 0x10, 0x04, 0x2a, 0x61, 0x0a, 0x0f, 0x4d, 0x75, 0x6c, 0x74, 0x69, + 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x4d, 0x55, + 0x4c, 0x54, 0x49, 0x5f, 0x46, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x2b, 0x0a, + 0x27, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x5f, 0x46, 0x41, 0x43, 0x54, 0x4f, 0x52, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x55, 0x32, 0x46, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x56, 0x45, 0x52, 0x49, + 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x2a, 0x48, 0x0a, 0x0c, 0x50, 0x61, + 0x73, 0x73, 0x6b, 0x65, 0x79, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x41, + 0x53, 0x53, 0x4b, 0x45, 0x59, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x41, 0x53, + 0x53, 0x4b, 0x45, 0x59, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x4c, 0x4c, 0x4f, 0x57, + 0x45, 0x44, 0x10, 0x01, 0x2a, 0xa5, 0x03, 0x0a, 0x14, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a, + 0x22, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, + 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, + 0x59, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x4f, 0x49, 0x44, 0x43, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, + 0x54, 0x59, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x4a, 0x57, 0x54, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, + 0x54, 0x59, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x4c, 0x44, 0x41, 0x50, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, 0x49, 0x44, 0x45, 0x4e, 0x54, + 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x4f, 0x41, 0x55, 0x54, 0x48, 0x10, 0x04, 0x12, 0x23, 0x0a, 0x1f, 0x49, 0x44, 0x45, + 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x41, 0x44, 0x10, 0x05, 0x12, 0x21, + 0x0a, 0x1d, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, + 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x49, 0x54, 0x48, 0x55, 0x42, 0x10, + 0x06, 0x12, 0x24, 0x0a, 0x20, 0x49, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, + 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x49, 0x54, 0x48, + 0x55, 0x42, 0x5f, 0x45, 0x53, 0x10, 0x07, 0x12, 0x21, 0x0a, 0x1d, 0x49, 0x44, 0x45, 0x4e, 0x54, + 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x47, 0x49, 0x54, 0x4c, 0x41, 0x42, 0x10, 0x08, 0x12, 0x2d, 0x0a, 0x29, 0x49, 0x44, + 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x49, 0x54, 0x4c, 0x41, 0x42, 0x5f, 0x53, 0x45, 0x4c, 0x46, + 0x5f, 0x48, 0x4f, 0x53, 0x54, 0x45, 0x44, 0x10, 0x09, 0x12, 0x21, 0x0a, 0x1d, 0x49, 0x44, 0x45, + 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x47, 0x4f, 0x4f, 0x47, 0x4c, 0x45, 0x10, 0x0a, 0x42, 0x3e, 0x5a, 0x3c, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, + 0x72, 0x70, 0x63, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x3b, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_settings_v2beta_login_settings_proto_rawDescOnce sync.Once + file_zitadel_settings_v2beta_login_settings_proto_rawDescData = file_zitadel_settings_v2beta_login_settings_proto_rawDesc +) + +func file_zitadel_settings_v2beta_login_settings_proto_rawDescGZIP() []byte { + file_zitadel_settings_v2beta_login_settings_proto_rawDescOnce.Do(func() { + file_zitadel_settings_v2beta_login_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_settings_v2beta_login_settings_proto_rawDescData) + }) + return file_zitadel_settings_v2beta_login_settings_proto_rawDescData +} + +var file_zitadel_settings_v2beta_login_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 4) +var file_zitadel_settings_v2beta_login_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_zitadel_settings_v2beta_login_settings_proto_goTypes = []interface{}{ + (SecondFactorType)(0), // 0: zitadel.settings.v2beta.SecondFactorType + (MultiFactorType)(0), // 1: zitadel.settings.v2beta.MultiFactorType + (PasskeysType)(0), // 2: zitadel.settings.v2beta.PasskeysType + (IdentityProviderType)(0), // 3: zitadel.settings.v2beta.IdentityProviderType + (*LoginSettings)(nil), // 4: zitadel.settings.v2beta.LoginSettings + (*IdentityProvider)(nil), // 5: zitadel.settings.v2beta.IdentityProvider + (*durationpb.Duration)(nil), // 6: google.protobuf.Duration + (ResourceOwnerType)(0), // 7: zitadel.settings.v2beta.ResourceOwnerType +} +var file_zitadel_settings_v2beta_login_settings_proto_depIdxs = []int32{ + 2, // 0: zitadel.settings.v2beta.LoginSettings.passkeys_type:type_name -> zitadel.settings.v2beta.PasskeysType + 6, // 1: zitadel.settings.v2beta.LoginSettings.password_check_lifetime:type_name -> google.protobuf.Duration + 6, // 2: zitadel.settings.v2beta.LoginSettings.external_login_check_lifetime:type_name -> google.protobuf.Duration + 6, // 3: zitadel.settings.v2beta.LoginSettings.mfa_init_skip_lifetime:type_name -> google.protobuf.Duration + 6, // 4: zitadel.settings.v2beta.LoginSettings.second_factor_check_lifetime:type_name -> google.protobuf.Duration + 6, // 5: zitadel.settings.v2beta.LoginSettings.multi_factor_check_lifetime:type_name -> google.protobuf.Duration + 0, // 6: zitadel.settings.v2beta.LoginSettings.second_factors:type_name -> zitadel.settings.v2beta.SecondFactorType + 1, // 7: zitadel.settings.v2beta.LoginSettings.multi_factors:type_name -> zitadel.settings.v2beta.MultiFactorType + 7, // 8: zitadel.settings.v2beta.LoginSettings.resource_owner_type:type_name -> zitadel.settings.v2beta.ResourceOwnerType + 3, // 9: zitadel.settings.v2beta.IdentityProvider.type:type_name -> zitadel.settings.v2beta.IdentityProviderType + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_zitadel_settings_v2beta_login_settings_proto_init() } +func file_zitadel_settings_v2beta_login_settings_proto_init() { + if File_zitadel_settings_v2beta_login_settings_proto != nil { + return + } + file_zitadel_settings_v2beta_settings_proto_init() + if !protoimpl.UnsafeEnabled { + file_zitadel_settings_v2beta_login_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LoginSettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_login_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IdentityProvider); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_settings_v2beta_login_settings_proto_rawDesc, + NumEnums: 4, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_settings_v2beta_login_settings_proto_goTypes, + DependencyIndexes: file_zitadel_settings_v2beta_login_settings_proto_depIdxs, + EnumInfos: file_zitadel_settings_v2beta_login_settings_proto_enumTypes, + MessageInfos: file_zitadel_settings_v2beta_login_settings_proto_msgTypes, + }.Build() + File_zitadel_settings_v2beta_login_settings_proto = out.File + file_zitadel_settings_v2beta_login_settings_proto_rawDesc = nil + file_zitadel_settings_v2beta_login_settings_proto_goTypes = nil + file_zitadel_settings_v2beta_login_settings_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/settings/v2beta/password_settings.pb.go b/pkg/client/zitadel/settings/v2beta/password_settings.pb.go new file mode 100644 index 0000000..d8ee146 --- /dev/null +++ b/pkg/client/zitadel/settings/v2beta/password_settings.pb.go @@ -0,0 +1,241 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/settings/v2beta/password_settings.proto + +package settings + +import ( + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type PasswordComplexitySettings struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MinLength uint64 `protobuf:"varint,1,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` + RequiresUppercase bool `protobuf:"varint,2,opt,name=requires_uppercase,json=requiresUppercase,proto3" json:"requires_uppercase,omitempty"` + RequiresLowercase bool `protobuf:"varint,3,opt,name=requires_lowercase,json=requiresLowercase,proto3" json:"requires_lowercase,omitempty"` + RequiresNumber bool `protobuf:"varint,4,opt,name=requires_number,json=requiresNumber,proto3" json:"requires_number,omitempty"` + RequiresSymbol bool `protobuf:"varint,5,opt,name=requires_symbol,json=requiresSymbol,proto3" json:"requires_symbol,omitempty"` + // resource_owner_type returns if the settings is managed on the organization or on the instance + ResourceOwnerType ResourceOwnerType `protobuf:"varint,6,opt,name=resource_owner_type,json=resourceOwnerType,proto3,enum=zitadel.settings.v2beta.ResourceOwnerType" json:"resource_owner_type,omitempty"` +} + +func (x *PasswordComplexitySettings) Reset() { + *x = PasswordComplexitySettings{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_password_settings_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PasswordComplexitySettings) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PasswordComplexitySettings) ProtoMessage() {} + +func (x *PasswordComplexitySettings) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_password_settings_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PasswordComplexitySettings.ProtoReflect.Descriptor instead. +func (*PasswordComplexitySettings) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_password_settings_proto_rawDescGZIP(), []int{0} +} + +func (x *PasswordComplexitySettings) GetMinLength() uint64 { + if x != nil { + return x.MinLength + } + return 0 +} + +func (x *PasswordComplexitySettings) GetRequiresUppercase() bool { + if x != nil { + return x.RequiresUppercase + } + return false +} + +func (x *PasswordComplexitySettings) GetRequiresLowercase() bool { + if x != nil { + return x.RequiresLowercase + } + return false +} + +func (x *PasswordComplexitySettings) GetRequiresNumber() bool { + if x != nil { + return x.RequiresNumber + } + return false +} + +func (x *PasswordComplexitySettings) GetRequiresSymbol() bool { + if x != nil { + return x.RequiresSymbol + } + return false +} + +func (x *PasswordComplexitySettings) GetResourceOwnerType() ResourceOwnerType { + if x != nil { + return x.ResourceOwnerType + } + return ResourceOwnerType_RESOURCE_OWNER_TYPE_UNSPECIFIED +} + +var File_zitadel_settings_v2beta_password_settings_proto protoreflect.FileDescriptor + +var file_zitadel_settings_v2beta_password_settings_proto_rawDesc = []byte{ + 0x0a, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x17, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, + 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xd1, 0x05, 0x0a, 0x1a, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x43, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x12, 0x52, 0x0a, 0x0a, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x33, 0x92, 0x41, 0x30, 0x32, 0x29, 0x44, 0x65, 0x66, 0x69, + 0x6e, 0x65, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x20, + 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x20, 0x6f, 0x66, 0x20, 0x61, 0x20, 0x70, 0x61, 0x73, 0x73, + 0x77, 0x6f, 0x72, 0x64, 0x2e, 0x4a, 0x03, 0x22, 0x38, 0x22, 0x52, 0x09, 0x6d, 0x69, 0x6e, 0x4c, + 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x6d, 0x0a, 0x12, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, + 0x73, 0x5f, 0x75, 0x70, 0x70, 0x65, 0x72, 0x63, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x42, 0x3e, 0x92, 0x41, 0x3b, 0x32, 0x39, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x73, 0x20, + 0x69, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, + 0x4d, 0x55, 0x53, 0x54, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x20, 0x61, 0x6e, 0x20, + 0x75, 0x70, 0x70, 0x65, 0x72, 0x20, 0x63, 0x61, 0x73, 0x65, 0x20, 0x6c, 0x65, 0x74, 0x74, 0x65, + 0x72, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x73, 0x55, 0x70, 0x70, 0x65, 0x72, + 0x63, 0x61, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x12, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x73, + 0x5f, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x63, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x42, 0x3c, 0x92, 0x41, 0x39, 0x32, 0x37, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x73, 0x20, 0x69, + 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x4d, + 0x55, 0x53, 0x54, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x20, 0x61, 0x20, 0x6c, 0x6f, + 0x77, 0x65, 0x72, 0x63, 0x61, 0x73, 0x65, 0x20, 0x6c, 0x65, 0x74, 0x74, 0x65, 0x72, 0x52, 0x11, + 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x73, 0x4c, 0x6f, 0x77, 0x65, 0x72, 0x63, 0x61, 0x73, + 0x65, 0x12, 0x5b, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x6e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x32, 0x92, 0x41, 0x2f, 0x32, + 0x2d, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x73, 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x4d, 0x55, 0x53, 0x54, 0x20, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x20, 0x61, 0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x0e, + 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x73, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x65, + 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x73, 0x79, 0x6d, 0x62, 0x6f, + 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x3c, 0x92, 0x41, 0x39, 0x32, 0x37, 0x64, 0x65, + 0x66, 0x69, 0x6e, 0x65, 0x73, 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x73, + 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x4d, 0x55, 0x53, 0x54, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x20, 0x61, 0x20, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x2e, 0x20, 0x45, 0x2e, 0x67, + 0x2e, 0x20, 0x22, 0x24, 0x22, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x73, 0x53, + 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0xbe, 0x01, 0x0a, 0x13, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, + 0x62, 0x92, 0x41, 0x5f, 0x32, 0x5d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, + 0x73, 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x20, 0x69, 0x73, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x20, 0x6f, 0x6e, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x20, 0x6f, 0x72, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x52, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x77, 0x6e, + 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, + 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x73, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_settings_v2beta_password_settings_proto_rawDescOnce sync.Once + file_zitadel_settings_v2beta_password_settings_proto_rawDescData = file_zitadel_settings_v2beta_password_settings_proto_rawDesc +) + +func file_zitadel_settings_v2beta_password_settings_proto_rawDescGZIP() []byte { + file_zitadel_settings_v2beta_password_settings_proto_rawDescOnce.Do(func() { + file_zitadel_settings_v2beta_password_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_settings_v2beta_password_settings_proto_rawDescData) + }) + return file_zitadel_settings_v2beta_password_settings_proto_rawDescData +} + +var file_zitadel_settings_v2beta_password_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_zitadel_settings_v2beta_password_settings_proto_goTypes = []interface{}{ + (*PasswordComplexitySettings)(nil), // 0: zitadel.settings.v2beta.PasswordComplexitySettings + (ResourceOwnerType)(0), // 1: zitadel.settings.v2beta.ResourceOwnerType +} +var file_zitadel_settings_v2beta_password_settings_proto_depIdxs = []int32{ + 1, // 0: zitadel.settings.v2beta.PasswordComplexitySettings.resource_owner_type:type_name -> zitadel.settings.v2beta.ResourceOwnerType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_zitadel_settings_v2beta_password_settings_proto_init() } +func file_zitadel_settings_v2beta_password_settings_proto_init() { + if File_zitadel_settings_v2beta_password_settings_proto != nil { + return + } + file_zitadel_settings_v2beta_settings_proto_init() + if !protoimpl.UnsafeEnabled { + file_zitadel_settings_v2beta_password_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PasswordComplexitySettings); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_settings_v2beta_password_settings_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_settings_v2beta_password_settings_proto_goTypes, + DependencyIndexes: file_zitadel_settings_v2beta_password_settings_proto_depIdxs, + MessageInfos: file_zitadel_settings_v2beta_password_settings_proto_msgTypes, + }.Build() + File_zitadel_settings_v2beta_password_settings_proto = out.File + file_zitadel_settings_v2beta_password_settings_proto_rawDesc = nil + file_zitadel_settings_v2beta_password_settings_proto_goTypes = nil + file_zitadel_settings_v2beta_password_settings_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/settings/v2beta/settings.pb.go b/pkg/client/zitadel/settings/v2beta/settings.pb.go new file mode 100644 index 0000000..1df8199 --- /dev/null +++ b/pkg/client/zitadel/settings/v2beta/settings.pb.go @@ -0,0 +1,145 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/settings/v2beta/settings.proto + +package settings + +import ( + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type ResourceOwnerType int32 + +const ( + ResourceOwnerType_RESOURCE_OWNER_TYPE_UNSPECIFIED ResourceOwnerType = 0 + ResourceOwnerType_RESOURCE_OWNER_TYPE_INSTANCE ResourceOwnerType = 1 + ResourceOwnerType_RESOURCE_OWNER_TYPE_ORG ResourceOwnerType = 2 +) + +// Enum value maps for ResourceOwnerType. +var ( + ResourceOwnerType_name = map[int32]string{ + 0: "RESOURCE_OWNER_TYPE_UNSPECIFIED", + 1: "RESOURCE_OWNER_TYPE_INSTANCE", + 2: "RESOURCE_OWNER_TYPE_ORG", + } + ResourceOwnerType_value = map[string]int32{ + "RESOURCE_OWNER_TYPE_UNSPECIFIED": 0, + "RESOURCE_OWNER_TYPE_INSTANCE": 1, + "RESOURCE_OWNER_TYPE_ORG": 2, + } +) + +func (x ResourceOwnerType) Enum() *ResourceOwnerType { + p := new(ResourceOwnerType) + *p = x + return p +} + +func (x ResourceOwnerType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ResourceOwnerType) Descriptor() protoreflect.EnumDescriptor { + return file_zitadel_settings_v2beta_settings_proto_enumTypes[0].Descriptor() +} + +func (ResourceOwnerType) Type() protoreflect.EnumType { + return &file_zitadel_settings_v2beta_settings_proto_enumTypes[0] +} + +func (x ResourceOwnerType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ResourceOwnerType.Descriptor instead. +func (ResourceOwnerType) EnumDescriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_proto_rawDescGZIP(), []int{0} +} + +var File_zitadel_settings_v2beta_settings_proto protoreflect.FileDescriptor + +var file_zitadel_settings_v2beta_settings_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, + 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2a, 0x77, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x77, 0x6e, + 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, + 0x43, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, + 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x52, + 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x01, 0x12, 0x1b, 0x0a, + 0x17, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x52, 0x47, 0x10, 0x02, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x72, 0x70, + 0x63, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x3b, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_zitadel_settings_v2beta_settings_proto_rawDescOnce sync.Once + file_zitadel_settings_v2beta_settings_proto_rawDescData = file_zitadel_settings_v2beta_settings_proto_rawDesc +) + +func file_zitadel_settings_v2beta_settings_proto_rawDescGZIP() []byte { + file_zitadel_settings_v2beta_settings_proto_rawDescOnce.Do(func() { + file_zitadel_settings_v2beta_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_settings_v2beta_settings_proto_rawDescData) + }) + return file_zitadel_settings_v2beta_settings_proto_rawDescData +} + +var file_zitadel_settings_v2beta_settings_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_zitadel_settings_v2beta_settings_proto_goTypes = []interface{}{ + (ResourceOwnerType)(0), // 0: zitadel.settings.v2beta.ResourceOwnerType +} +var file_zitadel_settings_v2beta_settings_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_zitadel_settings_v2beta_settings_proto_init() } +func file_zitadel_settings_v2beta_settings_proto_init() { + if File_zitadel_settings_v2beta_settings_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_settings_v2beta_settings_proto_rawDesc, + NumEnums: 1, + NumMessages: 0, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_settings_v2beta_settings_proto_goTypes, + DependencyIndexes: file_zitadel_settings_v2beta_settings_proto_depIdxs, + EnumInfos: file_zitadel_settings_v2beta_settings_proto_enumTypes, + }.Build() + File_zitadel_settings_v2beta_settings_proto = out.File + file_zitadel_settings_v2beta_settings_proto_rawDesc = nil + file_zitadel_settings_v2beta_settings_proto_goTypes = nil + file_zitadel_settings_v2beta_settings_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/settings/v2beta/settings_service.pb.go b/pkg/client/zitadel/settings/v2beta/settings_service.pb.go new file mode 100644 index 0000000..9e8082f --- /dev/null +++ b/pkg/client/zitadel/settings/v2beta/settings_service.pb.go @@ -0,0 +1,1551 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/settings/v2beta/settings_service.proto + +package settings + +import ( + _ "github.com/envoyproxy/protoc-gen-validate/validate" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + v2beta "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object/v2beta" + _ "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/protoc/v2" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type GetLoginSettingsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ctx *v2beta.RequestContext `protobuf:"bytes,1,opt,name=ctx,proto3" json:"ctx,omitempty"` +} + +func (x *GetLoginSettingsRequest) Reset() { + *x = GetLoginSettingsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLoginSettingsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLoginSettingsRequest) ProtoMessage() {} + +func (x *GetLoginSettingsRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetLoginSettingsRequest.ProtoReflect.Descriptor instead. +func (*GetLoginSettingsRequest) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{0} +} + +func (x *GetLoginSettingsRequest) GetCtx() *v2beta.RequestContext { + if x != nil { + return x.Ctx + } + return nil +} + +type GetLoginSettingsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + Settings *LoginSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` +} + +func (x *GetLoginSettingsResponse) Reset() { + *x = GetLoginSettingsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLoginSettingsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLoginSettingsResponse) ProtoMessage() {} + +func (x *GetLoginSettingsResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetLoginSettingsResponse.ProtoReflect.Descriptor instead. +func (*GetLoginSettingsResponse) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{1} +} + +func (x *GetLoginSettingsResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *GetLoginSettingsResponse) GetSettings() *LoginSettings { + if x != nil { + return x.Settings + } + return nil +} + +type GetPasswordComplexitySettingsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ctx *v2beta.RequestContext `protobuf:"bytes,1,opt,name=ctx,proto3" json:"ctx,omitempty"` +} + +func (x *GetPasswordComplexitySettingsRequest) Reset() { + *x = GetPasswordComplexitySettingsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPasswordComplexitySettingsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPasswordComplexitySettingsRequest) ProtoMessage() {} + +func (x *GetPasswordComplexitySettingsRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPasswordComplexitySettingsRequest.ProtoReflect.Descriptor instead. +func (*GetPasswordComplexitySettingsRequest) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{2} +} + +func (x *GetPasswordComplexitySettingsRequest) GetCtx() *v2beta.RequestContext { + if x != nil { + return x.Ctx + } + return nil +} + +type GetPasswordComplexitySettingsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + Settings *PasswordComplexitySettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` +} + +func (x *GetPasswordComplexitySettingsResponse) Reset() { + *x = GetPasswordComplexitySettingsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetPasswordComplexitySettingsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetPasswordComplexitySettingsResponse) ProtoMessage() {} + +func (x *GetPasswordComplexitySettingsResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetPasswordComplexitySettingsResponse.ProtoReflect.Descriptor instead. +func (*GetPasswordComplexitySettingsResponse) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{3} +} + +func (x *GetPasswordComplexitySettingsResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *GetPasswordComplexitySettingsResponse) GetSettings() *PasswordComplexitySettings { + if x != nil { + return x.Settings + } + return nil +} + +type GetBrandingSettingsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ctx *v2beta.RequestContext `protobuf:"bytes,1,opt,name=ctx,proto3" json:"ctx,omitempty"` +} + +func (x *GetBrandingSettingsRequest) Reset() { + *x = GetBrandingSettingsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBrandingSettingsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBrandingSettingsRequest) ProtoMessage() {} + +func (x *GetBrandingSettingsRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBrandingSettingsRequest.ProtoReflect.Descriptor instead. +func (*GetBrandingSettingsRequest) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{4} +} + +func (x *GetBrandingSettingsRequest) GetCtx() *v2beta.RequestContext { + if x != nil { + return x.Ctx + } + return nil +} + +type GetBrandingSettingsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + Settings *BrandingSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` +} + +func (x *GetBrandingSettingsResponse) Reset() { + *x = GetBrandingSettingsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBrandingSettingsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBrandingSettingsResponse) ProtoMessage() {} + +func (x *GetBrandingSettingsResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBrandingSettingsResponse.ProtoReflect.Descriptor instead. +func (*GetBrandingSettingsResponse) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{5} +} + +func (x *GetBrandingSettingsResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *GetBrandingSettingsResponse) GetSettings() *BrandingSettings { + if x != nil { + return x.Settings + } + return nil +} + +type GetDomainSettingsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ctx *v2beta.RequestContext `protobuf:"bytes,1,opt,name=ctx,proto3" json:"ctx,omitempty"` +} + +func (x *GetDomainSettingsRequest) Reset() { + *x = GetDomainSettingsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDomainSettingsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDomainSettingsRequest) ProtoMessage() {} + +func (x *GetDomainSettingsRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetDomainSettingsRequest.ProtoReflect.Descriptor instead. +func (*GetDomainSettingsRequest) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{6} +} + +func (x *GetDomainSettingsRequest) GetCtx() *v2beta.RequestContext { + if x != nil { + return x.Ctx + } + return nil +} + +type GetDomainSettingsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + Settings *DomainSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` +} + +func (x *GetDomainSettingsResponse) Reset() { + *x = GetDomainSettingsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetDomainSettingsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetDomainSettingsResponse) ProtoMessage() {} + +func (x *GetDomainSettingsResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetDomainSettingsResponse.ProtoReflect.Descriptor instead. +func (*GetDomainSettingsResponse) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{7} +} + +func (x *GetDomainSettingsResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *GetDomainSettingsResponse) GetSettings() *DomainSettings { + if x != nil { + return x.Settings + } + return nil +} + +type GetLegalAndSupportSettingsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ctx *v2beta.RequestContext `protobuf:"bytes,1,opt,name=ctx,proto3" json:"ctx,omitempty"` +} + +func (x *GetLegalAndSupportSettingsRequest) Reset() { + *x = GetLegalAndSupportSettingsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLegalAndSupportSettingsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLegalAndSupportSettingsRequest) ProtoMessage() {} + +func (x *GetLegalAndSupportSettingsRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetLegalAndSupportSettingsRequest.ProtoReflect.Descriptor instead. +func (*GetLegalAndSupportSettingsRequest) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{8} +} + +func (x *GetLegalAndSupportSettingsRequest) GetCtx() *v2beta.RequestContext { + if x != nil { + return x.Ctx + } + return nil +} + +type GetLegalAndSupportSettingsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + Settings *LegalAndSupportSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` +} + +func (x *GetLegalAndSupportSettingsResponse) Reset() { + *x = GetLegalAndSupportSettingsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLegalAndSupportSettingsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLegalAndSupportSettingsResponse) ProtoMessage() {} + +func (x *GetLegalAndSupportSettingsResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetLegalAndSupportSettingsResponse.ProtoReflect.Descriptor instead. +func (*GetLegalAndSupportSettingsResponse) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{9} +} + +func (x *GetLegalAndSupportSettingsResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *GetLegalAndSupportSettingsResponse) GetSettings() *LegalAndSupportSettings { + if x != nil { + return x.Settings + } + return nil +} + +type GetLockoutSettingsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ctx *v2beta.RequestContext `protobuf:"bytes,1,opt,name=ctx,proto3" json:"ctx,omitempty"` +} + +func (x *GetLockoutSettingsRequest) Reset() { + *x = GetLockoutSettingsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLockoutSettingsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLockoutSettingsRequest) ProtoMessage() {} + +func (x *GetLockoutSettingsRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetLockoutSettingsRequest.ProtoReflect.Descriptor instead. +func (*GetLockoutSettingsRequest) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{10} +} + +func (x *GetLockoutSettingsRequest) GetCtx() *v2beta.RequestContext { + if x != nil { + return x.Ctx + } + return nil +} + +type GetLockoutSettingsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + Settings *LockoutSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` +} + +func (x *GetLockoutSettingsResponse) Reset() { + *x = GetLockoutSettingsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLockoutSettingsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLockoutSettingsResponse) ProtoMessage() {} + +func (x *GetLockoutSettingsResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetLockoutSettingsResponse.ProtoReflect.Descriptor instead. +func (*GetLockoutSettingsResponse) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{11} +} + +func (x *GetLockoutSettingsResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *GetLockoutSettingsResponse) GetSettings() *LockoutSettings { + if x != nil { + return x.Settings + } + return nil +} + +type GetActiveIdentityProvidersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Ctx *v2beta.RequestContext `protobuf:"bytes,1,opt,name=ctx,proto3" json:"ctx,omitempty"` +} + +func (x *GetActiveIdentityProvidersRequest) Reset() { + *x = GetActiveIdentityProvidersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActiveIdentityProvidersRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActiveIdentityProvidersRequest) ProtoMessage() {} + +func (x *GetActiveIdentityProvidersRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetActiveIdentityProvidersRequest.ProtoReflect.Descriptor instead. +func (*GetActiveIdentityProvidersRequest) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{12} +} + +func (x *GetActiveIdentityProvidersRequest) GetCtx() *v2beta.RequestContext { + if x != nil { + return x.Ctx + } + return nil +} + +type GetActiveIdentityProvidersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.ListDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + IdentityProviders []*IdentityProvider `protobuf:"bytes,2,rep,name=identity_providers,json=identityProviders,proto3" json:"identity_providers,omitempty"` +} + +func (x *GetActiveIdentityProvidersResponse) Reset() { + *x = GetActiveIdentityProvidersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetActiveIdentityProvidersResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetActiveIdentityProvidersResponse) ProtoMessage() {} + +func (x *GetActiveIdentityProvidersResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetActiveIdentityProvidersResponse.ProtoReflect.Descriptor instead. +func (*GetActiveIdentityProvidersResponse) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{13} +} + +func (x *GetActiveIdentityProvidersResponse) GetDetails() *v2beta.ListDetails { + if x != nil { + return x.Details + } + return nil +} + +func (x *GetActiveIdentityProvidersResponse) GetIdentityProviders() []*IdentityProvider { + if x != nil { + return x.IdentityProviders + } + return nil +} + +type GetGeneralSettingsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetGeneralSettingsRequest) Reset() { + *x = GetGeneralSettingsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetGeneralSettingsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetGeneralSettingsRequest) ProtoMessage() {} + +func (x *GetGeneralSettingsRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetGeneralSettingsRequest.ProtoReflect.Descriptor instead. +func (*GetGeneralSettingsRequest) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{14} +} + +type GetGeneralSettingsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DefaultOrgId string `protobuf:"bytes,1,opt,name=default_org_id,json=defaultOrgId,proto3" json:"default_org_id,omitempty"` + DefaultLanguage string `protobuf:"bytes,2,opt,name=default_language,json=defaultLanguage,proto3" json:"default_language,omitempty"` + SupportedLanguages []string `protobuf:"bytes,3,rep,name=supported_languages,json=supportedLanguages,proto3" json:"supported_languages,omitempty"` +} + +func (x *GetGeneralSettingsResponse) Reset() { + *x = GetGeneralSettingsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetGeneralSettingsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetGeneralSettingsResponse) ProtoMessage() {} + +func (x *GetGeneralSettingsResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_settings_v2beta_settings_service_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetGeneralSettingsResponse.ProtoReflect.Descriptor instead. +func (*GetGeneralSettingsResponse) Descriptor() ([]byte, []int) { + return file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP(), []int{15} +} + +func (x *GetGeneralSettingsResponse) GetDefaultOrgId() string { + if x != nil { + return x.DefaultOrgId + } + return "" +} + +func (x *GetGeneralSettingsResponse) GetDefaultLanguage() string { + if x != nil { + return x.DefaultLanguage + } + return "" +} + +func (x *GetGeneralSettingsResponse) GetSupportedLanguages() []string { + if x != nil { + return x.SupportedLanguages + } + return nil +} + +var File_zitadel_settings_v2beta_settings_service_proto protoreflect.FileDescriptor + +var file_zitadel_settings_v2beta_settings_service_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x17, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x2b, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x7a, 0x69, 0x74, + 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2f, 0x6c, 0x6f, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, + 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, + 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, + 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x52, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x03, 0x63, 0x74, + 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x03, + 0x63, 0x74, 0x78, 0x22, 0x98, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, + 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x08, 0x73, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x5f, + 0x0a, 0x24, 0x47, 0x65, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x43, 0x6f, 0x6d, + 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x03, 0x63, 0x74, 0x78, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x03, 0x63, 0x74, 0x78, 0x22, + 0xb2, 0x01, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x43, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, + 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x12, 0x4f, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, + 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, + 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x22, 0x55, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x37, 0x0a, 0x03, 0x63, 0x74, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x25, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x03, 0x63, 0x74, 0x78, 0x22, 0x9e, 0x01, 0x0a, 0x1b, + 0x47, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x45, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x53, 0x0a, 0x18, + 0x47, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x03, 0x63, 0x74, 0x78, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x03, 0x63, 0x74, + 0x78, 0x22, 0x9a, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, + 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x43, 0x0a, 0x08, 0x73, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x5c, + 0x0a, 0x21, 0x47, 0x65, 0x74, 0x4c, 0x65, 0x67, 0x61, 0x6c, 0x41, 0x6e, 0x64, 0x53, 0x75, 0x70, + 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x03, 0x63, 0x74, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x25, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x03, 0x63, 0x74, 0x78, 0x22, 0xac, 0x01, 0x0a, + 0x22, 0x47, 0x65, 0x74, 0x4c, 0x65, 0x67, 0x61, 0x6c, 0x41, 0x6e, 0x64, 0x53, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x4c, 0x0a, + 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x6c, 0x41, + 0x6e, 0x64, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x54, 0x0a, 0x19, 0x47, + 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x03, 0x63, 0x74, 0x78, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x03, 0x63, 0x74, + 0x78, 0x22, 0x9c, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x6f, 0x75, 0x74, + 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x44, 0x0a, 0x08, 0x73, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x22, 0x5c, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x03, 0x63, 0x74, 0x78, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x03, 0x63, 0x74, 0x78, 0x22, 0xbc, + 0x01, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x12, 0x58, 0x0a, 0x12, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x29, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x11, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x22, 0x1b, 0x0a, + 0x19, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x9f, 0x02, 0x0a, 0x1a, 0x47, + 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x0e, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x31, 0x92, 0x41, 0x2e, 0x32, 0x2c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x20, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x66, 0x6f, 0x72, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x20, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4f, 0x72, 0x67, + 0x49, 0x64, 0x12, 0x5e, 0x0a, 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6c, 0x61, + 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0x92, 0x41, + 0x30, 0x32, 0x28, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x20, 0x6c, 0x61, 0x6e, 0x67, 0x75, + 0x61, 0x67, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x74, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x4a, 0x04, 0x22, 0x65, 0x6e, + 0x22, 0x52, 0x0f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, + 0x67, 0x65, 0x12, 0x48, 0x0a, 0x13, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, + 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, + 0x17, 0x92, 0x41, 0x14, 0x4a, 0x12, 0x5b, 0x22, 0x65, 0x6e, 0x22, 0x2c, 0x20, 0x22, 0x64, 0x65, + 0x22, 0x2c, 0x20, 0x22, 0x69, 0x74, 0x22, 0x5d, 0x52, 0x12, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, + 0x74, 0x65, 0x64, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x32, 0xc0, 0x13, 0x0a, + 0x0f, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0xac, 0x02, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x53, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x32, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, + 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0xac, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x8a, 0xb5, 0x18, 0x0f, 0x0a, + 0x0d, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x92, 0x41, + 0x7e, 0x12, 0x27, 0x47, 0x65, 0x74, 0x20, 0x62, 0x61, 0x73, 0x69, 0x63, 0x20, 0x69, 0x6e, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x76, 0x65, 0x72, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x46, 0x52, 0x65, 0x74, 0x75, + 0x72, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x62, 0x61, 0x73, 0x69, 0x63, 0x20, 0x69, 0x6e, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, + 0x82, 0x02, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x12, 0x30, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, + 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x88, 0x01, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x18, 0x12, 0x16, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x8a, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, + 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x92, 0x41, 0x54, + 0x12, 0x16, 0x47, 0x65, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x20, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x2d, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x20, 0x66, 0x6f, + 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x20, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, + 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xd2, 0x02, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x73, 0x12, 0x3a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, + 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x3b, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xba, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x69, 0x64, + 0x70, 0x73, 0x8a, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x2e, 0x72, 0x65, 0x61, 0x64, 0x92, 0x41, 0x80, 0x01, 0x12, 0x29, 0x47, 0x65, 0x74, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x20, 0x61, 0x63, 0x74, 0x69, 0x76, + 0x65, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x73, 0x1a, 0x46, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x20, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x20, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x65, 0x64, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x4a, 0x0b, 0x0a, 0x03, + 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xd9, 0x02, 0x0a, 0x1d, 0x47, 0x65, + 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, + 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3d, 0x2e, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, + 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x7a, 0x69, 0x74, + 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb8, 0x01, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x2f, 0x63, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x8a, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x0a, + 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x92, 0x41, 0x76, 0x12, + 0x24, 0x47, 0x65, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, + 0x64, 0x20, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x69, 0x74, 0x79, 0x20, 0x73, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x41, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x63, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x78, 0x69, 0x74, 0x79, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x20, 0x66, + 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, + 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, + 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xb8, 0x02, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x42, 0x72, 0x61, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x33, 0x2e, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, + 0x42, 0x72, 0x61, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb5, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x1b, 0x12, 0x19, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x2f, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x8a, 0xb5, 0x18, 0x0f, + 0x0a, 0x0d, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x72, 0x65, 0x61, 0x64, 0x92, + 0x41, 0x7e, 0x12, 0x28, 0x47, 0x65, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x75, 0x72, 0x72, + 0x65, 0x6e, 0x74, 0x20, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x20, 0x62, 0x72, 0x61, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x45, 0x52, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, + 0x20, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x20, 0x62, 0x72, 0x61, 0x6e, 0x64, 0x69, 0x6e, 0x67, + 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x20, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x78, 0x74, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, + 0x12, 0x8e, 0x02, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x31, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2e, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x8a, + 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x72, 0x65, + 0x61, 0x64, 0x92, 0x41, 0x5c, 0x12, 0x17, 0x47, 0x65, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x64, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x34, + 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x20, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x78, 0x74, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, + 0x4b, 0x12, 0xba, 0x02, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4c, 0x65, 0x67, 0x61, 0x6c, 0x41, 0x6e, + 0x64, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x12, 0x3a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x65, + 0x67, 0x61, 0x6c, 0x41, 0x6e, 0x64, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x65, 0x67, 0x61, 0x6c, 0x41, + 0x6e, 0x64, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa2, 0x01, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, + 0x72, 0x74, 0x8a, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x2e, 0x72, 0x65, 0x61, 0x64, 0x92, 0x41, 0x66, 0x12, 0x22, 0x47, 0x65, 0x74, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x73, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x33, 0x52, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x20, 0x73, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xbe, + 0x02, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x32, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, + 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x53, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbe, + 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x6c, 0x6f, 0x63, 0x6b, 0x6f, 0x75, + 0x74, 0x8a, 0xb5, 0x18, 0x0f, 0x0a, 0x0d, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, + 0x72, 0x65, 0x61, 0x64, 0x92, 0x41, 0x87, 0x01, 0x12, 0x18, 0x47, 0x65, 0x74, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x6c, 0x6f, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x1a, 0x5e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, + 0x6f, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x20, + 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, + 0x64, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2c, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, + 0x20, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x61, 0x20, 0x75, + 0x73, 0x65, 0x72, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x6c, 0x6f, 0x63, 0x6b, + 0x65, 0x64, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x42, + 0xbe, 0x08, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, + 0x6b, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x92, 0x41, 0xfc, 0x07, 0x12, 0xda, 0x02, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xc7, 0x01, 0x54, 0x68, 0x69, 0x73, + 0x20, 0x41, 0x50, 0x49, 0x20, 0x69, 0x73, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, + 0x20, 0x74, 0x6f, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x20, 0x73, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x20, 0x69, 0x6e, 0x20, 0x61, 0x20, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, + 0x20, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x20, 0x54, 0x68, 0x69, 0x73, 0x20, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x69, 0x73, 0x20, 0x69, 0x6e, 0x20, 0x62, 0x65, + 0x74, 0x61, 0x20, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x20, 0x49, 0x74, 0x20, 0x63, 0x61, 0x6e, + 0x20, 0x41, 0x4e, 0x44, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x69, 0x6e, + 0x75, 0x65, 0x20, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x20, 0x75, 0x6e, 0x74, 0x69, + 0x6c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x20, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x61, 0x6d, 0x65, 0x20, + 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x20, 0x61, 0x73, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x20, 0x6c, 0x6f, 0x67, + 0x69, 0x6e, 0x2e, 0x22, 0x2e, 0x0a, 0x07, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x12, 0x13, + 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x63, 0x6f, 0x6d, 0x1a, 0x0e, 0x68, 0x69, 0x40, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x63, 0x6f, 0x6d, 0x2a, 0x42, 0x0a, 0x0a, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, 0x20, 0x32, 0x2e, + 0x30, 0x12, 0x34, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d, 0x61, 0x69, 0x6e, 0x2f, + 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x32, 0x08, 0x32, 0x2e, 0x30, 0x2d, 0x62, 0x65, 0x74, + 0x61, 0x1a, 0x0e, 0x24, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x2d, 0x44, 0x4f, 0x4d, 0x41, 0x49, + 0x4e, 0x22, 0x01, 0x2f, 0x2a, 0x02, 0x02, 0x01, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x32, 0x1a, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x77, + 0x65, 0x62, 0x2b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3a, 0x1a, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x77, + 0x65, 0x62, 0x2b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x6d, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, + 0x66, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, + 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x12, 0x1b, 0x0a, 0x19, 0x1a, 0x17, + 0x23, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x70, + 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x49, + 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, + 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x1b, 0x0a, 0x19, + 0x1a, 0x17, 0x23, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x72, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5a, 0xc2, 0x01, 0x0a, 0xbf, 0x01, 0x0a, + 0x06, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x12, 0xb4, 0x01, 0x08, 0x03, 0x28, 0x04, 0x32, 0x21, + 0x24, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x2d, 0x44, 0x4f, 0x4d, 0x41, 0x49, 0x4e, 0x2f, 0x6f, + 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x65, 0x3a, 0x1d, 0x24, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x2d, 0x44, 0x4f, 0x4d, 0x41, 0x49, + 0x4e, 0x2f, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x42, 0x6c, 0x0a, 0x10, 0x0a, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x12, 0x06, 0x6f, 0x70, + 0x65, 0x6e, 0x69, 0x64, 0x0a, 0x58, 0x0a, 0x2a, 0x75, 0x72, 0x6e, 0x3a, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x3a, 0x69, 0x61, 0x6d, 0x3a, 0x6f, 0x72, 0x67, 0x3a, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x3a, 0x69, 0x64, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, 0x61, + 0x75, 0x64, 0x12, 0x2a, 0x75, 0x72, 0x6e, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, + 0x69, 0x61, 0x6d, 0x3a, 0x6f, 0x72, 0x67, 0x3a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3a, + 0x69, 0x64, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, 0x61, 0x75, 0x64, 0x62, 0x40, + 0x0a, 0x3e, 0x0a, 0x06, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x12, 0x34, 0x0a, 0x06, 0x6f, 0x70, + 0x65, 0x6e, 0x69, 0x64, 0x0a, 0x2a, 0x75, 0x72, 0x6e, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x3a, 0x69, 0x61, 0x6d, 0x3a, 0x6f, 0x72, 0x67, 0x3a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x3a, 0x69, 0x64, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, 0x61, 0x75, 0x64, + 0x72, 0x3e, 0x0a, 0x22, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x20, 0x69, 0x6e, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x61, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x5a, + 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x12, 0x18, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x6f, 0x63, 0x73, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_settings_v2beta_settings_service_proto_rawDescOnce sync.Once + file_zitadel_settings_v2beta_settings_service_proto_rawDescData = file_zitadel_settings_v2beta_settings_service_proto_rawDesc +) + +func file_zitadel_settings_v2beta_settings_service_proto_rawDescGZIP() []byte { + file_zitadel_settings_v2beta_settings_service_proto_rawDescOnce.Do(func() { + file_zitadel_settings_v2beta_settings_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_settings_v2beta_settings_service_proto_rawDescData) + }) + return file_zitadel_settings_v2beta_settings_service_proto_rawDescData +} + +var file_zitadel_settings_v2beta_settings_service_proto_msgTypes = make([]protoimpl.MessageInfo, 16) +var file_zitadel_settings_v2beta_settings_service_proto_goTypes = []interface{}{ + (*GetLoginSettingsRequest)(nil), // 0: zitadel.settings.v2beta.GetLoginSettingsRequest + (*GetLoginSettingsResponse)(nil), // 1: zitadel.settings.v2beta.GetLoginSettingsResponse + (*GetPasswordComplexitySettingsRequest)(nil), // 2: zitadel.settings.v2beta.GetPasswordComplexitySettingsRequest + (*GetPasswordComplexitySettingsResponse)(nil), // 3: zitadel.settings.v2beta.GetPasswordComplexitySettingsResponse + (*GetBrandingSettingsRequest)(nil), // 4: zitadel.settings.v2beta.GetBrandingSettingsRequest + (*GetBrandingSettingsResponse)(nil), // 5: zitadel.settings.v2beta.GetBrandingSettingsResponse + (*GetDomainSettingsRequest)(nil), // 6: zitadel.settings.v2beta.GetDomainSettingsRequest + (*GetDomainSettingsResponse)(nil), // 7: zitadel.settings.v2beta.GetDomainSettingsResponse + (*GetLegalAndSupportSettingsRequest)(nil), // 8: zitadel.settings.v2beta.GetLegalAndSupportSettingsRequest + (*GetLegalAndSupportSettingsResponse)(nil), // 9: zitadel.settings.v2beta.GetLegalAndSupportSettingsResponse + (*GetLockoutSettingsRequest)(nil), // 10: zitadel.settings.v2beta.GetLockoutSettingsRequest + (*GetLockoutSettingsResponse)(nil), // 11: zitadel.settings.v2beta.GetLockoutSettingsResponse + (*GetActiveIdentityProvidersRequest)(nil), // 12: zitadel.settings.v2beta.GetActiveIdentityProvidersRequest + (*GetActiveIdentityProvidersResponse)(nil), // 13: zitadel.settings.v2beta.GetActiveIdentityProvidersResponse + (*GetGeneralSettingsRequest)(nil), // 14: zitadel.settings.v2beta.GetGeneralSettingsRequest + (*GetGeneralSettingsResponse)(nil), // 15: zitadel.settings.v2beta.GetGeneralSettingsResponse + (*v2beta.RequestContext)(nil), // 16: zitadel.object.v2beta.RequestContext + (*v2beta.Details)(nil), // 17: zitadel.object.v2beta.Details + (*LoginSettings)(nil), // 18: zitadel.settings.v2beta.LoginSettings + (*PasswordComplexitySettings)(nil), // 19: zitadel.settings.v2beta.PasswordComplexitySettings + (*BrandingSettings)(nil), // 20: zitadel.settings.v2beta.BrandingSettings + (*DomainSettings)(nil), // 21: zitadel.settings.v2beta.DomainSettings + (*LegalAndSupportSettings)(nil), // 22: zitadel.settings.v2beta.LegalAndSupportSettings + (*LockoutSettings)(nil), // 23: zitadel.settings.v2beta.LockoutSettings + (*v2beta.ListDetails)(nil), // 24: zitadel.object.v2beta.ListDetails + (*IdentityProvider)(nil), // 25: zitadel.settings.v2beta.IdentityProvider +} +var file_zitadel_settings_v2beta_settings_service_proto_depIdxs = []int32{ + 16, // 0: zitadel.settings.v2beta.GetLoginSettingsRequest.ctx:type_name -> zitadel.object.v2beta.RequestContext + 17, // 1: zitadel.settings.v2beta.GetLoginSettingsResponse.details:type_name -> zitadel.object.v2beta.Details + 18, // 2: zitadel.settings.v2beta.GetLoginSettingsResponse.settings:type_name -> zitadel.settings.v2beta.LoginSettings + 16, // 3: zitadel.settings.v2beta.GetPasswordComplexitySettingsRequest.ctx:type_name -> zitadel.object.v2beta.RequestContext + 17, // 4: zitadel.settings.v2beta.GetPasswordComplexitySettingsResponse.details:type_name -> zitadel.object.v2beta.Details + 19, // 5: zitadel.settings.v2beta.GetPasswordComplexitySettingsResponse.settings:type_name -> zitadel.settings.v2beta.PasswordComplexitySettings + 16, // 6: zitadel.settings.v2beta.GetBrandingSettingsRequest.ctx:type_name -> zitadel.object.v2beta.RequestContext + 17, // 7: zitadel.settings.v2beta.GetBrandingSettingsResponse.details:type_name -> zitadel.object.v2beta.Details + 20, // 8: zitadel.settings.v2beta.GetBrandingSettingsResponse.settings:type_name -> zitadel.settings.v2beta.BrandingSettings + 16, // 9: zitadel.settings.v2beta.GetDomainSettingsRequest.ctx:type_name -> zitadel.object.v2beta.RequestContext + 17, // 10: zitadel.settings.v2beta.GetDomainSettingsResponse.details:type_name -> zitadel.object.v2beta.Details + 21, // 11: zitadel.settings.v2beta.GetDomainSettingsResponse.settings:type_name -> zitadel.settings.v2beta.DomainSettings + 16, // 12: zitadel.settings.v2beta.GetLegalAndSupportSettingsRequest.ctx:type_name -> zitadel.object.v2beta.RequestContext + 17, // 13: zitadel.settings.v2beta.GetLegalAndSupportSettingsResponse.details:type_name -> zitadel.object.v2beta.Details + 22, // 14: zitadel.settings.v2beta.GetLegalAndSupportSettingsResponse.settings:type_name -> zitadel.settings.v2beta.LegalAndSupportSettings + 16, // 15: zitadel.settings.v2beta.GetLockoutSettingsRequest.ctx:type_name -> zitadel.object.v2beta.RequestContext + 17, // 16: zitadel.settings.v2beta.GetLockoutSettingsResponse.details:type_name -> zitadel.object.v2beta.Details + 23, // 17: zitadel.settings.v2beta.GetLockoutSettingsResponse.settings:type_name -> zitadel.settings.v2beta.LockoutSettings + 16, // 18: zitadel.settings.v2beta.GetActiveIdentityProvidersRequest.ctx:type_name -> zitadel.object.v2beta.RequestContext + 24, // 19: zitadel.settings.v2beta.GetActiveIdentityProvidersResponse.details:type_name -> zitadel.object.v2beta.ListDetails + 25, // 20: zitadel.settings.v2beta.GetActiveIdentityProvidersResponse.identity_providers:type_name -> zitadel.settings.v2beta.IdentityProvider + 14, // 21: zitadel.settings.v2beta.SettingsService.GetGeneralSettings:input_type -> zitadel.settings.v2beta.GetGeneralSettingsRequest + 0, // 22: zitadel.settings.v2beta.SettingsService.GetLoginSettings:input_type -> zitadel.settings.v2beta.GetLoginSettingsRequest + 12, // 23: zitadel.settings.v2beta.SettingsService.GetActiveIdentityProviders:input_type -> zitadel.settings.v2beta.GetActiveIdentityProvidersRequest + 2, // 24: zitadel.settings.v2beta.SettingsService.GetPasswordComplexitySettings:input_type -> zitadel.settings.v2beta.GetPasswordComplexitySettingsRequest + 4, // 25: zitadel.settings.v2beta.SettingsService.GetBrandingSettings:input_type -> zitadel.settings.v2beta.GetBrandingSettingsRequest + 6, // 26: zitadel.settings.v2beta.SettingsService.GetDomainSettings:input_type -> zitadel.settings.v2beta.GetDomainSettingsRequest + 8, // 27: zitadel.settings.v2beta.SettingsService.GetLegalAndSupportSettings:input_type -> zitadel.settings.v2beta.GetLegalAndSupportSettingsRequest + 10, // 28: zitadel.settings.v2beta.SettingsService.GetLockoutSettings:input_type -> zitadel.settings.v2beta.GetLockoutSettingsRequest + 15, // 29: zitadel.settings.v2beta.SettingsService.GetGeneralSettings:output_type -> zitadel.settings.v2beta.GetGeneralSettingsResponse + 1, // 30: zitadel.settings.v2beta.SettingsService.GetLoginSettings:output_type -> zitadel.settings.v2beta.GetLoginSettingsResponse + 13, // 31: zitadel.settings.v2beta.SettingsService.GetActiveIdentityProviders:output_type -> zitadel.settings.v2beta.GetActiveIdentityProvidersResponse + 3, // 32: zitadel.settings.v2beta.SettingsService.GetPasswordComplexitySettings:output_type -> zitadel.settings.v2beta.GetPasswordComplexitySettingsResponse + 5, // 33: zitadel.settings.v2beta.SettingsService.GetBrandingSettings:output_type -> zitadel.settings.v2beta.GetBrandingSettingsResponse + 7, // 34: zitadel.settings.v2beta.SettingsService.GetDomainSettings:output_type -> zitadel.settings.v2beta.GetDomainSettingsResponse + 9, // 35: zitadel.settings.v2beta.SettingsService.GetLegalAndSupportSettings:output_type -> zitadel.settings.v2beta.GetLegalAndSupportSettingsResponse + 11, // 36: zitadel.settings.v2beta.SettingsService.GetLockoutSettings:output_type -> zitadel.settings.v2beta.GetLockoutSettingsResponse + 29, // [29:37] is the sub-list for method output_type + 21, // [21:29] is the sub-list for method input_type + 21, // [21:21] is the sub-list for extension type_name + 21, // [21:21] is the sub-list for extension extendee + 0, // [0:21] is the sub-list for field type_name +} + +func init() { file_zitadel_settings_v2beta_settings_service_proto_init() } +func file_zitadel_settings_v2beta_settings_service_proto_init() { + if File_zitadel_settings_v2beta_settings_service_proto != nil { + return + } + file_zitadel_settings_v2beta_branding_settings_proto_init() + file_zitadel_settings_v2beta_domain_settings_proto_init() + file_zitadel_settings_v2beta_legal_settings_proto_init() + file_zitadel_settings_v2beta_lockout_settings_proto_init() + file_zitadel_settings_v2beta_login_settings_proto_init() + file_zitadel_settings_v2beta_password_settings_proto_init() + if !protoimpl.UnsafeEnabled { + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLoginSettingsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLoginSettingsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPasswordComplexitySettingsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetPasswordComplexitySettingsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBrandingSettingsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBrandingSettingsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDomainSettingsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetDomainSettingsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLegalAndSupportSettingsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLegalAndSupportSettingsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLockoutSettingsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLockoutSettingsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveIdentityProvidersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetActiveIdentityProvidersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetGeneralSettingsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_settings_v2beta_settings_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetGeneralSettingsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_settings_v2beta_settings_service_proto_rawDesc, + NumEnums: 0, + NumMessages: 16, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_zitadel_settings_v2beta_settings_service_proto_goTypes, + DependencyIndexes: file_zitadel_settings_v2beta_settings_service_proto_depIdxs, + MessageInfos: file_zitadel_settings_v2beta_settings_service_proto_msgTypes, + }.Build() + File_zitadel_settings_v2beta_settings_service_proto = out.File + file_zitadel_settings_v2beta_settings_service_proto_rawDesc = nil + file_zitadel_settings_v2beta_settings_service_proto_goTypes = nil + file_zitadel_settings_v2beta_settings_service_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/settings/v2beta/settings_service_grpc.pb.go b/pkg/client/zitadel/settings/v2beta/settings_service_grpc.pb.go new file mode 100644 index 0000000..1d94e2f --- /dev/null +++ b/pkg/client/zitadel/settings/v2beta/settings_service_grpc.pb.go @@ -0,0 +1,369 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package settings + +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.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// SettingsServiceClient is the client API for SettingsService 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 SettingsServiceClient interface { + // Get basic information over the instance + GetGeneralSettings(ctx context.Context, in *GetGeneralSettingsRequest, opts ...grpc.CallOption) (*GetGeneralSettingsResponse, error) + // Get the login settings + GetLoginSettings(ctx context.Context, in *GetLoginSettingsRequest, opts ...grpc.CallOption) (*GetLoginSettingsResponse, error) + // Get the current active identity providers + GetActiveIdentityProviders(ctx context.Context, in *GetActiveIdentityProvidersRequest, opts ...grpc.CallOption) (*GetActiveIdentityProvidersResponse, error) + // Get the password complexity settings + GetPasswordComplexitySettings(ctx context.Context, in *GetPasswordComplexitySettingsRequest, opts ...grpc.CallOption) (*GetPasswordComplexitySettingsResponse, error) + // Get the current active branding settings + GetBrandingSettings(ctx context.Context, in *GetBrandingSettingsRequest, opts ...grpc.CallOption) (*GetBrandingSettingsResponse, error) + // Get the domain settings + GetDomainSettings(ctx context.Context, in *GetDomainSettingsRequest, opts ...grpc.CallOption) (*GetDomainSettingsResponse, error) + // Get the legal and support settings + GetLegalAndSupportSettings(ctx context.Context, in *GetLegalAndSupportSettingsRequest, opts ...grpc.CallOption) (*GetLegalAndSupportSettingsResponse, error) + // Get the lockout settings + GetLockoutSettings(ctx context.Context, in *GetLockoutSettingsRequest, opts ...grpc.CallOption) (*GetLockoutSettingsResponse, error) +} + +type settingsServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewSettingsServiceClient(cc grpc.ClientConnInterface) SettingsServiceClient { + return &settingsServiceClient{cc} +} + +func (c *settingsServiceClient) GetGeneralSettings(ctx context.Context, in *GetGeneralSettingsRequest, opts ...grpc.CallOption) (*GetGeneralSettingsResponse, error) { + out := new(GetGeneralSettingsResponse) + err := c.cc.Invoke(ctx, "/zitadel.settings.v2beta.SettingsService/GetGeneralSettings", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *settingsServiceClient) GetLoginSettings(ctx context.Context, in *GetLoginSettingsRequest, opts ...grpc.CallOption) (*GetLoginSettingsResponse, error) { + out := new(GetLoginSettingsResponse) + err := c.cc.Invoke(ctx, "/zitadel.settings.v2beta.SettingsService/GetLoginSettings", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *settingsServiceClient) GetActiveIdentityProviders(ctx context.Context, in *GetActiveIdentityProvidersRequest, opts ...grpc.CallOption) (*GetActiveIdentityProvidersResponse, error) { + out := new(GetActiveIdentityProvidersResponse) + err := c.cc.Invoke(ctx, "/zitadel.settings.v2beta.SettingsService/GetActiveIdentityProviders", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *settingsServiceClient) GetPasswordComplexitySettings(ctx context.Context, in *GetPasswordComplexitySettingsRequest, opts ...grpc.CallOption) (*GetPasswordComplexitySettingsResponse, error) { + out := new(GetPasswordComplexitySettingsResponse) + err := c.cc.Invoke(ctx, "/zitadel.settings.v2beta.SettingsService/GetPasswordComplexitySettings", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *settingsServiceClient) GetBrandingSettings(ctx context.Context, in *GetBrandingSettingsRequest, opts ...grpc.CallOption) (*GetBrandingSettingsResponse, error) { + out := new(GetBrandingSettingsResponse) + err := c.cc.Invoke(ctx, "/zitadel.settings.v2beta.SettingsService/GetBrandingSettings", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *settingsServiceClient) GetDomainSettings(ctx context.Context, in *GetDomainSettingsRequest, opts ...grpc.CallOption) (*GetDomainSettingsResponse, error) { + out := new(GetDomainSettingsResponse) + err := c.cc.Invoke(ctx, "/zitadel.settings.v2beta.SettingsService/GetDomainSettings", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *settingsServiceClient) GetLegalAndSupportSettings(ctx context.Context, in *GetLegalAndSupportSettingsRequest, opts ...grpc.CallOption) (*GetLegalAndSupportSettingsResponse, error) { + out := new(GetLegalAndSupportSettingsResponse) + err := c.cc.Invoke(ctx, "/zitadel.settings.v2beta.SettingsService/GetLegalAndSupportSettings", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *settingsServiceClient) GetLockoutSettings(ctx context.Context, in *GetLockoutSettingsRequest, opts ...grpc.CallOption) (*GetLockoutSettingsResponse, error) { + out := new(GetLockoutSettingsResponse) + err := c.cc.Invoke(ctx, "/zitadel.settings.v2beta.SettingsService/GetLockoutSettings", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// SettingsServiceServer is the server API for SettingsService service. +// All implementations must embed UnimplementedSettingsServiceServer +// for forward compatibility +type SettingsServiceServer interface { + // Get basic information over the instance + GetGeneralSettings(context.Context, *GetGeneralSettingsRequest) (*GetGeneralSettingsResponse, error) + // Get the login settings + GetLoginSettings(context.Context, *GetLoginSettingsRequest) (*GetLoginSettingsResponse, error) + // Get the current active identity providers + GetActiveIdentityProviders(context.Context, *GetActiveIdentityProvidersRequest) (*GetActiveIdentityProvidersResponse, error) + // Get the password complexity settings + GetPasswordComplexitySettings(context.Context, *GetPasswordComplexitySettingsRequest) (*GetPasswordComplexitySettingsResponse, error) + // Get the current active branding settings + GetBrandingSettings(context.Context, *GetBrandingSettingsRequest) (*GetBrandingSettingsResponse, error) + // Get the domain settings + GetDomainSettings(context.Context, *GetDomainSettingsRequest) (*GetDomainSettingsResponse, error) + // Get the legal and support settings + GetLegalAndSupportSettings(context.Context, *GetLegalAndSupportSettingsRequest) (*GetLegalAndSupportSettingsResponse, error) + // Get the lockout settings + GetLockoutSettings(context.Context, *GetLockoutSettingsRequest) (*GetLockoutSettingsResponse, error) + mustEmbedUnimplementedSettingsServiceServer() +} + +// UnimplementedSettingsServiceServer must be embedded to have forward compatible implementations. +type UnimplementedSettingsServiceServer struct { +} + +func (UnimplementedSettingsServiceServer) GetGeneralSettings(context.Context, *GetGeneralSettingsRequest) (*GetGeneralSettingsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetGeneralSettings not implemented") +} +func (UnimplementedSettingsServiceServer) GetLoginSettings(context.Context, *GetLoginSettingsRequest) (*GetLoginSettingsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLoginSettings not implemented") +} +func (UnimplementedSettingsServiceServer) GetActiveIdentityProviders(context.Context, *GetActiveIdentityProvidersRequest) (*GetActiveIdentityProvidersResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetActiveIdentityProviders not implemented") +} +func (UnimplementedSettingsServiceServer) GetPasswordComplexitySettings(context.Context, *GetPasswordComplexitySettingsRequest) (*GetPasswordComplexitySettingsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetPasswordComplexitySettings not implemented") +} +func (UnimplementedSettingsServiceServer) GetBrandingSettings(context.Context, *GetBrandingSettingsRequest) (*GetBrandingSettingsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBrandingSettings not implemented") +} +func (UnimplementedSettingsServiceServer) GetDomainSettings(context.Context, *GetDomainSettingsRequest) (*GetDomainSettingsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetDomainSettings not implemented") +} +func (UnimplementedSettingsServiceServer) GetLegalAndSupportSettings(context.Context, *GetLegalAndSupportSettingsRequest) (*GetLegalAndSupportSettingsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLegalAndSupportSettings not implemented") +} +func (UnimplementedSettingsServiceServer) GetLockoutSettings(context.Context, *GetLockoutSettingsRequest) (*GetLockoutSettingsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetLockoutSettings not implemented") +} +func (UnimplementedSettingsServiceServer) mustEmbedUnimplementedSettingsServiceServer() {} + +// UnsafeSettingsServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to SettingsServiceServer will +// result in compilation errors. +type UnsafeSettingsServiceServer interface { + mustEmbedUnimplementedSettingsServiceServer() +} + +func RegisterSettingsServiceServer(s grpc.ServiceRegistrar, srv SettingsServiceServer) { + s.RegisterService(&SettingsService_ServiceDesc, srv) +} + +func _SettingsService_GetGeneralSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetGeneralSettingsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SettingsServiceServer).GetGeneralSettings(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.settings.v2beta.SettingsService/GetGeneralSettings", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SettingsServiceServer).GetGeneralSettings(ctx, req.(*GetGeneralSettingsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SettingsService_GetLoginSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLoginSettingsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SettingsServiceServer).GetLoginSettings(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.settings.v2beta.SettingsService/GetLoginSettings", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SettingsServiceServer).GetLoginSettings(ctx, req.(*GetLoginSettingsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SettingsService_GetActiveIdentityProviders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetActiveIdentityProvidersRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SettingsServiceServer).GetActiveIdentityProviders(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.settings.v2beta.SettingsService/GetActiveIdentityProviders", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SettingsServiceServer).GetActiveIdentityProviders(ctx, req.(*GetActiveIdentityProvidersRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SettingsService_GetPasswordComplexitySettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetPasswordComplexitySettingsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SettingsServiceServer).GetPasswordComplexitySettings(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.settings.v2beta.SettingsService/GetPasswordComplexitySettings", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SettingsServiceServer).GetPasswordComplexitySettings(ctx, req.(*GetPasswordComplexitySettingsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SettingsService_GetBrandingSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetBrandingSettingsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SettingsServiceServer).GetBrandingSettings(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.settings.v2beta.SettingsService/GetBrandingSettings", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SettingsServiceServer).GetBrandingSettings(ctx, req.(*GetBrandingSettingsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SettingsService_GetDomainSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetDomainSettingsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SettingsServiceServer).GetDomainSettings(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.settings.v2beta.SettingsService/GetDomainSettings", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SettingsServiceServer).GetDomainSettings(ctx, req.(*GetDomainSettingsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SettingsService_GetLegalAndSupportSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLegalAndSupportSettingsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SettingsServiceServer).GetLegalAndSupportSettings(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.settings.v2beta.SettingsService/GetLegalAndSupportSettings", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SettingsServiceServer).GetLegalAndSupportSettings(ctx, req.(*GetLegalAndSupportSettingsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SettingsService_GetLockoutSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetLockoutSettingsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SettingsServiceServer).GetLockoutSettings(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.settings.v2beta.SettingsService/GetLockoutSettings", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SettingsServiceServer).GetLockoutSettings(ctx, req.(*GetLockoutSettingsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// SettingsService_ServiceDesc is the grpc.ServiceDesc for SettingsService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var SettingsService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "zitadel.settings.v2beta.SettingsService", + HandlerType: (*SettingsServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "GetGeneralSettings", + Handler: _SettingsService_GetGeneralSettings_Handler, + }, + { + MethodName: "GetLoginSettings", + Handler: _SettingsService_GetLoginSettings_Handler, + }, + { + MethodName: "GetActiveIdentityProviders", + Handler: _SettingsService_GetActiveIdentityProviders_Handler, + }, + { + MethodName: "GetPasswordComplexitySettings", + Handler: _SettingsService_GetPasswordComplexitySettings_Handler, + }, + { + MethodName: "GetBrandingSettings", + Handler: _SettingsService_GetBrandingSettings_Handler, + }, + { + MethodName: "GetDomainSettings", + Handler: _SettingsService_GetDomainSettings_Handler, + }, + { + MethodName: "GetLegalAndSupportSettings", + Handler: _SettingsService_GetLegalAndSupportSettings_Handler, + }, + { + MethodName: "GetLockoutSettings", + Handler: _SettingsService_GetLockoutSettings_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "zitadel/settings/v2beta/settings_service.proto", +} diff --git a/pkg/client/zitadel/user/v2beta/auth.pb.go b/pkg/client/zitadel/user/v2beta/auth.pb.go new file mode 100644 index 0000000..a281267 --- /dev/null +++ b/pkg/client/zitadel/user/v2beta/auth.pb.go @@ -0,0 +1,378 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/user/v2beta/auth.proto + +package user + +import ( + _ "github.com/envoyproxy/protoc-gen-validate/validate" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type PasskeyAuthenticator int32 + +const ( + PasskeyAuthenticator_PASSKEY_AUTHENTICATOR_UNSPECIFIED PasskeyAuthenticator = 0 + PasskeyAuthenticator_PASSKEY_AUTHENTICATOR_PLATFORM PasskeyAuthenticator = 1 + PasskeyAuthenticator_PASSKEY_AUTHENTICATOR_CROSS_PLATFORM PasskeyAuthenticator = 2 +) + +// Enum value maps for PasskeyAuthenticator. +var ( + PasskeyAuthenticator_name = map[int32]string{ + 0: "PASSKEY_AUTHENTICATOR_UNSPECIFIED", + 1: "PASSKEY_AUTHENTICATOR_PLATFORM", + 2: "PASSKEY_AUTHENTICATOR_CROSS_PLATFORM", + } + PasskeyAuthenticator_value = map[string]int32{ + "PASSKEY_AUTHENTICATOR_UNSPECIFIED": 0, + "PASSKEY_AUTHENTICATOR_PLATFORM": 1, + "PASSKEY_AUTHENTICATOR_CROSS_PLATFORM": 2, + } +) + +func (x PasskeyAuthenticator) Enum() *PasskeyAuthenticator { + p := new(PasskeyAuthenticator) + *p = x + return p +} + +func (x PasskeyAuthenticator) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (PasskeyAuthenticator) Descriptor() protoreflect.EnumDescriptor { + return file_zitadel_user_v2beta_auth_proto_enumTypes[0].Descriptor() +} + +func (PasskeyAuthenticator) Type() protoreflect.EnumType { + return &file_zitadel_user_v2beta_auth_proto_enumTypes[0] +} + +func (x PasskeyAuthenticator) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PasskeyAuthenticator.Descriptor instead. +func (PasskeyAuthenticator) EnumDescriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_auth_proto_rawDescGZIP(), []int{0} +} + +type SendPasskeyRegistrationLink struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UrlTemplate *string `protobuf:"bytes,1,opt,name=url_template,json=urlTemplate,proto3,oneof" json:"url_template,omitempty"` +} + +func (x *SendPasskeyRegistrationLink) Reset() { + *x = SendPasskeyRegistrationLink{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_auth_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SendPasskeyRegistrationLink) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SendPasskeyRegistrationLink) ProtoMessage() {} + +func (x *SendPasskeyRegistrationLink) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_auth_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SendPasskeyRegistrationLink.ProtoReflect.Descriptor instead. +func (*SendPasskeyRegistrationLink) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_auth_proto_rawDescGZIP(), []int{0} +} + +func (x *SendPasskeyRegistrationLink) GetUrlTemplate() string { + if x != nil && x.UrlTemplate != nil { + return *x.UrlTemplate + } + return "" +} + +type ReturnPasskeyRegistrationCode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReturnPasskeyRegistrationCode) Reset() { + *x = ReturnPasskeyRegistrationCode{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_auth_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReturnPasskeyRegistrationCode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReturnPasskeyRegistrationCode) ProtoMessage() {} + +func (x *ReturnPasskeyRegistrationCode) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_auth_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReturnPasskeyRegistrationCode.ProtoReflect.Descriptor instead. +func (*ReturnPasskeyRegistrationCode) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_auth_proto_rawDescGZIP(), []int{1} +} + +type PasskeyRegistrationCode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` +} + +func (x *PasskeyRegistrationCode) Reset() { + *x = PasskeyRegistrationCode{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_auth_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PasskeyRegistrationCode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PasskeyRegistrationCode) ProtoMessage() {} + +func (x *PasskeyRegistrationCode) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_auth_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PasskeyRegistrationCode.ProtoReflect.Descriptor instead. +func (*PasskeyRegistrationCode) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_auth_proto_rawDescGZIP(), []int{2} +} + +func (x *PasskeyRegistrationCode) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *PasskeyRegistrationCode) GetCode() string { + if x != nil { + return x.Code + } + return "" +} + +var File_zitadel_user_v2beta_auth_proto protoreflect.FileDescriptor + +var file_zitadel_user_v2beta_auth_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x13, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, + 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, + 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xa0, 0x03, 0x0a, 0x1b, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6e, 0x6b, 0x12, + 0xef, 0x02, 0x0a, 0x0c, 0x75, 0x72, 0x6c, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0xc6, 0x02, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, + 0x18, 0xc8, 0x01, 0x92, 0x41, 0xb8, 0x02, 0x32, 0xc1, 0x01, 0x22, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x20, 0x73, 0x65, 0x74, 0x20, 0x61, 0x20, 0x75, 0x72, 0x6c, 0x5f, + 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2c, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, + 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x75, 0x73, 0x65, 0x64, 0x20, 0x69, 0x6e, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x73, 0x65, 0x6e, 0x74, 0x20, 0x62, 0x79, + 0x20, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x20, 0x74, 0x6f, 0x20, 0x67, 0x75, 0x69, 0x64, + 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x74, 0x6f, 0x20, 0x79, 0x6f, + 0x75, 0x72, 0x20, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x70, 0x61, 0x67, 0x65, 0x2e, 0x20, 0x49, 0x66, + 0x20, 0x6e, 0x6f, 0x20, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x20, 0x69, 0x73, 0x20, + 0x73, 0x65, 0x74, 0x2c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x20, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x20, 0x75, 0x72, 0x6c, 0x20, 0x77, 0x69, 0x6c, + 0x6c, 0x20, 0x62, 0x65, 0x20, 0x75, 0x73, 0x65, 0x64, 0x2e, 0x22, 0x4a, 0x6c, 0x22, 0x68, 0x74, + 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x65, 0x72, 0x3f, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x3d, 0x7b, 0x7b, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x49, 0x44, 0x7d, 0x7d, 0x26, 0x6f, 0x72, 0x67, 0x49, 0x44, 0x3d, 0x7b, 0x7b, 0x2e, 0x4f, + 0x72, 0x67, 0x49, 0x44, 0x7d, 0x7d, 0x26, 0x63, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x3d, 0x7b, 0x7b, + 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x44, 0x7d, 0x7d, 0x26, 0x63, 0x6f, 0x64, 0x65, 0x3d, 0x7b, + 0x7b, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x7d, 0x7d, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x48, + 0x00, 0x52, 0x0b, 0x75, 0x72, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x88, 0x01, + 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x75, 0x72, 0x6c, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x22, 0x1f, 0x0a, 0x1d, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x50, 0x61, 0x73, 0x73, + 0x6b, 0x65, 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x64, 0x65, 0x22, 0xf8, 0x01, 0x0a, 0x17, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, + 0x7b, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x6b, 0xfa, 0x42, 0x07, + 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x5b, 0x32, 0x2e, 0x22, + 0x69, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6f, 0x6e, 0x65, 0x20, 0x74, 0x69, + 0x6d, 0x65, 0x20, 0x63, 0x6f, 0x64, 0x65, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, + 0x64, 0x20, 0x62, 0x79, 0x20, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x22, 0x4a, 0x26, 0x22, + 0x65, 0x32, 0x61, 0x34, 0x38, 0x64, 0x36, 0x61, 0x2d, 0x33, 0x36, 0x32, 0x62, 0x2d, 0x34, 0x64, + 0x62, 0x36, 0x2d, 0x61, 0x31, 0x66, 0x62, 0x2d, 0x33, 0x34, 0x66, 0x65, 0x61, 0x62, 0x38, 0x34, + 0x64, 0x63, 0x36, 0x32, 0x22, 0x78, 0xc8, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x60, 0x0a, 0x04, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x4c, 0xfa, 0x42, 0x07, 0x72, + 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x3c, 0x32, 0x24, 0x22, 0x6f, + 0x6e, 0x65, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x63, 0x6f, 0x64, 0x65, 0x20, 0x67, 0x65, 0x6e, + 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, + 0x4c, 0x22, 0x4a, 0x11, 0x22, 0x53, 0x6f, 0x6d, 0x65, 0x53, 0x70, 0x65, 0x63, 0x69, 0x61, 0x6c, + 0x43, 0x6f, 0x64, 0x65, 0x22, 0x78, 0xc8, 0x01, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x2a, 0x8b, + 0x01, 0x0a, 0x14, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, + 0x74, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x21, 0x50, 0x41, 0x53, 0x53, 0x4b, + 0x45, 0x59, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x4f, 0x52, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x22, + 0x0a, 0x1e, 0x50, 0x41, 0x53, 0x53, 0x4b, 0x45, 0x59, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, + 0x54, 0x49, 0x43, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, + 0x10, 0x01, 0x12, 0x28, 0x0a, 0x24, 0x50, 0x41, 0x53, 0x53, 0x4b, 0x45, 0x59, 0x5f, 0x41, 0x55, + 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x43, 0x52, 0x4f, 0x53, + 0x53, 0x5f, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 0x52, 0x4d, 0x10, 0x02, 0x42, 0x36, 0x5a, 0x34, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, + 0x72, 0x70, 0x63, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, + 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_user_v2beta_auth_proto_rawDescOnce sync.Once + file_zitadel_user_v2beta_auth_proto_rawDescData = file_zitadel_user_v2beta_auth_proto_rawDesc +) + +func file_zitadel_user_v2beta_auth_proto_rawDescGZIP() []byte { + file_zitadel_user_v2beta_auth_proto_rawDescOnce.Do(func() { + file_zitadel_user_v2beta_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_user_v2beta_auth_proto_rawDescData) + }) + return file_zitadel_user_v2beta_auth_proto_rawDescData +} + +var file_zitadel_user_v2beta_auth_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_zitadel_user_v2beta_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_zitadel_user_v2beta_auth_proto_goTypes = []interface{}{ + (PasskeyAuthenticator)(0), // 0: zitadel.user.v2beta.PasskeyAuthenticator + (*SendPasskeyRegistrationLink)(nil), // 1: zitadel.user.v2beta.SendPasskeyRegistrationLink + (*ReturnPasskeyRegistrationCode)(nil), // 2: zitadel.user.v2beta.ReturnPasskeyRegistrationCode + (*PasskeyRegistrationCode)(nil), // 3: zitadel.user.v2beta.PasskeyRegistrationCode +} +var file_zitadel_user_v2beta_auth_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_zitadel_user_v2beta_auth_proto_init() } +func file_zitadel_user_v2beta_auth_proto_init() { + if File_zitadel_user_v2beta_auth_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_zitadel_user_v2beta_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendPasskeyRegistrationLink); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReturnPasskeyRegistrationCode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_auth_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PasskeyRegistrationCode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_zitadel_user_v2beta_auth_proto_msgTypes[0].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_user_v2beta_auth_proto_rawDesc, + NumEnums: 1, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_user_v2beta_auth_proto_goTypes, + DependencyIndexes: file_zitadel_user_v2beta_auth_proto_depIdxs, + EnumInfos: file_zitadel_user_v2beta_auth_proto_enumTypes, + MessageInfos: file_zitadel_user_v2beta_auth_proto_msgTypes, + }.Build() + File_zitadel_user_v2beta_auth_proto = out.File + file_zitadel_user_v2beta_auth_proto_rawDesc = nil + file_zitadel_user_v2beta_auth_proto_goTypes = nil + file_zitadel_user_v2beta_auth_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/user/v2beta/email.pb.go b/pkg/client/zitadel/user/v2beta/email.pb.go new file mode 100644 index 0000000..82d42e9 --- /dev/null +++ b/pkg/client/zitadel/user/v2beta/email.pb.go @@ -0,0 +1,378 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/user/v2beta/email.proto + +package user + +import ( + _ "github.com/envoyproxy/protoc-gen-validate/validate" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type SetHumanEmail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` + // if no verification is specified, an email is sent with the default url + // + // Types that are assignable to Verification: + // + // *SetHumanEmail_SendCode + // *SetHumanEmail_ReturnCode + // *SetHumanEmail_IsVerified + Verification isSetHumanEmail_Verification `protobuf_oneof:"verification"` +} + +func (x *SetHumanEmail) Reset() { + *x = SetHumanEmail{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_email_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetHumanEmail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetHumanEmail) ProtoMessage() {} + +func (x *SetHumanEmail) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_email_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetHumanEmail.ProtoReflect.Descriptor instead. +func (*SetHumanEmail) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_email_proto_rawDescGZIP(), []int{0} +} + +func (x *SetHumanEmail) GetEmail() string { + if x != nil { + return x.Email + } + return "" +} + +func (m *SetHumanEmail) GetVerification() isSetHumanEmail_Verification { + if m != nil { + return m.Verification + } + return nil +} + +func (x *SetHumanEmail) GetSendCode() *SendEmailVerificationCode { + if x, ok := x.GetVerification().(*SetHumanEmail_SendCode); ok { + return x.SendCode + } + return nil +} + +func (x *SetHumanEmail) GetReturnCode() *ReturnEmailVerificationCode { + if x, ok := x.GetVerification().(*SetHumanEmail_ReturnCode); ok { + return x.ReturnCode + } + return nil +} + +func (x *SetHumanEmail) GetIsVerified() bool { + if x, ok := x.GetVerification().(*SetHumanEmail_IsVerified); ok { + return x.IsVerified + } + return false +} + +type isSetHumanEmail_Verification interface { + isSetHumanEmail_Verification() +} + +type SetHumanEmail_SendCode struct { + SendCode *SendEmailVerificationCode `protobuf:"bytes,2,opt,name=send_code,json=sendCode,proto3,oneof"` +} + +type SetHumanEmail_ReturnCode struct { + ReturnCode *ReturnEmailVerificationCode `protobuf:"bytes,3,opt,name=return_code,json=returnCode,proto3,oneof"` +} + +type SetHumanEmail_IsVerified struct { + IsVerified bool `protobuf:"varint,4,opt,name=is_verified,json=isVerified,proto3,oneof"` +} + +func (*SetHumanEmail_SendCode) isSetHumanEmail_Verification() {} + +func (*SetHumanEmail_ReturnCode) isSetHumanEmail_Verification() {} + +func (*SetHumanEmail_IsVerified) isSetHumanEmail_Verification() {} + +type SendEmailVerificationCode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UrlTemplate *string `protobuf:"bytes,1,opt,name=url_template,json=urlTemplate,proto3,oneof" json:"url_template,omitempty"` +} + +func (x *SendEmailVerificationCode) Reset() { + *x = SendEmailVerificationCode{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_email_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SendEmailVerificationCode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SendEmailVerificationCode) ProtoMessage() {} + +func (x *SendEmailVerificationCode) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_email_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SendEmailVerificationCode.ProtoReflect.Descriptor instead. +func (*SendEmailVerificationCode) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_email_proto_rawDescGZIP(), []int{1} +} + +func (x *SendEmailVerificationCode) GetUrlTemplate() string { + if x != nil && x.UrlTemplate != nil { + return *x.UrlTemplate + } + return "" +} + +type ReturnEmailVerificationCode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReturnEmailVerificationCode) Reset() { + *x = ReturnEmailVerificationCode{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_email_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReturnEmailVerificationCode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReturnEmailVerificationCode) ProtoMessage() {} + +func (x *ReturnEmailVerificationCode) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_email_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReturnEmailVerificationCode.ProtoReflect.Descriptor instead. +func (*ReturnEmailVerificationCode) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_email_proto_rawDescGZIP(), []int{2} +} + +var File_zitadel_user_v2beta_email_proto protoreflect.FileDescriptor + +var file_zitadel_user_v2beta_email_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x13, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, + 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, + 0x02, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x45, 0x6d, 0x61, 0x69, 0x6c, + 0x12, 0x40, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x2a, 0xfa, 0x42, 0x09, 0x72, 0x07, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x60, 0x01, 0xe0, 0x41, 0x02, + 0x92, 0x41, 0x18, 0x4a, 0x10, 0x22, 0x6d, 0x69, 0x6e, 0x69, 0x40, 0x6d, 0x6f, 0x75, 0x73, 0x65, + 0x2e, 0x63, 0x6f, 0x6d, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x12, 0x4d, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x6e, 0x64, + 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x64, + 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x74, + 0x75, 0x72, 0x6e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x75, + 0x72, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x2a, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x76, 0x65, 0x72, + 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x07, 0xfa, 0x42, 0x04, + 0x6a, 0x02, 0x08, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x73, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, + 0x65, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x8c, 0x03, 0x0a, 0x19, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, + 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, + 0x12, 0xdd, 0x02, 0x0a, 0x0c, 0x75, 0x72, 0x6c, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0xb4, 0x02, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, + 0x01, 0x18, 0xc8, 0x01, 0x92, 0x41, 0xa6, 0x02, 0x32, 0xc6, 0x01, 0x22, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x20, 0x73, 0x65, 0x74, 0x20, 0x61, 0x20, 0x75, 0x72, 0x6c, + 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2c, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, + 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x75, 0x73, 0x65, 0x64, 0x20, 0x69, 0x6e, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x20, 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x73, 0x65, 0x6e, 0x74, 0x20, 0x62, 0x79, 0x20, 0x5a, + 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x20, 0x74, 0x6f, 0x20, 0x67, 0x75, 0x69, 0x64, 0x65, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x74, 0x6f, 0x20, 0x79, 0x6f, 0x75, 0x72, + 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x70, 0x61, + 0x67, 0x65, 0x2e, 0x20, 0x49, 0x66, 0x20, 0x6e, 0x6f, 0x20, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x20, 0x69, 0x73, 0x20, 0x73, 0x65, 0x74, 0x2c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x64, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x20, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x20, 0x75, + 0x72, 0x6c, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x75, 0x73, 0x65, 0x64, 0x2e, + 0x22, 0x4a, 0x55, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x65, 0x78, 0x61, 0x6d, + 0x70, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x65, + 0x72, 0x69, 0x66, 0x79, 0x3f, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x3d, 0x7b, 0x7b, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x49, 0x44, 0x7d, 0x7d, 0x26, 0x63, 0x6f, 0x64, 0x65, 0x3d, 0x7b, 0x7b, 0x2e, + 0x43, 0x6f, 0x64, 0x65, 0x7d, 0x7d, 0x26, 0x6f, 0x72, 0x67, 0x49, 0x44, 0x3d, 0x7b, 0x7b, 0x2e, + 0x4f, 0x72, 0x67, 0x49, 0x44, 0x7d, 0x7d, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x48, 0x00, + 0x52, 0x0b, 0x75, 0x72, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, + 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x75, 0x72, 0x6c, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x45, 0x6d, 0x61, 0x69, 0x6c, + 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, + 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, + 0x6b, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_user_v2beta_email_proto_rawDescOnce sync.Once + file_zitadel_user_v2beta_email_proto_rawDescData = file_zitadel_user_v2beta_email_proto_rawDesc +) + +func file_zitadel_user_v2beta_email_proto_rawDescGZIP() []byte { + file_zitadel_user_v2beta_email_proto_rawDescOnce.Do(func() { + file_zitadel_user_v2beta_email_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_user_v2beta_email_proto_rawDescData) + }) + return file_zitadel_user_v2beta_email_proto_rawDescData +} + +var file_zitadel_user_v2beta_email_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_zitadel_user_v2beta_email_proto_goTypes = []interface{}{ + (*SetHumanEmail)(nil), // 0: zitadel.user.v2beta.SetHumanEmail + (*SendEmailVerificationCode)(nil), // 1: zitadel.user.v2beta.SendEmailVerificationCode + (*ReturnEmailVerificationCode)(nil), // 2: zitadel.user.v2beta.ReturnEmailVerificationCode +} +var file_zitadel_user_v2beta_email_proto_depIdxs = []int32{ + 1, // 0: zitadel.user.v2beta.SetHumanEmail.send_code:type_name -> zitadel.user.v2beta.SendEmailVerificationCode + 2, // 1: zitadel.user.v2beta.SetHumanEmail.return_code:type_name -> zitadel.user.v2beta.ReturnEmailVerificationCode + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_zitadel_user_v2beta_email_proto_init() } +func file_zitadel_user_v2beta_email_proto_init() { + if File_zitadel_user_v2beta_email_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_zitadel_user_v2beta_email_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetHumanEmail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_email_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendEmailVerificationCode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_email_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReturnEmailVerificationCode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_zitadel_user_v2beta_email_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*SetHumanEmail_SendCode)(nil), + (*SetHumanEmail_ReturnCode)(nil), + (*SetHumanEmail_IsVerified)(nil), + } + file_zitadel_user_v2beta_email_proto_msgTypes[1].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_user_v2beta_email_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_user_v2beta_email_proto_goTypes, + DependencyIndexes: file_zitadel_user_v2beta_email_proto_depIdxs, + MessageInfos: file_zitadel_user_v2beta_email_proto_msgTypes, + }.Build() + File_zitadel_user_v2beta_email_proto = out.File + file_zitadel_user_v2beta_email_proto_rawDesc = nil + file_zitadel_user_v2beta_email_proto_goTypes = nil + file_zitadel_user_v2beta_email_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/user/v2beta/idp.pb.go b/pkg/client/zitadel/user/v2beta/idp.pb.go new file mode 100644 index 0000000..3bcb474 --- /dev/null +++ b/pkg/client/zitadel/user/v2beta/idp.pb.go @@ -0,0 +1,872 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/user/v2beta/idp.proto + +package user + +import ( + _ "github.com/envoyproxy/protoc-gen-validate/validate" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" +) + +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) +) + +type LDAPCredentials struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` + Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` +} + +func (x *LDAPCredentials) Reset() { + *x = LDAPCredentials{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LDAPCredentials) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LDAPCredentials) ProtoMessage() {} + +func (x *LDAPCredentials) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LDAPCredentials.ProtoReflect.Descriptor instead. +func (*LDAPCredentials) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_idp_proto_rawDescGZIP(), []int{0} +} + +func (x *LDAPCredentials) GetUsername() string { + if x != nil { + return x.Username + } + return "" +} + +func (x *LDAPCredentials) GetPassword() string { + if x != nil { + return x.Password + } + return "" +} + +type RedirectURLs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SuccessUrl string `protobuf:"bytes,1,opt,name=success_url,json=successUrl,proto3" json:"success_url,omitempty"` + FailureUrl string `protobuf:"bytes,2,opt,name=failure_url,json=failureUrl,proto3" json:"failure_url,omitempty"` +} + +func (x *RedirectURLs) Reset() { + *x = RedirectURLs{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RedirectURLs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RedirectURLs) ProtoMessage() {} + +func (x *RedirectURLs) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RedirectURLs.ProtoReflect.Descriptor instead. +func (*RedirectURLs) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_idp_proto_rawDescGZIP(), []int{1} +} + +func (x *RedirectURLs) GetSuccessUrl() string { + if x != nil { + return x.SuccessUrl + } + return "" +} + +func (x *RedirectURLs) GetFailureUrl() string { + if x != nil { + return x.FailureUrl + } + return "" +} + +type IDPIntent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IdpIntentId string `protobuf:"bytes,1,opt,name=idp_intent_id,json=idpIntentId,proto3" json:"idp_intent_id,omitempty"` + IdpIntentToken string `protobuf:"bytes,2,opt,name=idp_intent_token,json=idpIntentToken,proto3" json:"idp_intent_token,omitempty"` + UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` +} + +func (x *IDPIntent) Reset() { + *x = IDPIntent{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IDPIntent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IDPIntent) ProtoMessage() {} + +func (x *IDPIntent) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IDPIntent.ProtoReflect.Descriptor instead. +func (*IDPIntent) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_idp_proto_rawDescGZIP(), []int{2} +} + +func (x *IDPIntent) GetIdpIntentId() string { + if x != nil { + return x.IdpIntentId + } + return "" +} + +func (x *IDPIntent) GetIdpIntentToken() string { + if x != nil { + return x.IdpIntentToken + } + return "" +} + +func (x *IDPIntent) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +type IDPInformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Access: + // + // *IDPInformation_Oauth + // *IDPInformation_Ldap + // *IDPInformation_Saml + Access isIDPInformation_Access `protobuf_oneof:"access"` + IdpId string `protobuf:"bytes,2,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"` + UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + UserName string `protobuf:"bytes,4,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + RawInformation *structpb.Struct `protobuf:"bytes,5,opt,name=raw_information,json=rawInformation,proto3" json:"raw_information,omitempty"` +} + +func (x *IDPInformation) Reset() { + *x = IDPInformation{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IDPInformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IDPInformation) ProtoMessage() {} + +func (x *IDPInformation) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IDPInformation.ProtoReflect.Descriptor instead. +func (*IDPInformation) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_idp_proto_rawDescGZIP(), []int{3} +} + +func (m *IDPInformation) GetAccess() isIDPInformation_Access { + if m != nil { + return m.Access + } + return nil +} + +func (x *IDPInformation) GetOauth() *IDPOAuthAccessInformation { + if x, ok := x.GetAccess().(*IDPInformation_Oauth); ok { + return x.Oauth + } + return nil +} + +func (x *IDPInformation) GetLdap() *IDPLDAPAccessInformation { + if x, ok := x.GetAccess().(*IDPInformation_Ldap); ok { + return x.Ldap + } + return nil +} + +func (x *IDPInformation) GetSaml() *IDPSAMLAccessInformation { + if x, ok := x.GetAccess().(*IDPInformation_Saml); ok { + return x.Saml + } + return nil +} + +func (x *IDPInformation) GetIdpId() string { + if x != nil { + return x.IdpId + } + return "" +} + +func (x *IDPInformation) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *IDPInformation) GetUserName() string { + if x != nil { + return x.UserName + } + return "" +} + +func (x *IDPInformation) GetRawInformation() *structpb.Struct { + if x != nil { + return x.RawInformation + } + return nil +} + +type isIDPInformation_Access interface { + isIDPInformation_Access() +} + +type IDPInformation_Oauth struct { + Oauth *IDPOAuthAccessInformation `protobuf:"bytes,1,opt,name=oauth,proto3,oneof"` +} + +type IDPInformation_Ldap struct { + Ldap *IDPLDAPAccessInformation `protobuf:"bytes,6,opt,name=ldap,proto3,oneof"` +} + +type IDPInformation_Saml struct { + Saml *IDPSAMLAccessInformation `protobuf:"bytes,7,opt,name=saml,proto3,oneof"` +} + +func (*IDPInformation_Oauth) isIDPInformation_Access() {} + +func (*IDPInformation_Ldap) isIDPInformation_Access() {} + +func (*IDPInformation_Saml) isIDPInformation_Access() {} + +type IDPOAuthAccessInformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` + IdToken *string `protobuf:"bytes,2,opt,name=id_token,json=idToken,proto3,oneof" json:"id_token,omitempty"` +} + +func (x *IDPOAuthAccessInformation) Reset() { + *x = IDPOAuthAccessInformation{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IDPOAuthAccessInformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IDPOAuthAccessInformation) ProtoMessage() {} + +func (x *IDPOAuthAccessInformation) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IDPOAuthAccessInformation.ProtoReflect.Descriptor instead. +func (*IDPOAuthAccessInformation) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_idp_proto_rawDescGZIP(), []int{4} +} + +func (x *IDPOAuthAccessInformation) GetAccessToken() string { + if x != nil { + return x.AccessToken + } + return "" +} + +func (x *IDPOAuthAccessInformation) GetIdToken() string { + if x != nil && x.IdToken != nil { + return *x.IdToken + } + return "" +} + +type IDPLDAPAccessInformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Attributes *structpb.Struct `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` +} + +func (x *IDPLDAPAccessInformation) Reset() { + *x = IDPLDAPAccessInformation{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IDPLDAPAccessInformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IDPLDAPAccessInformation) ProtoMessage() {} + +func (x *IDPLDAPAccessInformation) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IDPLDAPAccessInformation.ProtoReflect.Descriptor instead. +func (*IDPLDAPAccessInformation) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_idp_proto_rawDescGZIP(), []int{5} +} + +func (x *IDPLDAPAccessInformation) GetAttributes() *structpb.Struct { + if x != nil { + return x.Attributes + } + return nil +} + +type IDPSAMLAccessInformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Assertion []byte `protobuf:"bytes,1,opt,name=assertion,proto3" json:"assertion,omitempty"` +} + +func (x *IDPSAMLAccessInformation) Reset() { + *x = IDPSAMLAccessInformation{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IDPSAMLAccessInformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IDPSAMLAccessInformation) ProtoMessage() {} + +func (x *IDPSAMLAccessInformation) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IDPSAMLAccessInformation.ProtoReflect.Descriptor instead. +func (*IDPSAMLAccessInformation) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_idp_proto_rawDescGZIP(), []int{6} +} + +func (x *IDPSAMLAccessInformation) GetAssertion() []byte { + if x != nil { + return x.Assertion + } + return nil +} + +type IDPLink struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IdpId string `protobuf:"bytes,1,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"` + UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` +} + +func (x *IDPLink) Reset() { + *x = IDPLink{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IDPLink) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IDPLink) ProtoMessage() {} + +func (x *IDPLink) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_idp_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IDPLink.ProtoReflect.Descriptor instead. +func (*IDPLink) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_idp_proto_rawDescGZIP(), []int{7} +} + +func (x *IDPLink) GetIdpId() string { + if x != nil { + return x.IdpId + } + return "" +} + +func (x *IDPLink) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *IDPLink) GetUserName() string { + if x != nil { + return x.UserName + } + return "" +} + +var File_zitadel_user_v2beta_idp_proto protoreflect.FileDescriptor + +var file_zitadel_user_v2beta_idp_proto_rawDesc = []byte{ + 0x0a, 0x1d, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x69, 0x64, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x13, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, + 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdd, 0x01, 0x0a, + 0x0f, 0x4c, 0x44, 0x41, 0x50, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, + 0x12, 0x63, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x47, 0xfa, 0x42, 0x0a, 0x72, 0x08, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x90, 0x01, + 0x01, 0x92, 0x41, 0x37, 0x32, 0x23, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x75, + 0x73, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x72, + 0x6f, 0x75, 0x67, 0x68, 0x20, 0x4c, 0x44, 0x41, 0x50, 0x4a, 0x0a, 0x22, 0x75, 0x73, 0x65, 0x72, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x08, 0x75, 0x73, 0x65, + 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x65, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x49, 0xfa, 0x42, 0x0a, 0x72, 0x08, 0x10, 0x01, + 0x18, 0xc8, 0x01, 0x90, 0x01, 0x01, 0x92, 0x41, 0x39, 0x32, 0x23, 0x50, 0x61, 0x73, 0x73, 0x77, + 0x6f, 0x72, 0x64, 0x20, 0x75, 0x73, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x6c, 0x6f, 0x67, 0x69, + 0x6e, 0x20, 0x74, 0x68, 0x72, 0x6f, 0x75, 0x67, 0x68, 0x20, 0x4c, 0x44, 0x41, 0x50, 0x4a, 0x0c, + 0x22, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x31, 0x21, 0x22, 0x78, 0xc8, 0x01, 0x80, + 0x01, 0x01, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0xd2, 0x02, 0x0a, + 0x0c, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x55, 0x52, 0x4c, 0x73, 0x12, 0xa3, 0x01, + 0x0a, 0x0b, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x81, 0x01, 0xfa, 0x42, 0x0a, 0x72, 0x08, 0x10, 0x01, 0x18, 0xc8, 0x01, + 0x90, 0x01, 0x01, 0x92, 0x41, 0x71, 0x32, 0x41, 0x55, 0x52, 0x4c, 0x20, 0x6f, 0x6e, 0x20, 0x77, + 0x68, 0x69, 0x63, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, 0x69, + 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x65, 0x64, + 0x20, 0x61, 0x66, 0x74, 0x65, 0x72, 0x20, 0x61, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x66, 0x75, 0x6c, 0x20, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x4a, 0x26, 0x22, 0x68, 0x74, 0x74, 0x70, + 0x73, 0x3a, 0x2f, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, + 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x69, 0x64, 0x70, 0x2f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x0a, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x55, 0x72, 0x6c, 0x12, 0x9b, 0x01, 0x0a, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, + 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x7a, 0xfa, 0x42, 0x0a, 0x72, 0x08, + 0x10, 0x01, 0x18, 0xc8, 0x01, 0x90, 0x01, 0x01, 0x92, 0x41, 0x6a, 0x32, 0x3d, 0x55, 0x52, 0x4c, + 0x20, 0x6f, 0x6e, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, + 0x65, 0x72, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x72, 0x65, 0x64, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x20, 0x61, 0x66, 0x74, 0x65, 0x72, 0x20, 0x61, 0x20, 0x66, 0x61, + 0x69, 0x6c, 0x65, 0x64, 0x20, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x4a, 0x23, 0x22, 0x68, 0x74, 0x74, + 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x69, 0x64, 0x70, 0x2f, 0x66, 0x61, 0x69, 0x6c, 0x22, 0x78, + 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x0a, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x55, 0x72, + 0x6c, 0x22, 0xc9, 0x02, 0x0a, 0x09, 0x49, 0x44, 0x50, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, + 0x59, 0x0a, 0x0d, 0x69, 0x64, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x35, 0x92, 0x41, 0x32, 0x32, 0x14, 0x49, 0x44, 0x20, + 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x49, 0x44, 0x50, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x4a, 0x14, 0x22, 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, + 0x34, 0x33, 0x32, 0x37, 0x30, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x0b, 0x69, + 0x64, 0x70, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x72, 0x0a, 0x10, 0x69, 0x64, + 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x48, 0x92, 0x41, 0x45, 0x32, 0x17, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x49, 0x44, 0x50, 0x20, 0x69, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x4a, 0x24, 0x22, 0x53, 0x4a, 0x4b, 0x4c, 0x33, 0x69, 0x6f, 0x49, 0x44, 0x70, 0x6f, + 0x33, 0x34, 0x32, 0x69, 0x6f, 0x71, 0x77, 0x39, 0x38, 0x66, 0x6a, 0x70, 0x33, 0x73, 0x64, 0x66, + 0x33, 0x32, 0x77, 0x61, 0x68, 0x62, 0x3d, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x0e, + 0x69, 0x64, 0x70, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x6d, + 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x54, 0x92, 0x41, 0x51, 0x32, 0x36, 0x49, 0x44, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x69, 0x66, 0x20, + 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x61, 0x6c, + 0x72, 0x65, 0x61, 0x64, 0x79, 0x20, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x4a, 0x14, 0x22, 0x31, + 0x36, 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x33, 0x34, + 0x35, 0x22, 0x78, 0xc8, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xd8, 0x06, + 0x0a, 0x0e, 0x49, 0x44, 0x50, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x8f, 0x01, 0x0a, 0x05, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x44, 0x50, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x42, 0x47, 0x92, 0x41, 0x44, 0x32, 0x42, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x2f, 0x4f, 0x49, 0x44, + 0x43, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x28, 0x61, 0x6e, 0x64, 0x20, 0x69, 0x64, + 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x29, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, + 0x20, 0x62, 0x79, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x05, 0x6f, 0x61, 0x75, + 0x74, 0x68, 0x12, 0x82, 0x01, 0x0a, 0x04, 0x6c, 0x64, 0x61, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2d, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x44, 0x50, 0x4c, 0x44, 0x41, 0x50, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x42, 0x3d, 0x92, 0x41, 0x3a, 0x32, 0x38, 0x4c, 0x44, 0x41, 0x50, 0x20, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x20, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x20, 0x72, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x48, + 0x00, 0x52, 0x04, 0x6c, 0x64, 0x61, 0x70, 0x12, 0x78, 0x0a, 0x04, 0x73, 0x61, 0x6d, 0x6c, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x44, 0x50, 0x53, + 0x41, 0x4d, 0x4c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x33, 0x92, 0x41, 0x30, 0x32, 0x2e, 0x53, 0x41, 0x4d, 0x4c, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, + 0x20, 0x62, 0x79, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x04, 0x73, 0x61, 0x6d, + 0x6c, 0x12, 0x5f, 0x0a, 0x06, 0x69, 0x64, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x48, 0x92, 0x41, 0x45, 0x32, 0x1b, 0x49, 0x44, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x4a, 0x26, 0x22, 0x64, 0x36, 0x35, 0x34, 0x65, 0x36, 0x62, 0x61, 0x2d, 0x37, + 0x30, 0x61, 0x33, 0x2d, 0x34, 0x38, 0x65, 0x66, 0x2d, 0x61, 0x39, 0x35, 0x64, 0x2d, 0x33, 0x37, + 0x63, 0x38, 0x64, 0x38, 0x61, 0x37, 0x39, 0x30, 0x31, 0x61, 0x22, 0x52, 0x05, 0x69, 0x64, 0x70, + 0x49, 0x64, 0x12, 0x65, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x4c, 0x92, 0x41, 0x49, 0x32, 0x27, 0x49, 0x44, 0x20, 0x6f, 0x66, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x4a, 0x1e, 0x22, 0x36, 0x35, 0x31, 0x36, 0x38, 0x34, 0x39, 0x38, 0x30, 0x34, 0x38, 0x39, + 0x30, 0x34, 0x36, 0x38, 0x30, 0x34, 0x38, 0x34, 0x36, 0x31, 0x34, 0x30, 0x33, 0x35, 0x31, 0x38, + 0x22, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x64, 0x0a, 0x09, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x47, 0x92, 0x41, + 0x44, 0x32, 0x2d, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x4a, 0x13, 0x22, 0x75, 0x73, 0x65, 0x72, 0x40, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x2e, 0x63, 0x6f, 0x6d, 0x22, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x7d, 0x0a, 0x0f, 0x72, 0x61, 0x77, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x42, 0x3b, 0x92, 0x41, 0x38, 0x32, 0x36, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, + 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x72, 0x65, 0x74, + 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0e, + 0x72, 0x61, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, + 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x6b, 0x0a, 0x19, 0x49, 0x44, 0x50, 0x4f, + 0x41, 0x75, 0x74, 0x68, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1e, 0x0a, 0x08, 0x69, 0x64, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x69, 0x64, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x69, 0x64, 0x5f, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x53, 0x0a, 0x18, 0x49, 0x44, 0x50, 0x4c, 0x44, 0x41, 0x50, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x37, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, + 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x38, 0x0a, 0x18, 0x49, 0x44, + 0x50, 0x53, 0x41, 0x4d, 0x4c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x73, 0x73, 0x65, 0x72, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x72, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe7, 0x02, 0x0a, 0x07, 0x49, 0x44, 0x50, 0x4c, 0x69, 0x6e, 0x6b, + 0x12, 0x6f, 0x0a, 0x06, 0x69, 0x64, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x58, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x92, 0x41, 0x4b, 0x32, + 0x1b, 0x49, 0x44, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4a, 0x26, 0x22, 0x64, + 0x36, 0x35, 0x34, 0x65, 0x36, 0x62, 0x61, 0x2d, 0x37, 0x30, 0x61, 0x33, 0x2d, 0x34, 0x38, 0x65, + 0x66, 0x2d, 0x61, 0x39, 0x35, 0x64, 0x2d, 0x33, 0x37, 0x63, 0x38, 0x64, 0x38, 0x61, 0x37, 0x39, + 0x30, 0x31, 0x61, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x05, 0x69, 0x64, 0x70, 0x49, + 0x64, 0x12, 0x75, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x5c, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x92, 0x41, + 0x4f, 0x32, 0x27, 0x49, 0x44, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, + 0x72, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4a, 0x1e, 0x22, 0x36, 0x35, 0x31, + 0x36, 0x38, 0x34, 0x39, 0x38, 0x30, 0x34, 0x38, 0x39, 0x30, 0x34, 0x36, 0x38, 0x30, 0x34, 0x38, + 0x34, 0x36, 0x31, 0x34, 0x30, 0x33, 0x35, 0x31, 0x38, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, + 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x74, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x57, 0xfa, 0x42, 0x07, + 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x92, 0x41, 0x4a, 0x32, 0x2d, 0x75, 0x73, 0x65, 0x72, + 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, + 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4a, 0x13, 0x22, 0x75, 0x73, 0x65, 0x72, + 0x40, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x22, 0x78, 0xc8, + 0x01, 0x80, 0x01, 0x01, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x36, + 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, + 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x6b, 0x67, + 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_user_v2beta_idp_proto_rawDescOnce sync.Once + file_zitadel_user_v2beta_idp_proto_rawDescData = file_zitadel_user_v2beta_idp_proto_rawDesc +) + +func file_zitadel_user_v2beta_idp_proto_rawDescGZIP() []byte { + file_zitadel_user_v2beta_idp_proto_rawDescOnce.Do(func() { + file_zitadel_user_v2beta_idp_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_user_v2beta_idp_proto_rawDescData) + }) + return file_zitadel_user_v2beta_idp_proto_rawDescData +} + +var file_zitadel_user_v2beta_idp_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_zitadel_user_v2beta_idp_proto_goTypes = []interface{}{ + (*LDAPCredentials)(nil), // 0: zitadel.user.v2beta.LDAPCredentials + (*RedirectURLs)(nil), // 1: zitadel.user.v2beta.RedirectURLs + (*IDPIntent)(nil), // 2: zitadel.user.v2beta.IDPIntent + (*IDPInformation)(nil), // 3: zitadel.user.v2beta.IDPInformation + (*IDPOAuthAccessInformation)(nil), // 4: zitadel.user.v2beta.IDPOAuthAccessInformation + (*IDPLDAPAccessInformation)(nil), // 5: zitadel.user.v2beta.IDPLDAPAccessInformation + (*IDPSAMLAccessInformation)(nil), // 6: zitadel.user.v2beta.IDPSAMLAccessInformation + (*IDPLink)(nil), // 7: zitadel.user.v2beta.IDPLink + (*structpb.Struct)(nil), // 8: google.protobuf.Struct +} +var file_zitadel_user_v2beta_idp_proto_depIdxs = []int32{ + 4, // 0: zitadel.user.v2beta.IDPInformation.oauth:type_name -> zitadel.user.v2beta.IDPOAuthAccessInformation + 5, // 1: zitadel.user.v2beta.IDPInformation.ldap:type_name -> zitadel.user.v2beta.IDPLDAPAccessInformation + 6, // 2: zitadel.user.v2beta.IDPInformation.saml:type_name -> zitadel.user.v2beta.IDPSAMLAccessInformation + 8, // 3: zitadel.user.v2beta.IDPInformation.raw_information:type_name -> google.protobuf.Struct + 8, // 4: zitadel.user.v2beta.IDPLDAPAccessInformation.attributes:type_name -> google.protobuf.Struct + 5, // [5:5] is the sub-list for method output_type + 5, // [5:5] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_zitadel_user_v2beta_idp_proto_init() } +func file_zitadel_user_v2beta_idp_proto_init() { + if File_zitadel_user_v2beta_idp_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_zitadel_user_v2beta_idp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LDAPCredentials); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_idp_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RedirectURLs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_idp_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IDPIntent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_idp_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IDPInformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_idp_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IDPOAuthAccessInformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_idp_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IDPLDAPAccessInformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_idp_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IDPSAMLAccessInformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_idp_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IDPLink); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_zitadel_user_v2beta_idp_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*IDPInformation_Oauth)(nil), + (*IDPInformation_Ldap)(nil), + (*IDPInformation_Saml)(nil), + } + file_zitadel_user_v2beta_idp_proto_msgTypes[4].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_user_v2beta_idp_proto_rawDesc, + NumEnums: 0, + NumMessages: 8, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_user_v2beta_idp_proto_goTypes, + DependencyIndexes: file_zitadel_user_v2beta_idp_proto_depIdxs, + MessageInfos: file_zitadel_user_v2beta_idp_proto_msgTypes, + }.Build() + File_zitadel_user_v2beta_idp_proto = out.File + file_zitadel_user_v2beta_idp_proto_rawDesc = nil + file_zitadel_user_v2beta_idp_proto_goTypes = nil + file_zitadel_user_v2beta_idp_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/user/v2beta/password.pb.go b/pkg/client/zitadel/user/v2beta/password.pb.go new file mode 100644 index 0000000..2ceaaa3 --- /dev/null +++ b/pkg/client/zitadel/user/v2beta/password.pb.go @@ -0,0 +1,461 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/user/v2beta/password.proto + +package user + +import ( + _ "github.com/envoyproxy/protoc-gen-validate/validate" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type NotificationType int32 + +const ( + NotificationType_NOTIFICATION_TYPE_Unspecified NotificationType = 0 + NotificationType_NOTIFICATION_TYPE_Email NotificationType = 1 + NotificationType_NOTIFICATION_TYPE_SMS NotificationType = 2 +) + +// Enum value maps for NotificationType. +var ( + NotificationType_name = map[int32]string{ + 0: "NOTIFICATION_TYPE_Unspecified", + 1: "NOTIFICATION_TYPE_Email", + 2: "NOTIFICATION_TYPE_SMS", + } + NotificationType_value = map[string]int32{ + "NOTIFICATION_TYPE_Unspecified": 0, + "NOTIFICATION_TYPE_Email": 1, + "NOTIFICATION_TYPE_SMS": 2, + } +) + +func (x NotificationType) Enum() *NotificationType { + p := new(NotificationType) + *p = x + return p +} + +func (x NotificationType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (NotificationType) Descriptor() protoreflect.EnumDescriptor { + return file_zitadel_user_v2beta_password_proto_enumTypes[0].Descriptor() +} + +func (NotificationType) Type() protoreflect.EnumType { + return &file_zitadel_user_v2beta_password_proto_enumTypes[0] +} + +func (x NotificationType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use NotificationType.Descriptor instead. +func (NotificationType) EnumDescriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_password_proto_rawDescGZIP(), []int{0} +} + +type Password struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` + ChangeRequired bool `protobuf:"varint,2,opt,name=change_required,json=changeRequired,proto3" json:"change_required,omitempty"` +} + +func (x *Password) Reset() { + *x = Password{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_password_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Password) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Password) ProtoMessage() {} + +func (x *Password) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_password_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Password.ProtoReflect.Descriptor instead. +func (*Password) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_password_proto_rawDescGZIP(), []int{0} +} + +func (x *Password) GetPassword() string { + if x != nil { + return x.Password + } + return "" +} + +func (x *Password) GetChangeRequired() bool { + if x != nil { + return x.ChangeRequired + } + return false +} + +type HashedPassword struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + ChangeRequired bool `protobuf:"varint,2,opt,name=change_required,json=changeRequired,proto3" json:"change_required,omitempty"` +} + +func (x *HashedPassword) Reset() { + *x = HashedPassword{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_password_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HashedPassword) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HashedPassword) ProtoMessage() {} + +func (x *HashedPassword) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_password_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HashedPassword.ProtoReflect.Descriptor instead. +func (*HashedPassword) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_password_proto_rawDescGZIP(), []int{1} +} + +func (x *HashedPassword) GetHash() string { + if x != nil { + return x.Hash + } + return "" +} + +func (x *HashedPassword) GetChangeRequired() bool { + if x != nil { + return x.ChangeRequired + } + return false +} + +type SendPasswordResetLink struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + NotificationType NotificationType `protobuf:"varint,1,opt,name=notification_type,json=notificationType,proto3,enum=zitadel.user.v2beta.NotificationType" json:"notification_type,omitempty"` + UrlTemplate *string `protobuf:"bytes,2,opt,name=url_template,json=urlTemplate,proto3,oneof" json:"url_template,omitempty"` +} + +func (x *SendPasswordResetLink) Reset() { + *x = SendPasswordResetLink{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_password_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SendPasswordResetLink) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SendPasswordResetLink) ProtoMessage() {} + +func (x *SendPasswordResetLink) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_password_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SendPasswordResetLink.ProtoReflect.Descriptor instead. +func (*SendPasswordResetLink) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_password_proto_rawDescGZIP(), []int{2} +} + +func (x *SendPasswordResetLink) GetNotificationType() NotificationType { + if x != nil { + return x.NotificationType + } + return NotificationType_NOTIFICATION_TYPE_Unspecified +} + +func (x *SendPasswordResetLink) GetUrlTemplate() string { + if x != nil && x.UrlTemplate != nil { + return *x.UrlTemplate + } + return "" +} + +type ReturnPasswordResetCode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReturnPasswordResetCode) Reset() { + *x = ReturnPasswordResetCode{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_password_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReturnPasswordResetCode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReturnPasswordResetCode) ProtoMessage() {} + +func (x *ReturnPasswordResetCode) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_password_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReturnPasswordResetCode.ProtoReflect.Descriptor instead. +func (*ReturnPasswordResetCode) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_password_proto_rawDescGZIP(), []int{3} +} + +var File_zitadel_user_v2beta_password_proto protoreflect.FileDescriptor + +var file_zitadel_user_v2beta_password_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, + 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, + 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x08, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, + 0x45, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x29, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, + 0x92, 0x41, 0x19, 0x4a, 0x11, 0x22, 0x53, 0x65, 0x63, 0x72, 0x33, 0x74, 0x50, 0x34, 0x73, 0x73, + 0x77, 0x30, 0x72, 0x64, 0x21, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x08, 0x70, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, + 0xb8, 0x01, 0x0a, 0x0e, 0x48, 0x61, 0x73, 0x68, 0x65, 0x64, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x12, 0x7d, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x69, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, + 0x41, 0x59, 0x32, 0x11, 0x22, 0x68, 0x61, 0x73, 0x68, 0x65, 0x64, 0x20, 0x70, 0x61, 0x73, 0x73, + 0x77, 0x6f, 0x72, 0x64, 0x22, 0x4a, 0x3e, 0x22, 0x24, 0x32, 0x61, 0x24, 0x31, 0x32, 0x24, 0x6c, + 0x4a, 0x30, 0x38, 0x66, 0x71, 0x56, 0x72, 0x38, 0x62, 0x46, 0x4a, 0x69, 0x6c, 0x52, 0x56, 0x6e, + 0x44, 0x54, 0x39, 0x51, 0x65, 0x55, 0x4c, 0x49, 0x37, 0x59, 0x57, 0x2e, 0x6e, 0x54, 0x33, 0x69, + 0x77, 0x55, 0x76, 0x36, 0x64, 0x79, 0x67, 0x30, 0x61, 0x43, 0x72, 0x66, 0x6d, 0x33, 0x55, 0x59, + 0x38, 0x58, 0x52, 0x32, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x04, 0x68, 0x61, 0x73, + 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, + 0x69, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0xe5, 0x03, 0x0a, 0x15, 0x53, + 0x65, 0x6e, 0x64, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x65, 0x74, + 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x52, 0x0a, 0x11, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x25, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x10, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0xe6, 0x02, 0x0a, 0x0c, 0x75, 0x72, 0x6c, + 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, + 0xbd, 0x02, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x92, 0x41, 0xaf, 0x02, + 0x32, 0xcb, 0x01, 0x22, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x6c, 0x79, 0x20, 0x73, + 0x65, 0x74, 0x20, 0x61, 0x20, 0x75, 0x72, 0x6c, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x2c, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, + 0x20, 0x75, 0x73, 0x65, 0x64, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x73, + 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x72, 0x65, 0x73, 0x65, 0x74, 0x20, 0x6d, 0x61, 0x69, 0x6c, + 0x20, 0x73, 0x65, 0x6e, 0x74, 0x20, 0x62, 0x79, 0x20, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, + 0x20, 0x74, 0x6f, 0x20, 0x67, 0x75, 0x69, 0x64, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, + 0x65, 0x72, 0x20, 0x74, 0x6f, 0x20, 0x79, 0x6f, 0x75, 0x72, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, + 0x6f, 0x72, 0x64, 0x20, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x20, 0x70, 0x61, 0x67, 0x65, 0x2e, + 0x20, 0x49, 0x66, 0x20, 0x6e, 0x6f, 0x20, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x20, + 0x69, 0x73, 0x20, 0x73, 0x65, 0x74, 0x2c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x64, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x20, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x20, 0x75, 0x72, 0x6c, 0x20, + 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x75, 0x73, 0x65, 0x64, 0x2e, 0x22, 0x4a, 0x59, + 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x2f, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x79, 0x3f, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x3d, 0x7b, 0x7b, 0x2e, + 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x7d, 0x7d, 0x26, 0x63, 0x6f, 0x64, 0x65, 0x3d, 0x7b, 0x7b, + 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x7d, 0x7d, 0x26, 0x6f, 0x72, 0x67, 0x49, 0x44, 0x3d, 0x7b, 0x7b, + 0x2e, 0x4f, 0x72, 0x67, 0x49, 0x44, 0x7d, 0x7d, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x48, + 0x00, 0x52, 0x0b, 0x75, 0x72, 0x6c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x88, 0x01, + 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x75, 0x72, 0x6c, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x50, 0x61, 0x73, 0x73, + 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x2a, 0x6d, 0x0a, + 0x10, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, + 0x65, 0x64, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x10, + 0x01, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x4d, 0x53, 0x10, 0x02, 0x42, 0x36, 0x5a, 0x34, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, + 0x72, 0x70, 0x63, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, + 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_user_v2beta_password_proto_rawDescOnce sync.Once + file_zitadel_user_v2beta_password_proto_rawDescData = file_zitadel_user_v2beta_password_proto_rawDesc +) + +func file_zitadel_user_v2beta_password_proto_rawDescGZIP() []byte { + file_zitadel_user_v2beta_password_proto_rawDescOnce.Do(func() { + file_zitadel_user_v2beta_password_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_user_v2beta_password_proto_rawDescData) + }) + return file_zitadel_user_v2beta_password_proto_rawDescData +} + +var file_zitadel_user_v2beta_password_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_zitadel_user_v2beta_password_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_zitadel_user_v2beta_password_proto_goTypes = []interface{}{ + (NotificationType)(0), // 0: zitadel.user.v2beta.NotificationType + (*Password)(nil), // 1: zitadel.user.v2beta.Password + (*HashedPassword)(nil), // 2: zitadel.user.v2beta.HashedPassword + (*SendPasswordResetLink)(nil), // 3: zitadel.user.v2beta.SendPasswordResetLink + (*ReturnPasswordResetCode)(nil), // 4: zitadel.user.v2beta.ReturnPasswordResetCode +} +var file_zitadel_user_v2beta_password_proto_depIdxs = []int32{ + 0, // 0: zitadel.user.v2beta.SendPasswordResetLink.notification_type:type_name -> zitadel.user.v2beta.NotificationType + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_zitadel_user_v2beta_password_proto_init() } +func file_zitadel_user_v2beta_password_proto_init() { + if File_zitadel_user_v2beta_password_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_zitadel_user_v2beta_password_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Password); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_password_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HashedPassword); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_password_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendPasswordResetLink); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_password_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReturnPasswordResetCode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_zitadel_user_v2beta_password_proto_msgTypes[2].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_user_v2beta_password_proto_rawDesc, + NumEnums: 1, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_user_v2beta_password_proto_goTypes, + DependencyIndexes: file_zitadel_user_v2beta_password_proto_depIdxs, + EnumInfos: file_zitadel_user_v2beta_password_proto_enumTypes, + MessageInfos: file_zitadel_user_v2beta_password_proto_msgTypes, + }.Build() + File_zitadel_user_v2beta_password_proto = out.File + file_zitadel_user_v2beta_password_proto_rawDesc = nil + file_zitadel_user_v2beta_password_proto_goTypes = nil + file_zitadel_user_v2beta_password_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/user/v2beta/phone.pb.go b/pkg/client/zitadel/user/v2beta/phone.pb.go new file mode 100644 index 0000000..0d2be14 --- /dev/null +++ b/pkg/client/zitadel/user/v2beta/phone.pb.go @@ -0,0 +1,343 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/user/v2beta/phone.proto + +package user + +import ( + _ "github.com/envoyproxy/protoc-gen-validate/validate" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type SetHumanPhone struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` + // Types that are assignable to Verification: + // + // *SetHumanPhone_SendCode + // *SetHumanPhone_ReturnCode + // *SetHumanPhone_IsVerified + Verification isSetHumanPhone_Verification `protobuf_oneof:"verification"` +} + +func (x *SetHumanPhone) Reset() { + *x = SetHumanPhone{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_phone_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetHumanPhone) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetHumanPhone) ProtoMessage() {} + +func (x *SetHumanPhone) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_phone_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetHumanPhone.ProtoReflect.Descriptor instead. +func (*SetHumanPhone) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_phone_proto_rawDescGZIP(), []int{0} +} + +func (x *SetHumanPhone) GetPhone() string { + if x != nil { + return x.Phone + } + return "" +} + +func (m *SetHumanPhone) GetVerification() isSetHumanPhone_Verification { + if m != nil { + return m.Verification + } + return nil +} + +func (x *SetHumanPhone) GetSendCode() *SendPhoneVerificationCode { + if x, ok := x.GetVerification().(*SetHumanPhone_SendCode); ok { + return x.SendCode + } + return nil +} + +func (x *SetHumanPhone) GetReturnCode() *ReturnPhoneVerificationCode { + if x, ok := x.GetVerification().(*SetHumanPhone_ReturnCode); ok { + return x.ReturnCode + } + return nil +} + +func (x *SetHumanPhone) GetIsVerified() bool { + if x, ok := x.GetVerification().(*SetHumanPhone_IsVerified); ok { + return x.IsVerified + } + return false +} + +type isSetHumanPhone_Verification interface { + isSetHumanPhone_Verification() +} + +type SetHumanPhone_SendCode struct { + SendCode *SendPhoneVerificationCode `protobuf:"bytes,2,opt,name=send_code,json=sendCode,proto3,oneof"` +} + +type SetHumanPhone_ReturnCode struct { + ReturnCode *ReturnPhoneVerificationCode `protobuf:"bytes,3,opt,name=return_code,json=returnCode,proto3,oneof"` +} + +type SetHumanPhone_IsVerified struct { + IsVerified bool `protobuf:"varint,4,opt,name=is_verified,json=isVerified,proto3,oneof"` +} + +func (*SetHumanPhone_SendCode) isSetHumanPhone_Verification() {} + +func (*SetHumanPhone_ReturnCode) isSetHumanPhone_Verification() {} + +func (*SetHumanPhone_IsVerified) isSetHumanPhone_Verification() {} + +type SendPhoneVerificationCode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SendPhoneVerificationCode) Reset() { + *x = SendPhoneVerificationCode{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_phone_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SendPhoneVerificationCode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SendPhoneVerificationCode) ProtoMessage() {} + +func (x *SendPhoneVerificationCode) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_phone_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SendPhoneVerificationCode.ProtoReflect.Descriptor instead. +func (*SendPhoneVerificationCode) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_phone_proto_rawDescGZIP(), []int{1} +} + +type ReturnPhoneVerificationCode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReturnPhoneVerificationCode) Reset() { + *x = ReturnPhoneVerificationCode{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_phone_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReturnPhoneVerificationCode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReturnPhoneVerificationCode) ProtoMessage() {} + +func (x *ReturnPhoneVerificationCode) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_phone_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReturnPhoneVerificationCode.ProtoReflect.Descriptor instead. +func (*ReturnPhoneVerificationCode) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_phone_proto_rawDescGZIP(), []int{2} +} + +var File_zitadel_user_v2beta_phone_proto protoreflect.FileDescriptor + +var file_zitadel_user_v2beta_phone_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x13, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, + 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa7, + 0x02, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x50, 0x68, 0x6f, 0x6e, 0x65, + 0x12, 0x36, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x20, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x00, 0x18, 0xc8, 0x01, 0x92, 0x41, 0x13, 0x4a, 0x0e, + 0x22, 0x2b, 0x34, 0x31, 0x37, 0x39, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x22, 0x78, 0xc8, + 0x01, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x4d, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, + 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x08, 0x73, + 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x48, 0x00, + 0x52, 0x0a, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x2a, 0x0a, 0x0b, + 0x69, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x08, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x6a, 0x02, 0x08, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x73, + 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1b, 0x0a, 0x19, 0x53, 0x65, 0x6e, 0x64, + 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x50, + 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x64, 0x65, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x75, 0x73, 0x65, 0x72, + 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_user_v2beta_phone_proto_rawDescOnce sync.Once + file_zitadel_user_v2beta_phone_proto_rawDescData = file_zitadel_user_v2beta_phone_proto_rawDesc +) + +func file_zitadel_user_v2beta_phone_proto_rawDescGZIP() []byte { + file_zitadel_user_v2beta_phone_proto_rawDescOnce.Do(func() { + file_zitadel_user_v2beta_phone_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_user_v2beta_phone_proto_rawDescData) + }) + return file_zitadel_user_v2beta_phone_proto_rawDescData +} + +var file_zitadel_user_v2beta_phone_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_zitadel_user_v2beta_phone_proto_goTypes = []interface{}{ + (*SetHumanPhone)(nil), // 0: zitadel.user.v2beta.SetHumanPhone + (*SendPhoneVerificationCode)(nil), // 1: zitadel.user.v2beta.SendPhoneVerificationCode + (*ReturnPhoneVerificationCode)(nil), // 2: zitadel.user.v2beta.ReturnPhoneVerificationCode +} +var file_zitadel_user_v2beta_phone_proto_depIdxs = []int32{ + 1, // 0: zitadel.user.v2beta.SetHumanPhone.send_code:type_name -> zitadel.user.v2beta.SendPhoneVerificationCode + 2, // 1: zitadel.user.v2beta.SetHumanPhone.return_code:type_name -> zitadel.user.v2beta.ReturnPhoneVerificationCode + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_zitadel_user_v2beta_phone_proto_init() } +func file_zitadel_user_v2beta_phone_proto_init() { + if File_zitadel_user_v2beta_phone_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_zitadel_user_v2beta_phone_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetHumanPhone); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_phone_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendPhoneVerificationCode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_phone_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReturnPhoneVerificationCode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_zitadel_user_v2beta_phone_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*SetHumanPhone_SendCode)(nil), + (*SetHumanPhone_ReturnCode)(nil), + (*SetHumanPhone_IsVerified)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_user_v2beta_phone_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_user_v2beta_phone_proto_goTypes, + DependencyIndexes: file_zitadel_user_v2beta_phone_proto_depIdxs, + MessageInfos: file_zitadel_user_v2beta_phone_proto_msgTypes, + }.Build() + File_zitadel_user_v2beta_phone_proto = out.File + file_zitadel_user_v2beta_phone_proto_rawDesc = nil + file_zitadel_user_v2beta_phone_proto_goTypes = nil + file_zitadel_user_v2beta_phone_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/user/v2beta/user.pb.go b/pkg/client/zitadel/user/v2beta/user.pb.go new file mode 100644 index 0000000..ab1c96d --- /dev/null +++ b/pkg/client/zitadel/user/v2beta/user.pb.go @@ -0,0 +1,429 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/user/v2beta/user.proto + +package user + +import ( + _ "github.com/envoyproxy/protoc-gen-validate/validate" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +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) +) + +type Gender int32 + +const ( + Gender_GENDER_UNSPECIFIED Gender = 0 + Gender_GENDER_FEMALE Gender = 1 + Gender_GENDER_MALE Gender = 2 + Gender_GENDER_DIVERSE Gender = 3 +) + +// Enum value maps for Gender. +var ( + Gender_name = map[int32]string{ + 0: "GENDER_UNSPECIFIED", + 1: "GENDER_FEMALE", + 2: "GENDER_MALE", + 3: "GENDER_DIVERSE", + } + Gender_value = map[string]int32{ + "GENDER_UNSPECIFIED": 0, + "GENDER_FEMALE": 1, + "GENDER_MALE": 2, + "GENDER_DIVERSE": 3, + } +) + +func (x Gender) Enum() *Gender { + p := new(Gender) + *p = x + return p +} + +func (x Gender) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Gender) Descriptor() protoreflect.EnumDescriptor { + return file_zitadel_user_v2beta_user_proto_enumTypes[0].Descriptor() +} + +func (Gender) Type() protoreflect.EnumType { + return &file_zitadel_user_v2beta_user_proto_enumTypes[0] +} + +func (x Gender) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Gender.Descriptor instead. +func (Gender) EnumDescriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_proto_rawDescGZIP(), []int{0} +} + +type User struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *User) Reset() { + *x = User{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *User) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*User) ProtoMessage() {} + +func (x *User) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use User.ProtoReflect.Descriptor instead. +func (*User) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_proto_rawDescGZIP(), []int{0} +} + +func (x *User) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type SetHumanProfile struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GivenName string `protobuf:"bytes,1,opt,name=given_name,json=givenName,proto3" json:"given_name,omitempty"` + FamilyName string `protobuf:"bytes,2,opt,name=family_name,json=familyName,proto3" json:"family_name,omitempty"` + NickName *string `protobuf:"bytes,3,opt,name=nick_name,json=nickName,proto3,oneof" json:"nick_name,omitempty"` + DisplayName *string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"` + PreferredLanguage *string `protobuf:"bytes,5,opt,name=preferred_language,json=preferredLanguage,proto3,oneof" json:"preferred_language,omitempty"` + Gender *Gender `protobuf:"varint,6,opt,name=gender,proto3,enum=zitadel.user.v2beta.Gender,oneof" json:"gender,omitempty"` +} + +func (x *SetHumanProfile) Reset() { + *x = SetHumanProfile{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetHumanProfile) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetHumanProfile) ProtoMessage() {} + +func (x *SetHumanProfile) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetHumanProfile.ProtoReflect.Descriptor instead. +func (*SetHumanProfile) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_proto_rawDescGZIP(), []int{1} +} + +func (x *SetHumanProfile) GetGivenName() string { + if x != nil { + return x.GivenName + } + return "" +} + +func (x *SetHumanProfile) GetFamilyName() string { + if x != nil { + return x.FamilyName + } + return "" +} + +func (x *SetHumanProfile) GetNickName() string { + if x != nil && x.NickName != nil { + return *x.NickName + } + return "" +} + +func (x *SetHumanProfile) GetDisplayName() string { + if x != nil && x.DisplayName != nil { + return *x.DisplayName + } + return "" +} + +func (x *SetHumanProfile) GetPreferredLanguage() string { + if x != nil && x.PreferredLanguage != nil { + return *x.PreferredLanguage + } + return "" +} + +func (x *SetHumanProfile) GetGender() Gender { + if x != nil && x.Gender != nil { + return *x.Gender + } + return Gender_GENDER_UNSPECIFIED +} + +type SetMetadataEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *SetMetadataEntry) Reset() { + *x = SetMetadataEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetMetadataEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetMetadataEntry) ProtoMessage() {} + +func (x *SetMetadataEntry) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetMetadataEntry.ProtoReflect.Descriptor instead. +func (*SetMetadataEntry) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_proto_rawDescGZIP(), []int{2} +} + +func (x *SetMetadataEntry) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +func (x *SetMetadataEntry) GetValue() []byte { + if x != nil { + return x.Value + } + return nil +} + +var File_zitadel_user_v2beta_user_proto protoreflect.FileDescriptor + +var file_zitadel_user_v2beta_user_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x13, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, + 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, + 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x16, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xef, 0x03, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x48, + 0x75, 0x6d, 0x61, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x67, + 0x69, 0x76, 0x65, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x20, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, + 0x10, 0x4a, 0x08, 0x22, 0x4d, 0x69, 0x6e, 0x6e, 0x69, 0x65, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, + 0x01, 0x52, 0x09, 0x67, 0x69, 0x76, 0x65, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, + 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x1f, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, + 0x92, 0x41, 0x0f, 0x4a, 0x07, 0x22, 0x4d, 0x6f, 0x75, 0x73, 0x65, 0x22, 0x78, 0xc8, 0x01, 0x80, + 0x01, 0x01, 0x52, 0x0a, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x38, + 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x16, 0xfa, 0x42, 0x05, 0x72, 0x03, 0x18, 0xc8, 0x01, 0x92, 0x41, 0x0b, 0x4a, 0x06, + 0x22, 0x4d, 0x69, 0x6e, 0x69, 0x22, 0x78, 0xc8, 0x01, 0x48, 0x00, 0x52, 0x08, 0x6e, 0x69, 0x63, + 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x46, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, + 0xfa, 0x42, 0x05, 0x72, 0x03, 0x18, 0xc8, 0x01, 0x92, 0x41, 0x13, 0x4a, 0x0e, 0x22, 0x4d, 0x69, + 0x6e, 0x6e, 0x69, 0x65, 0x20, 0x4d, 0x6f, 0x75, 0x73, 0x65, 0x22, 0x78, 0xc8, 0x01, 0x48, 0x01, + 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, + 0x12, 0x46, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x6c, 0x61, + 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x12, 0xfa, 0x42, + 0x04, 0x72, 0x02, 0x18, 0x0a, 0x92, 0x41, 0x08, 0x4a, 0x04, 0x22, 0x65, 0x6e, 0x22, 0x78, 0x0a, + 0x48, 0x02, 0x52, 0x11, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, 0x64, 0x4c, 0x61, 0x6e, + 0x67, 0x75, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x12, 0x4e, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, + 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x42, 0x14, 0x92, 0x41, 0x11, 0x4a, 0x0f, 0x22, 0x47, 0x45, 0x4e, + 0x44, 0x45, 0x52, 0x5f, 0x46, 0x45, 0x4d, 0x41, 0x4c, 0x45, 0x22, 0x48, 0x03, 0x52, 0x06, 0x67, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6e, 0x69, 0x63, + 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, + 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x70, 0x72, 0x65, 0x66, + 0x65, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x42, 0x09, + 0x0a, 0x07, 0x5f, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0xbb, 0x01, 0x0a, 0x10, 0x53, 0x65, + 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x32, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x20, 0xfa, 0x42, 0x07, + 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x10, 0x4a, 0x08, 0x22, + 0x6d, 0x79, 0x2d, 0x6b, 0x65, 0x79, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x73, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x42, 0x5d, 0xfa, 0x42, 0x08, 0x7a, 0x06, 0x10, 0x01, 0x18, 0xa0, 0xc2, 0x1e, 0xe0, 0x41, + 0x02, 0x92, 0x41, 0x4c, 0x32, 0x23, 0x54, 0x68, 0x65, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x20, + 0x68, 0x61, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x62, 0x65, 0x20, 0x62, 0x61, 0x73, 0x65, 0x36, 0x34, + 0x20, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x2e, 0x4a, 0x1e, 0x22, 0x56, 0x47, 0x68, 0x70, + 0x63, 0x79, 0x42, 0x70, 0x63, 0x79, 0x42, 0x74, 0x65, 0x53, 0x42, 0x30, 0x5a, 0x58, 0x4e, 0x30, + 0x49, 0x48, 0x5a, 0x68, 0x62, 0x48, 0x56, 0x6c, 0x22, 0x78, 0xa0, 0xc2, 0x1e, 0x80, 0x01, 0x01, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2a, 0x58, 0x0a, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x12, 0x16, 0x0a, 0x12, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x47, 0x45, 0x4e, + 0x44, 0x45, 0x52, 0x5f, 0x46, 0x45, 0x4d, 0x41, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, + 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x4d, 0x41, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x12, 0x0a, + 0x0e, 0x47, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x56, 0x45, 0x52, 0x53, 0x45, 0x10, + 0x03, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, + 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_zitadel_user_v2beta_user_proto_rawDescOnce sync.Once + file_zitadel_user_v2beta_user_proto_rawDescData = file_zitadel_user_v2beta_user_proto_rawDesc +) + +func file_zitadel_user_v2beta_user_proto_rawDescGZIP() []byte { + file_zitadel_user_v2beta_user_proto_rawDescOnce.Do(func() { + file_zitadel_user_v2beta_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_user_v2beta_user_proto_rawDescData) + }) + return file_zitadel_user_v2beta_user_proto_rawDescData +} + +var file_zitadel_user_v2beta_user_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_zitadel_user_v2beta_user_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_zitadel_user_v2beta_user_proto_goTypes = []interface{}{ + (Gender)(0), // 0: zitadel.user.v2beta.Gender + (*User)(nil), // 1: zitadel.user.v2beta.User + (*SetHumanProfile)(nil), // 2: zitadel.user.v2beta.SetHumanProfile + (*SetMetadataEntry)(nil), // 3: zitadel.user.v2beta.SetMetadataEntry +} +var file_zitadel_user_v2beta_user_proto_depIdxs = []int32{ + 0, // 0: zitadel.user.v2beta.SetHumanProfile.gender:type_name -> zitadel.user.v2beta.Gender + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_zitadel_user_v2beta_user_proto_init() } +func file_zitadel_user_v2beta_user_proto_init() { + if File_zitadel_user_v2beta_user_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_zitadel_user_v2beta_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*User); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetHumanProfile); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetMetadataEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_zitadel_user_v2beta_user_proto_msgTypes[1].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_user_v2beta_user_proto_rawDesc, + NumEnums: 1, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_zitadel_user_v2beta_user_proto_goTypes, + DependencyIndexes: file_zitadel_user_v2beta_user_proto_depIdxs, + EnumInfos: file_zitadel_user_v2beta_user_proto_enumTypes, + MessageInfos: file_zitadel_user_v2beta_user_proto_msgTypes, + }.Build() + File_zitadel_user_v2beta_user_proto = out.File + file_zitadel_user_v2beta_user_proto_rawDesc = nil + file_zitadel_user_v2beta_user_proto_goTypes = nil + file_zitadel_user_v2beta_user_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/user/v2beta/user_service.pb.go b/pkg/client/zitadel/user/v2beta/user_service.pb.go new file mode 100644 index 0000000..6655876 --- /dev/null +++ b/pkg/client/zitadel/user/v2beta/user_service.pb.go @@ -0,0 +1,5105 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.1 +// protoc v3.18.0 +// source: zitadel/user/v2beta/user_service.proto + +package user + +import ( + _ "github.com/envoyproxy/protoc-gen-validate/validate" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" + v2beta "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/object/v2beta" + _ "github.com/zitadel/zitadel-go/v2/pkg/client/zitadel/protoc/v2" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + _ "google.golang.org/protobuf/types/known/durationpb" + structpb "google.golang.org/protobuf/types/known/structpb" + reflect "reflect" + sync "sync" +) + +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) +) + +type AuthenticationMethodType int32 + +const ( + AuthenticationMethodType_AUTHENTICATION_METHOD_TYPE_UNSPECIFIED AuthenticationMethodType = 0 + AuthenticationMethodType_AUTHENTICATION_METHOD_TYPE_PASSWORD AuthenticationMethodType = 1 + AuthenticationMethodType_AUTHENTICATION_METHOD_TYPE_PASSKEY AuthenticationMethodType = 2 + AuthenticationMethodType_AUTHENTICATION_METHOD_TYPE_IDP AuthenticationMethodType = 3 + AuthenticationMethodType_AUTHENTICATION_METHOD_TYPE_TOTP AuthenticationMethodType = 4 + AuthenticationMethodType_AUTHENTICATION_METHOD_TYPE_U2F AuthenticationMethodType = 5 + AuthenticationMethodType_AUTHENTICATION_METHOD_TYPE_OTP_SMS AuthenticationMethodType = 6 + AuthenticationMethodType_AUTHENTICATION_METHOD_TYPE_OTP_EMAIL AuthenticationMethodType = 7 +) + +// Enum value maps for AuthenticationMethodType. +var ( + AuthenticationMethodType_name = map[int32]string{ + 0: "AUTHENTICATION_METHOD_TYPE_UNSPECIFIED", + 1: "AUTHENTICATION_METHOD_TYPE_PASSWORD", + 2: "AUTHENTICATION_METHOD_TYPE_PASSKEY", + 3: "AUTHENTICATION_METHOD_TYPE_IDP", + 4: "AUTHENTICATION_METHOD_TYPE_TOTP", + 5: "AUTHENTICATION_METHOD_TYPE_U2F", + 6: "AUTHENTICATION_METHOD_TYPE_OTP_SMS", + 7: "AUTHENTICATION_METHOD_TYPE_OTP_EMAIL", + } + AuthenticationMethodType_value = map[string]int32{ + "AUTHENTICATION_METHOD_TYPE_UNSPECIFIED": 0, + "AUTHENTICATION_METHOD_TYPE_PASSWORD": 1, + "AUTHENTICATION_METHOD_TYPE_PASSKEY": 2, + "AUTHENTICATION_METHOD_TYPE_IDP": 3, + "AUTHENTICATION_METHOD_TYPE_TOTP": 4, + "AUTHENTICATION_METHOD_TYPE_U2F": 5, + "AUTHENTICATION_METHOD_TYPE_OTP_SMS": 6, + "AUTHENTICATION_METHOD_TYPE_OTP_EMAIL": 7, + } +) + +func (x AuthenticationMethodType) Enum() *AuthenticationMethodType { + p := new(AuthenticationMethodType) + *p = x + return p +} + +func (x AuthenticationMethodType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AuthenticationMethodType) Descriptor() protoreflect.EnumDescriptor { + return file_zitadel_user_v2beta_user_service_proto_enumTypes[0].Descriptor() +} + +func (AuthenticationMethodType) Type() protoreflect.EnumType { + return &file_zitadel_user_v2beta_user_service_proto_enumTypes[0] +} + +func (x AuthenticationMethodType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AuthenticationMethodType.Descriptor instead. +func (AuthenticationMethodType) EnumDescriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{0} +} + +type AddHumanUserRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // optionally set your own id unique for the user + UserId *string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"` + // optionally set a unique username, if none is provided the email will be used + Username *string `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"` + Organisation *v2beta.Organisation `protobuf:"bytes,3,opt,name=organisation,proto3" json:"organisation,omitempty"` + Profile *SetHumanProfile `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"` + Email *SetHumanEmail `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` + Phone *SetHumanPhone `protobuf:"bytes,10,opt,name=phone,proto3" json:"phone,omitempty"` + Metadata []*SetMetadataEntry `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty"` + // Types that are assignable to PasswordType: + // + // *AddHumanUserRequest_Password + // *AddHumanUserRequest_HashedPassword + PasswordType isAddHumanUserRequest_PasswordType `protobuf_oneof:"password_type"` + IdpLinks []*IDPLink `protobuf:"bytes,9,rep,name=idp_links,json=idpLinks,proto3" json:"idp_links,omitempty"` +} + +func (x *AddHumanUserRequest) Reset() { + *x = AddHumanUserRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddHumanUserRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddHumanUserRequest) ProtoMessage() {} + +func (x *AddHumanUserRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddHumanUserRequest.ProtoReflect.Descriptor instead. +func (*AddHumanUserRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{0} +} + +func (x *AddHumanUserRequest) GetUserId() string { + if x != nil && x.UserId != nil { + return *x.UserId + } + return "" +} + +func (x *AddHumanUserRequest) GetUsername() string { + if x != nil && x.Username != nil { + return *x.Username + } + return "" +} + +func (x *AddHumanUserRequest) GetOrganisation() *v2beta.Organisation { + if x != nil { + return x.Organisation + } + return nil +} + +func (x *AddHumanUserRequest) GetProfile() *SetHumanProfile { + if x != nil { + return x.Profile + } + return nil +} + +func (x *AddHumanUserRequest) GetEmail() *SetHumanEmail { + if x != nil { + return x.Email + } + return nil +} + +func (x *AddHumanUserRequest) GetPhone() *SetHumanPhone { + if x != nil { + return x.Phone + } + return nil +} + +func (x *AddHumanUserRequest) GetMetadata() []*SetMetadataEntry { + if x != nil { + return x.Metadata + } + return nil +} + +func (m *AddHumanUserRequest) GetPasswordType() isAddHumanUserRequest_PasswordType { + if m != nil { + return m.PasswordType + } + return nil +} + +func (x *AddHumanUserRequest) GetPassword() *Password { + if x, ok := x.GetPasswordType().(*AddHumanUserRequest_Password); ok { + return x.Password + } + return nil +} + +func (x *AddHumanUserRequest) GetHashedPassword() *HashedPassword { + if x, ok := x.GetPasswordType().(*AddHumanUserRequest_HashedPassword); ok { + return x.HashedPassword + } + return nil +} + +func (x *AddHumanUserRequest) GetIdpLinks() []*IDPLink { + if x != nil { + return x.IdpLinks + } + return nil +} + +type isAddHumanUserRequest_PasswordType interface { + isAddHumanUserRequest_PasswordType() +} + +type AddHumanUserRequest_Password struct { + Password *Password `protobuf:"bytes,7,opt,name=password,proto3,oneof"` +} + +type AddHumanUserRequest_HashedPassword struct { + HashedPassword *HashedPassword `protobuf:"bytes,8,opt,name=hashed_password,json=hashedPassword,proto3,oneof"` +} + +func (*AddHumanUserRequest_Password) isAddHumanUserRequest_PasswordType() {} + +func (*AddHumanUserRequest_HashedPassword) isAddHumanUserRequest_PasswordType() {} + +type AddHumanUserResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + Details *v2beta.Details `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` + EmailCode *string `protobuf:"bytes,3,opt,name=email_code,json=emailCode,proto3,oneof" json:"email_code,omitempty"` + PhoneCode *string `protobuf:"bytes,4,opt,name=phone_code,json=phoneCode,proto3,oneof" json:"phone_code,omitempty"` +} + +func (x *AddHumanUserResponse) Reset() { + *x = AddHumanUserResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddHumanUserResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddHumanUserResponse) ProtoMessage() {} + +func (x *AddHumanUserResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddHumanUserResponse.ProtoReflect.Descriptor instead. +func (*AddHumanUserResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{1} +} + +func (x *AddHumanUserResponse) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *AddHumanUserResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *AddHumanUserResponse) GetEmailCode() string { + if x != nil && x.EmailCode != nil { + return *x.EmailCode + } + return "" +} + +func (x *AddHumanUserResponse) GetPhoneCode() string { + if x != nil && x.PhoneCode != nil { + return *x.PhoneCode + } + return "" +} + +type SetEmailRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + // if no verification is specified, an email is sent with the default url + // + // Types that are assignable to Verification: + // + // *SetEmailRequest_SendCode + // *SetEmailRequest_ReturnCode + // *SetEmailRequest_IsVerified + Verification isSetEmailRequest_Verification `protobuf_oneof:"verification"` +} + +func (x *SetEmailRequest) Reset() { + *x = SetEmailRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetEmailRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetEmailRequest) ProtoMessage() {} + +func (x *SetEmailRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetEmailRequest.ProtoReflect.Descriptor instead. +func (*SetEmailRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{2} +} + +func (x *SetEmailRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *SetEmailRequest) GetEmail() string { + if x != nil { + return x.Email + } + return "" +} + +func (m *SetEmailRequest) GetVerification() isSetEmailRequest_Verification { + if m != nil { + return m.Verification + } + return nil +} + +func (x *SetEmailRequest) GetSendCode() *SendEmailVerificationCode { + if x, ok := x.GetVerification().(*SetEmailRequest_SendCode); ok { + return x.SendCode + } + return nil +} + +func (x *SetEmailRequest) GetReturnCode() *ReturnEmailVerificationCode { + if x, ok := x.GetVerification().(*SetEmailRequest_ReturnCode); ok { + return x.ReturnCode + } + return nil +} + +func (x *SetEmailRequest) GetIsVerified() bool { + if x, ok := x.GetVerification().(*SetEmailRequest_IsVerified); ok { + return x.IsVerified + } + return false +} + +type isSetEmailRequest_Verification interface { + isSetEmailRequest_Verification() +} + +type SetEmailRequest_SendCode struct { + SendCode *SendEmailVerificationCode `protobuf:"bytes,3,opt,name=send_code,json=sendCode,proto3,oneof"` +} + +type SetEmailRequest_ReturnCode struct { + ReturnCode *ReturnEmailVerificationCode `protobuf:"bytes,4,opt,name=return_code,json=returnCode,proto3,oneof"` +} + +type SetEmailRequest_IsVerified struct { + IsVerified bool `protobuf:"varint,5,opt,name=is_verified,json=isVerified,proto3,oneof"` +} + +func (*SetEmailRequest_SendCode) isSetEmailRequest_Verification() {} + +func (*SetEmailRequest_ReturnCode) isSetEmailRequest_Verification() {} + +func (*SetEmailRequest_IsVerified) isSetEmailRequest_Verification() {} + +type SetEmailResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + // in case the verification was set to return_code, the code will be returned + VerificationCode *string `protobuf:"bytes,2,opt,name=verification_code,json=verificationCode,proto3,oneof" json:"verification_code,omitempty"` +} + +func (x *SetEmailResponse) Reset() { + *x = SetEmailResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetEmailResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetEmailResponse) ProtoMessage() {} + +func (x *SetEmailResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetEmailResponse.ProtoReflect.Descriptor instead. +func (*SetEmailResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{3} +} + +func (x *SetEmailResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *SetEmailResponse) GetVerificationCode() string { + if x != nil && x.VerificationCode != nil { + return *x.VerificationCode + } + return "" +} + +type VerifyEmailRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + VerificationCode string `protobuf:"bytes,2,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"` +} + +func (x *VerifyEmailRequest) Reset() { + *x = VerifyEmailRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifyEmailRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifyEmailRequest) ProtoMessage() {} + +func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VerifyEmailRequest.ProtoReflect.Descriptor instead. +func (*VerifyEmailRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{4} +} + +func (x *VerifyEmailRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *VerifyEmailRequest) GetVerificationCode() string { + if x != nil { + return x.VerificationCode + } + return "" +} + +type VerifyEmailResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` +} + +func (x *VerifyEmailResponse) Reset() { + *x = VerifyEmailResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifyEmailResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifyEmailResponse) ProtoMessage() {} + +func (x *VerifyEmailResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VerifyEmailResponse.ProtoReflect.Descriptor instead. +func (*VerifyEmailResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{5} +} + +func (x *VerifyEmailResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +type SetPhoneRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"` + // if no verification is specified, an sms is sent + // + // Types that are assignable to Verification: + // + // *SetPhoneRequest_SendCode + // *SetPhoneRequest_ReturnCode + // *SetPhoneRequest_IsVerified + Verification isSetPhoneRequest_Verification `protobuf_oneof:"verification"` +} + +func (x *SetPhoneRequest) Reset() { + *x = SetPhoneRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPhoneRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPhoneRequest) ProtoMessage() {} + +func (x *SetPhoneRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPhoneRequest.ProtoReflect.Descriptor instead. +func (*SetPhoneRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{6} +} + +func (x *SetPhoneRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *SetPhoneRequest) GetPhone() string { + if x != nil { + return x.Phone + } + return "" +} + +func (m *SetPhoneRequest) GetVerification() isSetPhoneRequest_Verification { + if m != nil { + return m.Verification + } + return nil +} + +func (x *SetPhoneRequest) GetSendCode() *SendPhoneVerificationCode { + if x, ok := x.GetVerification().(*SetPhoneRequest_SendCode); ok { + return x.SendCode + } + return nil +} + +func (x *SetPhoneRequest) GetReturnCode() *ReturnPhoneVerificationCode { + if x, ok := x.GetVerification().(*SetPhoneRequest_ReturnCode); ok { + return x.ReturnCode + } + return nil +} + +func (x *SetPhoneRequest) GetIsVerified() bool { + if x, ok := x.GetVerification().(*SetPhoneRequest_IsVerified); ok { + return x.IsVerified + } + return false +} + +type isSetPhoneRequest_Verification interface { + isSetPhoneRequest_Verification() +} + +type SetPhoneRequest_SendCode struct { + SendCode *SendPhoneVerificationCode `protobuf:"bytes,3,opt,name=send_code,json=sendCode,proto3,oneof"` +} + +type SetPhoneRequest_ReturnCode struct { + ReturnCode *ReturnPhoneVerificationCode `protobuf:"bytes,4,opt,name=return_code,json=returnCode,proto3,oneof"` +} + +type SetPhoneRequest_IsVerified struct { + IsVerified bool `protobuf:"varint,5,opt,name=is_verified,json=isVerified,proto3,oneof"` +} + +func (*SetPhoneRequest_SendCode) isSetPhoneRequest_Verification() {} + +func (*SetPhoneRequest_ReturnCode) isSetPhoneRequest_Verification() {} + +func (*SetPhoneRequest_IsVerified) isSetPhoneRequest_Verification() {} + +type SetPhoneResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + // in case the verification was set to return_code, the code will be returned + VerificationCode *string `protobuf:"bytes,2,opt,name=verification_code,json=verificationCode,proto3,oneof" json:"verification_code,omitempty"` +} + +func (x *SetPhoneResponse) Reset() { + *x = SetPhoneResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPhoneResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPhoneResponse) ProtoMessage() {} + +func (x *SetPhoneResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPhoneResponse.ProtoReflect.Descriptor instead. +func (*SetPhoneResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{7} +} + +func (x *SetPhoneResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *SetPhoneResponse) GetVerificationCode() string { + if x != nil && x.VerificationCode != nil { + return *x.VerificationCode + } + return "" +} + +type VerifyPhoneRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + VerificationCode string `protobuf:"bytes,2,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"` +} + +func (x *VerifyPhoneRequest) Reset() { + *x = VerifyPhoneRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifyPhoneRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifyPhoneRequest) ProtoMessage() {} + +func (x *VerifyPhoneRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VerifyPhoneRequest.ProtoReflect.Descriptor instead. +func (*VerifyPhoneRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{8} +} + +func (x *VerifyPhoneRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *VerifyPhoneRequest) GetVerificationCode() string { + if x != nil { + return x.VerificationCode + } + return "" +} + +type VerifyPhoneResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` +} + +func (x *VerifyPhoneResponse) Reset() { + *x = VerifyPhoneResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifyPhoneResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifyPhoneResponse) ProtoMessage() {} + +func (x *VerifyPhoneResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VerifyPhoneResponse.ProtoReflect.Descriptor instead. +func (*VerifyPhoneResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{9} +} + +func (x *VerifyPhoneResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +type RegisterPasskeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + Code *PasskeyRegistrationCode `protobuf:"bytes,2,opt,name=code,proto3,oneof" json:"code,omitempty"` + Authenticator PasskeyAuthenticator `protobuf:"varint,3,opt,name=authenticator,proto3,enum=zitadel.user.v2beta.PasskeyAuthenticator" json:"authenticator,omitempty"` + Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"` +} + +func (x *RegisterPasskeyRequest) Reset() { + *x = RegisterPasskeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegisterPasskeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegisterPasskeyRequest) ProtoMessage() {} + +func (x *RegisterPasskeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RegisterPasskeyRequest.ProtoReflect.Descriptor instead. +func (*RegisterPasskeyRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{10} +} + +func (x *RegisterPasskeyRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *RegisterPasskeyRequest) GetCode() *PasskeyRegistrationCode { + if x != nil { + return x.Code + } + return nil +} + +func (x *RegisterPasskeyRequest) GetAuthenticator() PasskeyAuthenticator { + if x != nil { + return x.Authenticator + } + return PasskeyAuthenticator_PASSKEY_AUTHENTICATOR_UNSPECIFIED +} + +func (x *RegisterPasskeyRequest) GetDomain() string { + if x != nil { + return x.Domain + } + return "" +} + +type RegisterPasskeyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + PasskeyId string `protobuf:"bytes,2,opt,name=passkey_id,json=passkeyId,proto3" json:"passkey_id,omitempty"` + PublicKeyCredentialCreationOptions *structpb.Struct `protobuf:"bytes,3,opt,name=public_key_credential_creation_options,json=publicKeyCredentialCreationOptions,proto3" json:"public_key_credential_creation_options,omitempty"` +} + +func (x *RegisterPasskeyResponse) Reset() { + *x = RegisterPasskeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegisterPasskeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegisterPasskeyResponse) ProtoMessage() {} + +func (x *RegisterPasskeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RegisterPasskeyResponse.ProtoReflect.Descriptor instead. +func (*RegisterPasskeyResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{11} +} + +func (x *RegisterPasskeyResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *RegisterPasskeyResponse) GetPasskeyId() string { + if x != nil { + return x.PasskeyId + } + return "" +} + +func (x *RegisterPasskeyResponse) GetPublicKeyCredentialCreationOptions() *structpb.Struct { + if x != nil { + return x.PublicKeyCredentialCreationOptions + } + return nil +} + +type VerifyPasskeyRegistrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + PasskeyId string `protobuf:"bytes,2,opt,name=passkey_id,json=passkeyId,proto3" json:"passkey_id,omitempty"` + PublicKeyCredential *structpb.Struct `protobuf:"bytes,3,opt,name=public_key_credential,json=publicKeyCredential,proto3" json:"public_key_credential,omitempty"` + PasskeyName string `protobuf:"bytes,4,opt,name=passkey_name,json=passkeyName,proto3" json:"passkey_name,omitempty"` +} + +func (x *VerifyPasskeyRegistrationRequest) Reset() { + *x = VerifyPasskeyRegistrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifyPasskeyRegistrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifyPasskeyRegistrationRequest) ProtoMessage() {} + +func (x *VerifyPasskeyRegistrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VerifyPasskeyRegistrationRequest.ProtoReflect.Descriptor instead. +func (*VerifyPasskeyRegistrationRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{12} +} + +func (x *VerifyPasskeyRegistrationRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *VerifyPasskeyRegistrationRequest) GetPasskeyId() string { + if x != nil { + return x.PasskeyId + } + return "" +} + +func (x *VerifyPasskeyRegistrationRequest) GetPublicKeyCredential() *structpb.Struct { + if x != nil { + return x.PublicKeyCredential + } + return nil +} + +func (x *VerifyPasskeyRegistrationRequest) GetPasskeyName() string { + if x != nil { + return x.PasskeyName + } + return "" +} + +type VerifyPasskeyRegistrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` +} + +func (x *VerifyPasskeyRegistrationResponse) Reset() { + *x = VerifyPasskeyRegistrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifyPasskeyRegistrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifyPasskeyRegistrationResponse) ProtoMessage() {} + +func (x *VerifyPasskeyRegistrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VerifyPasskeyRegistrationResponse.ProtoReflect.Descriptor instead. +func (*VerifyPasskeyRegistrationResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{13} +} + +func (x *VerifyPasskeyRegistrationResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +type RegisterU2FRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` +} + +func (x *RegisterU2FRequest) Reset() { + *x = RegisterU2FRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegisterU2FRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegisterU2FRequest) ProtoMessage() {} + +func (x *RegisterU2FRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RegisterU2FRequest.ProtoReflect.Descriptor instead. +func (*RegisterU2FRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{14} +} + +func (x *RegisterU2FRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *RegisterU2FRequest) GetDomain() string { + if x != nil { + return x.Domain + } + return "" +} + +type RegisterU2FResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + U2FId string `protobuf:"bytes,2,opt,name=u2f_id,json=u2fId,proto3" json:"u2f_id,omitempty"` + PublicKeyCredentialCreationOptions *structpb.Struct `protobuf:"bytes,3,opt,name=public_key_credential_creation_options,json=publicKeyCredentialCreationOptions,proto3" json:"public_key_credential_creation_options,omitempty"` +} + +func (x *RegisterU2FResponse) Reset() { + *x = RegisterU2FResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegisterU2FResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegisterU2FResponse) ProtoMessage() {} + +func (x *RegisterU2FResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RegisterU2FResponse.ProtoReflect.Descriptor instead. +func (*RegisterU2FResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{15} +} + +func (x *RegisterU2FResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *RegisterU2FResponse) GetU2FId() string { + if x != nil { + return x.U2FId + } + return "" +} + +func (x *RegisterU2FResponse) GetPublicKeyCredentialCreationOptions() *structpb.Struct { + if x != nil { + return x.PublicKeyCredentialCreationOptions + } + return nil +} + +type VerifyU2FRegistrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + U2FId string `protobuf:"bytes,2,opt,name=u2f_id,json=u2fId,proto3" json:"u2f_id,omitempty"` + PublicKeyCredential *structpb.Struct `protobuf:"bytes,3,opt,name=public_key_credential,json=publicKeyCredential,proto3" json:"public_key_credential,omitempty"` + TokenName string `protobuf:"bytes,4,opt,name=token_name,json=tokenName,proto3" json:"token_name,omitempty"` +} + +func (x *VerifyU2FRegistrationRequest) Reset() { + *x = VerifyU2FRegistrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifyU2FRegistrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifyU2FRegistrationRequest) ProtoMessage() {} + +func (x *VerifyU2FRegistrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VerifyU2FRegistrationRequest.ProtoReflect.Descriptor instead. +func (*VerifyU2FRegistrationRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{16} +} + +func (x *VerifyU2FRegistrationRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *VerifyU2FRegistrationRequest) GetU2FId() string { + if x != nil { + return x.U2FId + } + return "" +} + +func (x *VerifyU2FRegistrationRequest) GetPublicKeyCredential() *structpb.Struct { + if x != nil { + return x.PublicKeyCredential + } + return nil +} + +func (x *VerifyU2FRegistrationRequest) GetTokenName() string { + if x != nil { + return x.TokenName + } + return "" +} + +type VerifyU2FRegistrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` +} + +func (x *VerifyU2FRegistrationResponse) Reset() { + *x = VerifyU2FRegistrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifyU2FRegistrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifyU2FRegistrationResponse) ProtoMessage() {} + +func (x *VerifyU2FRegistrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VerifyU2FRegistrationResponse.ProtoReflect.Descriptor instead. +func (*VerifyU2FRegistrationResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{17} +} + +func (x *VerifyU2FRegistrationResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +type RegisterTOTPRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` +} + +func (x *RegisterTOTPRequest) Reset() { + *x = RegisterTOTPRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegisterTOTPRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegisterTOTPRequest) ProtoMessage() {} + +func (x *RegisterTOTPRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RegisterTOTPRequest.ProtoReflect.Descriptor instead. +func (*RegisterTOTPRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{18} +} + +func (x *RegisterTOTPRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +type RegisterTOTPResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` + Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` +} + +func (x *RegisterTOTPResponse) Reset() { + *x = RegisterTOTPResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RegisterTOTPResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RegisterTOTPResponse) ProtoMessage() {} + +func (x *RegisterTOTPResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RegisterTOTPResponse.ProtoReflect.Descriptor instead. +func (*RegisterTOTPResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{19} +} + +func (x *RegisterTOTPResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *RegisterTOTPResponse) GetUri() string { + if x != nil { + return x.Uri + } + return "" +} + +func (x *RegisterTOTPResponse) GetSecret() string { + if x != nil { + return x.Secret + } + return "" +} + +type VerifyTOTPRegistrationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` +} + +func (x *VerifyTOTPRegistrationRequest) Reset() { + *x = VerifyTOTPRegistrationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifyTOTPRegistrationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifyTOTPRegistrationRequest) ProtoMessage() {} + +func (x *VerifyTOTPRegistrationRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VerifyTOTPRegistrationRequest.ProtoReflect.Descriptor instead. +func (*VerifyTOTPRegistrationRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{20} +} + +func (x *VerifyTOTPRegistrationRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *VerifyTOTPRegistrationRequest) GetCode() string { + if x != nil { + return x.Code + } + return "" +} + +type VerifyTOTPRegistrationResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` +} + +func (x *VerifyTOTPRegistrationResponse) Reset() { + *x = VerifyTOTPRegistrationResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifyTOTPRegistrationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifyTOTPRegistrationResponse) ProtoMessage() {} + +func (x *VerifyTOTPRegistrationResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VerifyTOTPRegistrationResponse.ProtoReflect.Descriptor instead. +func (*VerifyTOTPRegistrationResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{21} +} + +func (x *VerifyTOTPRegistrationResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +type AddOTPSMSRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` +} + +func (x *AddOTPSMSRequest) Reset() { + *x = AddOTPSMSRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddOTPSMSRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddOTPSMSRequest) ProtoMessage() {} + +func (x *AddOTPSMSRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddOTPSMSRequest.ProtoReflect.Descriptor instead. +func (*AddOTPSMSRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{22} +} + +func (x *AddOTPSMSRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +type AddOTPSMSResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` +} + +func (x *AddOTPSMSResponse) Reset() { + *x = AddOTPSMSResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddOTPSMSResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddOTPSMSResponse) ProtoMessage() {} + +func (x *AddOTPSMSResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddOTPSMSResponse.ProtoReflect.Descriptor instead. +func (*AddOTPSMSResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{23} +} + +func (x *AddOTPSMSResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +type RemoveOTPSMSRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` +} + +func (x *RemoveOTPSMSRequest) Reset() { + *x = RemoveOTPSMSRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveOTPSMSRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveOTPSMSRequest) ProtoMessage() {} + +func (x *RemoveOTPSMSRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveOTPSMSRequest.ProtoReflect.Descriptor instead. +func (*RemoveOTPSMSRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{24} +} + +func (x *RemoveOTPSMSRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +type RemoveOTPSMSResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` +} + +func (x *RemoveOTPSMSResponse) Reset() { + *x = RemoveOTPSMSResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveOTPSMSResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveOTPSMSResponse) ProtoMessage() {} + +func (x *RemoveOTPSMSResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveOTPSMSResponse.ProtoReflect.Descriptor instead. +func (*RemoveOTPSMSResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{25} +} + +func (x *RemoveOTPSMSResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +type AddOTPEmailRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` +} + +func (x *AddOTPEmailRequest) Reset() { + *x = AddOTPEmailRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddOTPEmailRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddOTPEmailRequest) ProtoMessage() {} + +func (x *AddOTPEmailRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddOTPEmailRequest.ProtoReflect.Descriptor instead. +func (*AddOTPEmailRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{26} +} + +func (x *AddOTPEmailRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +type AddOTPEmailResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` +} + +func (x *AddOTPEmailResponse) Reset() { + *x = AddOTPEmailResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddOTPEmailResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddOTPEmailResponse) ProtoMessage() {} + +func (x *AddOTPEmailResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddOTPEmailResponse.ProtoReflect.Descriptor instead. +func (*AddOTPEmailResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{27} +} + +func (x *AddOTPEmailResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +type RemoveOTPEmailRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` +} + +func (x *RemoveOTPEmailRequest) Reset() { + *x = RemoveOTPEmailRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveOTPEmailRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveOTPEmailRequest) ProtoMessage() {} + +func (x *RemoveOTPEmailRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveOTPEmailRequest.ProtoReflect.Descriptor instead. +func (*RemoveOTPEmailRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{28} +} + +func (x *RemoveOTPEmailRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +type RemoveOTPEmailResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` +} + +func (x *RemoveOTPEmailResponse) Reset() { + *x = RemoveOTPEmailResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveOTPEmailResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveOTPEmailResponse) ProtoMessage() {} + +func (x *RemoveOTPEmailResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveOTPEmailResponse.ProtoReflect.Descriptor instead. +func (*RemoveOTPEmailResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{29} +} + +func (x *RemoveOTPEmailResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +type CreatePasskeyRegistrationLinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + // if no medium is specified, an email is sent with the default url + // + // Types that are assignable to Medium: + // + // *CreatePasskeyRegistrationLinkRequest_SendLink + // *CreatePasskeyRegistrationLinkRequest_ReturnCode + Medium isCreatePasskeyRegistrationLinkRequest_Medium `protobuf_oneof:"medium"` +} + +func (x *CreatePasskeyRegistrationLinkRequest) Reset() { + *x = CreatePasskeyRegistrationLinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreatePasskeyRegistrationLinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreatePasskeyRegistrationLinkRequest) ProtoMessage() {} + +func (x *CreatePasskeyRegistrationLinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreatePasskeyRegistrationLinkRequest.ProtoReflect.Descriptor instead. +func (*CreatePasskeyRegistrationLinkRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{30} +} + +func (x *CreatePasskeyRegistrationLinkRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (m *CreatePasskeyRegistrationLinkRequest) GetMedium() isCreatePasskeyRegistrationLinkRequest_Medium { + if m != nil { + return m.Medium + } + return nil +} + +func (x *CreatePasskeyRegistrationLinkRequest) GetSendLink() *SendPasskeyRegistrationLink { + if x, ok := x.GetMedium().(*CreatePasskeyRegistrationLinkRequest_SendLink); ok { + return x.SendLink + } + return nil +} + +func (x *CreatePasskeyRegistrationLinkRequest) GetReturnCode() *ReturnPasskeyRegistrationCode { + if x, ok := x.GetMedium().(*CreatePasskeyRegistrationLinkRequest_ReturnCode); ok { + return x.ReturnCode + } + return nil +} + +type isCreatePasskeyRegistrationLinkRequest_Medium interface { + isCreatePasskeyRegistrationLinkRequest_Medium() +} + +type CreatePasskeyRegistrationLinkRequest_SendLink struct { + SendLink *SendPasskeyRegistrationLink `protobuf:"bytes,2,opt,name=send_link,json=sendLink,proto3,oneof"` +} + +type CreatePasskeyRegistrationLinkRequest_ReturnCode struct { + ReturnCode *ReturnPasskeyRegistrationCode `protobuf:"bytes,3,opt,name=return_code,json=returnCode,proto3,oneof"` +} + +func (*CreatePasskeyRegistrationLinkRequest_SendLink) isCreatePasskeyRegistrationLinkRequest_Medium() { +} + +func (*CreatePasskeyRegistrationLinkRequest_ReturnCode) isCreatePasskeyRegistrationLinkRequest_Medium() { +} + +type CreatePasskeyRegistrationLinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + // in case the medium was set to return_code, the code will be returned + Code *PasskeyRegistrationCode `protobuf:"bytes,2,opt,name=code,proto3,oneof" json:"code,omitempty"` +} + +func (x *CreatePasskeyRegistrationLinkResponse) Reset() { + *x = CreatePasskeyRegistrationLinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreatePasskeyRegistrationLinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreatePasskeyRegistrationLinkResponse) ProtoMessage() {} + +func (x *CreatePasskeyRegistrationLinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreatePasskeyRegistrationLinkResponse.ProtoReflect.Descriptor instead. +func (*CreatePasskeyRegistrationLinkResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{31} +} + +func (x *CreatePasskeyRegistrationLinkResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *CreatePasskeyRegistrationLinkResponse) GetCode() *PasskeyRegistrationCode { + if x != nil { + return x.Code + } + return nil +} + +type StartIdentityProviderIntentRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IdpId string `protobuf:"bytes,1,opt,name=idp_id,json=idpId,proto3" json:"idp_id,omitempty"` + // Types that are assignable to Content: + // + // *StartIdentityProviderIntentRequest_Urls + // *StartIdentityProviderIntentRequest_Ldap + Content isStartIdentityProviderIntentRequest_Content `protobuf_oneof:"content"` +} + +func (x *StartIdentityProviderIntentRequest) Reset() { + *x = StartIdentityProviderIntentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartIdentityProviderIntentRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartIdentityProviderIntentRequest) ProtoMessage() {} + +func (x *StartIdentityProviderIntentRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartIdentityProviderIntentRequest.ProtoReflect.Descriptor instead. +func (*StartIdentityProviderIntentRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{32} +} + +func (x *StartIdentityProviderIntentRequest) GetIdpId() string { + if x != nil { + return x.IdpId + } + return "" +} + +func (m *StartIdentityProviderIntentRequest) GetContent() isStartIdentityProviderIntentRequest_Content { + if m != nil { + return m.Content + } + return nil +} + +func (x *StartIdentityProviderIntentRequest) GetUrls() *RedirectURLs { + if x, ok := x.GetContent().(*StartIdentityProviderIntentRequest_Urls); ok { + return x.Urls + } + return nil +} + +func (x *StartIdentityProviderIntentRequest) GetLdap() *LDAPCredentials { + if x, ok := x.GetContent().(*StartIdentityProviderIntentRequest_Ldap); ok { + return x.Ldap + } + return nil +} + +type isStartIdentityProviderIntentRequest_Content interface { + isStartIdentityProviderIntentRequest_Content() +} + +type StartIdentityProviderIntentRequest_Urls struct { + Urls *RedirectURLs `protobuf:"bytes,2,opt,name=urls,proto3,oneof"` +} + +type StartIdentityProviderIntentRequest_Ldap struct { + Ldap *LDAPCredentials `protobuf:"bytes,3,opt,name=ldap,proto3,oneof"` +} + +func (*StartIdentityProviderIntentRequest_Urls) isStartIdentityProviderIntentRequest_Content() {} + +func (*StartIdentityProviderIntentRequest_Ldap) isStartIdentityProviderIntentRequest_Content() {} + +type StartIdentityProviderIntentResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + // Types that are assignable to NextStep: + // + // *StartIdentityProviderIntentResponse_AuthUrl + // *StartIdentityProviderIntentResponse_IdpIntent + // *StartIdentityProviderIntentResponse_PostForm + NextStep isStartIdentityProviderIntentResponse_NextStep `protobuf_oneof:"next_step"` +} + +func (x *StartIdentityProviderIntentResponse) Reset() { + *x = StartIdentityProviderIntentResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StartIdentityProviderIntentResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StartIdentityProviderIntentResponse) ProtoMessage() {} + +func (x *StartIdentityProviderIntentResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StartIdentityProviderIntentResponse.ProtoReflect.Descriptor instead. +func (*StartIdentityProviderIntentResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{33} +} + +func (x *StartIdentityProviderIntentResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (m *StartIdentityProviderIntentResponse) GetNextStep() isStartIdentityProviderIntentResponse_NextStep { + if m != nil { + return m.NextStep + } + return nil +} + +func (x *StartIdentityProviderIntentResponse) GetAuthUrl() string { + if x, ok := x.GetNextStep().(*StartIdentityProviderIntentResponse_AuthUrl); ok { + return x.AuthUrl + } + return "" +} + +func (x *StartIdentityProviderIntentResponse) GetIdpIntent() *IDPIntent { + if x, ok := x.GetNextStep().(*StartIdentityProviderIntentResponse_IdpIntent); ok { + return x.IdpIntent + } + return nil +} + +func (x *StartIdentityProviderIntentResponse) GetPostForm() []byte { + if x, ok := x.GetNextStep().(*StartIdentityProviderIntentResponse_PostForm); ok { + return x.PostForm + } + return nil +} + +type isStartIdentityProviderIntentResponse_NextStep interface { + isStartIdentityProviderIntentResponse_NextStep() +} + +type StartIdentityProviderIntentResponse_AuthUrl struct { + AuthUrl string `protobuf:"bytes,2,opt,name=auth_url,json=authUrl,proto3,oneof"` +} + +type StartIdentityProviderIntentResponse_IdpIntent struct { + IdpIntent *IDPIntent `protobuf:"bytes,3,opt,name=idp_intent,json=idpIntent,proto3,oneof"` +} + +type StartIdentityProviderIntentResponse_PostForm struct { + PostForm []byte `protobuf:"bytes,4,opt,name=post_form,json=postForm,proto3,oneof"` +} + +func (*StartIdentityProviderIntentResponse_AuthUrl) isStartIdentityProviderIntentResponse_NextStep() { +} + +func (*StartIdentityProviderIntentResponse_IdpIntent) isStartIdentityProviderIntentResponse_NextStep() { +} + +func (*StartIdentityProviderIntentResponse_PostForm) isStartIdentityProviderIntentResponse_NextStep() { +} + +type RetrieveIdentityProviderIntentRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + IdpIntentId string `protobuf:"bytes,1,opt,name=idp_intent_id,json=idpIntentId,proto3" json:"idp_intent_id,omitempty"` + IdpIntentToken string `protobuf:"bytes,2,opt,name=idp_intent_token,json=idpIntentToken,proto3" json:"idp_intent_token,omitempty"` +} + +func (x *RetrieveIdentityProviderIntentRequest) Reset() { + *x = RetrieveIdentityProviderIntentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RetrieveIdentityProviderIntentRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RetrieveIdentityProviderIntentRequest) ProtoMessage() {} + +func (x *RetrieveIdentityProviderIntentRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RetrieveIdentityProviderIntentRequest.ProtoReflect.Descriptor instead. +func (*RetrieveIdentityProviderIntentRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{34} +} + +func (x *RetrieveIdentityProviderIntentRequest) GetIdpIntentId() string { + if x != nil { + return x.IdpIntentId + } + return "" +} + +func (x *RetrieveIdentityProviderIntentRequest) GetIdpIntentToken() string { + if x != nil { + return x.IdpIntentToken + } + return "" +} + +type RetrieveIdentityProviderIntentResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + IdpInformation *IDPInformation `protobuf:"bytes,2,opt,name=idp_information,json=idpInformation,proto3" json:"idp_information,omitempty"` + UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` +} + +func (x *RetrieveIdentityProviderIntentResponse) Reset() { + *x = RetrieveIdentityProviderIntentResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RetrieveIdentityProviderIntentResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RetrieveIdentityProviderIntentResponse) ProtoMessage() {} + +func (x *RetrieveIdentityProviderIntentResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RetrieveIdentityProviderIntentResponse.ProtoReflect.Descriptor instead. +func (*RetrieveIdentityProviderIntentResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{35} +} + +func (x *RetrieveIdentityProviderIntentResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *RetrieveIdentityProviderIntentResponse) GetIdpInformation() *IDPInformation { + if x != nil { + return x.IdpInformation + } + return nil +} + +func (x *RetrieveIdentityProviderIntentResponse) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +type AddIDPLinkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + IdpLink *IDPLink `protobuf:"bytes,2,opt,name=idp_link,json=idpLink,proto3" json:"idp_link,omitempty"` +} + +func (x *AddIDPLinkRequest) Reset() { + *x = AddIDPLinkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddIDPLinkRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddIDPLinkRequest) ProtoMessage() {} + +func (x *AddIDPLinkRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddIDPLinkRequest.ProtoReflect.Descriptor instead. +func (*AddIDPLinkRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{36} +} + +func (x *AddIDPLinkRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *AddIDPLinkRequest) GetIdpLink() *IDPLink { + if x != nil { + return x.IdpLink + } + return nil +} + +type AddIDPLinkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` +} + +func (x *AddIDPLinkResponse) Reset() { + *x = AddIDPLinkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddIDPLinkResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddIDPLinkResponse) ProtoMessage() {} + +func (x *AddIDPLinkResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddIDPLinkResponse.ProtoReflect.Descriptor instead. +func (*AddIDPLinkResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{37} +} + +func (x *AddIDPLinkResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +type PasswordResetRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + // if no medium is specified, an email is sent with the default url + // + // Types that are assignable to Medium: + // + // *PasswordResetRequest_SendLink + // *PasswordResetRequest_ReturnCode + Medium isPasswordResetRequest_Medium `protobuf_oneof:"medium"` +} + +func (x *PasswordResetRequest) Reset() { + *x = PasswordResetRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PasswordResetRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PasswordResetRequest) ProtoMessage() {} + +func (x *PasswordResetRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PasswordResetRequest.ProtoReflect.Descriptor instead. +func (*PasswordResetRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{38} +} + +func (x *PasswordResetRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (m *PasswordResetRequest) GetMedium() isPasswordResetRequest_Medium { + if m != nil { + return m.Medium + } + return nil +} + +func (x *PasswordResetRequest) GetSendLink() *SendPasswordResetLink { + if x, ok := x.GetMedium().(*PasswordResetRequest_SendLink); ok { + return x.SendLink + } + return nil +} + +func (x *PasswordResetRequest) GetReturnCode() *ReturnPasswordResetCode { + if x, ok := x.GetMedium().(*PasswordResetRequest_ReturnCode); ok { + return x.ReturnCode + } + return nil +} + +type isPasswordResetRequest_Medium interface { + isPasswordResetRequest_Medium() +} + +type PasswordResetRequest_SendLink struct { + SendLink *SendPasswordResetLink `protobuf:"bytes,2,opt,name=send_link,json=sendLink,proto3,oneof"` +} + +type PasswordResetRequest_ReturnCode struct { + ReturnCode *ReturnPasswordResetCode `protobuf:"bytes,3,opt,name=return_code,json=returnCode,proto3,oneof"` +} + +func (*PasswordResetRequest_SendLink) isPasswordResetRequest_Medium() {} + +func (*PasswordResetRequest_ReturnCode) isPasswordResetRequest_Medium() {} + +type PasswordResetResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + // in case the medium was set to return_code, the code will be returned + VerificationCode *string `protobuf:"bytes,2,opt,name=verification_code,json=verificationCode,proto3,oneof" json:"verification_code,omitempty"` +} + +func (x *PasswordResetResponse) Reset() { + *x = PasswordResetResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PasswordResetResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PasswordResetResponse) ProtoMessage() {} + +func (x *PasswordResetResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PasswordResetResponse.ProtoReflect.Descriptor instead. +func (*PasswordResetResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{39} +} + +func (x *PasswordResetResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +func (x *PasswordResetResponse) GetVerificationCode() string { + if x != nil && x.VerificationCode != nil { + return *x.VerificationCode + } + return "" +} + +type SetPasswordRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + NewPassword *Password `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` + // if neither, the current password must be provided nor a verification code generated by the PasswordReset is provided, + // the user must be granted permission to set a password + // + // Types that are assignable to Verification: + // + // *SetPasswordRequest_CurrentPassword + // *SetPasswordRequest_VerificationCode + Verification isSetPasswordRequest_Verification `protobuf_oneof:"verification"` +} + +func (x *SetPasswordRequest) Reset() { + *x = SetPasswordRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPasswordRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPasswordRequest) ProtoMessage() {} + +func (x *SetPasswordRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPasswordRequest.ProtoReflect.Descriptor instead. +func (*SetPasswordRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{40} +} + +func (x *SetPasswordRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *SetPasswordRequest) GetNewPassword() *Password { + if x != nil { + return x.NewPassword + } + return nil +} + +func (m *SetPasswordRequest) GetVerification() isSetPasswordRequest_Verification { + if m != nil { + return m.Verification + } + return nil +} + +func (x *SetPasswordRequest) GetCurrentPassword() string { + if x, ok := x.GetVerification().(*SetPasswordRequest_CurrentPassword); ok { + return x.CurrentPassword + } + return "" +} + +func (x *SetPasswordRequest) GetVerificationCode() string { + if x, ok := x.GetVerification().(*SetPasswordRequest_VerificationCode); ok { + return x.VerificationCode + } + return "" +} + +type isSetPasswordRequest_Verification interface { + isSetPasswordRequest_Verification() +} + +type SetPasswordRequest_CurrentPassword struct { + CurrentPassword string `protobuf:"bytes,3,opt,name=current_password,json=currentPassword,proto3,oneof"` +} + +type SetPasswordRequest_VerificationCode struct { + VerificationCode string `protobuf:"bytes,4,opt,name=verification_code,json=verificationCode,proto3,oneof"` +} + +func (*SetPasswordRequest_CurrentPassword) isSetPasswordRequest_Verification() {} + +func (*SetPasswordRequest_VerificationCode) isSetPasswordRequest_Verification() {} + +type SetPasswordResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.Details `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` +} + +func (x *SetPasswordResponse) Reset() { + *x = SetPasswordResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetPasswordResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetPasswordResponse) ProtoMessage() {} + +func (x *SetPasswordResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetPasswordResponse.ProtoReflect.Descriptor instead. +func (*SetPasswordResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{41} +} + +func (x *SetPasswordResponse) GetDetails() *v2beta.Details { + if x != nil { + return x.Details + } + return nil +} + +type ListAuthenticationMethodTypesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` +} + +func (x *ListAuthenticationMethodTypesRequest) Reset() { + *x = ListAuthenticationMethodTypesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListAuthenticationMethodTypesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListAuthenticationMethodTypesRequest) ProtoMessage() {} + +func (x *ListAuthenticationMethodTypesRequest) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListAuthenticationMethodTypesRequest.ProtoReflect.Descriptor instead. +func (*ListAuthenticationMethodTypesRequest) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{42} +} + +func (x *ListAuthenticationMethodTypesRequest) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +type ListAuthenticationMethodTypesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Details *v2beta.ListDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + AuthMethodTypes []AuthenticationMethodType `protobuf:"varint,2,rep,packed,name=auth_method_types,json=authMethodTypes,proto3,enum=zitadel.user.v2beta.AuthenticationMethodType" json:"auth_method_types,omitempty"` +} + +func (x *ListAuthenticationMethodTypesResponse) Reset() { + *x = ListAuthenticationMethodTypesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListAuthenticationMethodTypesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListAuthenticationMethodTypesResponse) ProtoMessage() {} + +func (x *ListAuthenticationMethodTypesResponse) ProtoReflect() protoreflect.Message { + mi := &file_zitadel_user_v2beta_user_service_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListAuthenticationMethodTypesResponse.ProtoReflect.Descriptor instead. +func (*ListAuthenticationMethodTypesResponse) Descriptor() ([]byte, []int) { + return file_zitadel_user_v2beta_user_service_proto_rawDescGZIP(), []int{43} +} + +func (x *ListAuthenticationMethodTypesResponse) GetDetails() *v2beta.ListDetails { + if x != nil { + return x.Details + } + return nil +} + +func (x *ListAuthenticationMethodTypesResponse) GetAuthMethodTypes() []AuthenticationMethodType { + if x != nil { + return x.AuthMethodTypes + } + return nil +} + +var File_zitadel_user_v2beta_user_service_proto protoreflect.FileDescriptor + +var file_zitadel_user_v2beta_user_service_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x22, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x2b, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x32, + 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1d, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x69, 0x64, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x22, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x75, 0x73, 0x65, + 0x72, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, + 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x06, 0x0a, 0x13, 0x41, 0x64, + 0x64, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x59, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x3b, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x92, 0x41, + 0x2e, 0x4a, 0x26, 0x22, 0x64, 0x36, 0x35, 0x34, 0x65, 0x36, 0x62, 0x61, 0x2d, 0x37, 0x30, 0x61, + 0x33, 0x2d, 0x34, 0x38, 0x65, 0x66, 0x2d, 0x61, 0x39, 0x35, 0x64, 0x2d, 0x33, 0x37, 0x63, 0x38, + 0x64, 0x38, 0x61, 0x37, 0x39, 0x30, 0x31, 0x61, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x48, + 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x44, 0x0a, 0x08, + 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, + 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x92, 0x41, 0x16, 0x4a, 0x0e, 0x22, + 0x6d, 0x69, 0x6e, 0x6e, 0x69, 0x65, 0x2d, 0x6d, 0x6f, 0x75, 0x73, 0x65, 0x22, 0x78, 0xc8, 0x01, + 0x80, 0x01, 0x01, 0x48, 0x02, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x88, + 0x01, 0x01, 0x12, 0x47, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x07, 0x70, + 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2e, 0x53, 0x65, 0x74, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x50, 0x72, 0x6f, 0x66, 0x69, + 0x6c, 0x65, 0x42, 0x0b, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0xe0, 0x41, 0x02, 0x52, + 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x45, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, + 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, + 0x74, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x42, 0x0b, 0xfa, 0x42, 0x05, + 0x8a, 0x01, 0x02, 0x10, 0x01, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, + 0x38, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, + 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x74, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x50, 0x68, 0x6f, + 0x6e, 0x65, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x41, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x08, + 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x48, 0x00, 0x52, + 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x4e, 0x0a, 0x0f, 0x68, 0x61, 0x73, + 0x68, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, + 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x65, 0x64, 0x50, + 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x48, 0x00, 0x52, 0x0e, 0x68, 0x61, 0x73, 0x68, 0x65, + 0x64, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x39, 0x0a, 0x09, 0x69, 0x64, 0x70, + 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2e, 0x49, 0x44, 0x50, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x08, 0x69, 0x64, 0x70, 0x4c, + 0x69, 0x6e, 0x6b, 0x73, 0x42, 0x0f, 0x0a, 0x0d, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xcf, + 0x01, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x22, 0x0a, 0x0a, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x09, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x12, 0x22, + 0x0a, 0x0a, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x01, 0x52, 0x09, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x88, + 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x63, 0x6f, 0x64, + 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, + 0x22, 0xf9, 0x02, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, + 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1b, 0x4a, 0x13, 0x22, 0x36, 0x39, 0x36, 0x32, 0x39, 0x30, + 0x32, 0x36, 0x38, 0x30, 0x36, 0x34, 0x38, 0x39, 0x34, 0x35, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, + 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x05, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xfa, 0x42, 0x09, 0x72, 0x07, + 0x10, 0x01, 0x18, 0xc8, 0x01, 0x60, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x18, 0x4a, 0x10, 0x22, + 0x6d, 0x69, 0x6e, 0x69, 0x40, 0x6d, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x22, 0x78, + 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x4d, 0x0a, 0x09, + 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x56, + 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x48, + 0x00, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x72, + 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x30, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, + 0x64, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x43, 0x6f, 0x64, 0x65, + 0x12, 0x2a, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x6a, 0x02, 0x08, 0x01, 0x48, 0x00, + 0x52, 0x0a, 0x69, 0x73, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x42, 0x0e, 0x0a, 0x0c, + 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x01, 0x0a, + 0x10, 0x53, 0x65, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x30, 0x0a, 0x11, 0x76, + 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, 0x14, 0x0a, + 0x12, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, + 0x6f, 0x64, 0x65, 0x22, 0xea, 0x01, 0x0a, 0x12, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x45, 0x6d, + 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x07, 0x75, 0x73, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xfa, 0x42, 0x07, + 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1b, 0x4a, 0x13, 0x22, + 0x36, 0x39, 0x36, 0x32, 0x39, 0x30, 0x32, 0x36, 0x38, 0x30, 0x36, 0x34, 0x38, 0x39, 0x34, 0x35, + 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x8d, 0x01, 0x0a, 0x11, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x60, 0xfa, 0x42, + 0x06, 0x72, 0x04, 0x10, 0x01, 0x18, 0x14, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x51, 0x32, 0x3e, 0x22, + 0x74, 0x68, 0x65, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x20, 0x63, 0x6f, 0x64, 0x65, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x20, + 0x64, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x74, 0x20, 0x65, + 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4a, 0x0a, 0x22, + 0x53, 0x4b, 0x4a, 0x64, 0x33, 0x34, 0x32, 0x6b, 0x22, 0x78, 0x14, 0x80, 0x01, 0x01, 0x52, 0x10, + 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, + 0x22, 0x4f, 0x0a, 0x13, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x22, 0xf5, 0x02, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, + 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1b, 0x4a, 0x13, 0x22, 0x36, 0x39, 0x36, 0x32, 0x39, + 0x30, 0x32, 0x36, 0x38, 0x30, 0x36, 0x34, 0x38, 0x39, 0x34, 0x35, 0x35, 0x22, 0x78, 0xc8, 0x01, + 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x05, 0x70, + 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xfa, 0x42, 0x07, 0x72, + 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x16, 0x4a, 0x0e, 0x22, 0x2b, + 0x34, 0x31, 0x37, 0x39, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x22, 0x78, 0xc8, 0x01, 0x80, + 0x01, 0x01, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x4d, 0x0a, 0x09, 0x73, 0x65, 0x6e, + 0x64, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x08, + 0x73, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x75, + 0x72, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, + 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x48, + 0x00, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x2a, 0x0a, + 0x0b, 0x69, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x6a, 0x02, 0x08, 0x01, 0x48, 0x00, 0x52, 0x0a, 0x69, + 0x73, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x42, 0x0e, 0x0a, 0x0c, 0x76, 0x65, 0x72, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x01, 0x0a, 0x10, 0x53, 0x65, + 0x74, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, + 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, + 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x30, 0x0a, 0x11, 0x76, 0x65, 0x72, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x76, + 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, + 0x22, 0xea, 0x01, 0x0a, 0x12, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x50, 0x68, 0x6f, 0x6e, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, + 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1b, 0x4a, 0x13, 0x22, 0x36, 0x39, 0x36, + 0x32, 0x39, 0x30, 0x32, 0x36, 0x38, 0x30, 0x36, 0x34, 0x38, 0x39, 0x34, 0x35, 0x35, 0x22, 0x78, + 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x8d, 0x01, + 0x0a, 0x11, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x60, 0xfa, 0x42, 0x06, 0x72, 0x04, + 0x10, 0x01, 0x18, 0x14, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x51, 0x32, 0x3e, 0x22, 0x74, 0x68, 0x65, + 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x63, 0x6f, + 0x64, 0x65, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x20, 0x64, 0x75, 0x72, + 0x69, 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x74, 0x20, 0x70, 0x68, 0x6f, 0x6e, + 0x65, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4a, 0x0a, 0x22, 0x53, 0x4b, 0x4a, + 0x64, 0x33, 0x34, 0x32, 0x6b, 0x22, 0x78, 0x14, 0x80, 0x01, 0x01, 0x52, 0x10, 0x76, 0x65, 0x72, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x4f, 0x0a, + 0x13, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0xd7, + 0x04, 0x0a, 0x16, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x6b, + 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x42, 0x07, 0x72, + 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1c, 0x4a, 0x14, 0x22, 0x31, + 0x36, 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, 0x30, + 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, + 0x12, 0xb8, 0x01, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2c, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x71, 0x92, + 0x41, 0x6e, 0x32, 0x6c, 0x22, 0x6f, 0x6e, 0x65, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x63, 0x6f, + 0x64, 0x65, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, + 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x3b, 0x20, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, + 0x64, 0x20, 0x74, 0x6f, 0x20, 0x73, 0x74, 0x61, 0x72, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, + 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x20, 0x77, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x20, 0x75, 0x73, 0x65, 0x72, + 0x20, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x48, 0x00, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x12, 0xe6, 0x01, 0x0a, 0x0d, + 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, + 0x79, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x94, + 0x01, 0x92, 0x41, 0x90, 0x01, 0x32, 0x8d, 0x01, 0x22, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, + 0x6c, 0x6c, 0x79, 0x20, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x79, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x20, 0x74, 0x79, + 0x70, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, + 0x79, 0x20, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x20, 0x28, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x20, 0x6f, 0x72, 0x20, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x2d, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x29, 0x2e, 0x20, 0x49, 0x66, 0x20, 0x6e, 0x6f, 0x6e, 0x65, 0x20, 0x69, + 0x73, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x64, 0x2c, 0x20, 0x62, 0x6f, 0x74, 0x68, + 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x20, 0x61, 0x72, 0x65, 0x20, 0x61, 0x6c, 0x6c, 0x6f, + 0x77, 0x65, 0x64, 0x2e, 0x22, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, + 0x61, 0x74, 0x6f, 0x72, 0x12, 0x49, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0x92, 0x41, 0x2e, 0x32, 0x2c, 0x22, 0x44, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x20, 0x6f, 0x6e, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x75, 0x73, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x22, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x42, + 0x07, 0x0a, 0x05, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x22, 0xba, 0x07, 0x0a, 0x17, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x38, + 0x0a, 0x0a, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x19, 0x92, 0x41, 0x16, 0x4a, 0x14, 0x22, 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, + 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, 0x30, 0x35, 0x22, 0x52, 0x09, 0x70, + 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0xaa, 0x06, 0x0a, 0x26, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x61, 0x6c, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x42, 0xbc, 0x05, 0x92, 0x41, 0xb8, 0x05, 0x32, 0xfa, 0x01, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x61, 0x6c, 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x28, 0x64, 0x69, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x20, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, + 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x29, 0x2e, 0x20, 0x47, 0x65, 0x6e, + 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x20, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x20, 0x6d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x73, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x4a, 0x53, 0x4f, + 0x4e, 0x2c, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x75, 0x73, 0x65, 0x20, 0x69, 0x6e, 0x20, 0x61, 0x20, + 0x57, 0x65, 0x62, 0x61, 0x75, 0x74, 0x68, 0x4e, 0x20, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, + 0x20, 0x53, 0x65, 0x65, 0x20, 0x61, 0x6c, 0x73, 0x6f, 0x3a, 0x20, 0x20, 0x68, 0x74, 0x74, 0x70, + 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x54, + 0x52, 0x2f, 0x77, 0x65, 0x62, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x2f, 0x23, 0x64, 0x69, 0x63, 0x74, + 0x64, 0x65, 0x66, 0x2d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x79, 0x63, 0x72, 0x65, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0xb8, 0x03, 0x7b, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x4b, 0x65, 0x79, 0x22, 0x3a, 0x7b, 0x22, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x6e, 0x6f, 0x6e, 0x65, 0x22, 0x2c, 0x22, 0x61, 0x75, 0x74, + 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x7b, 0x22, 0x75, 0x73, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, + 0x65, 0x64, 0x22, 0x7d, 0x2c, 0x22, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x22, + 0x3a, 0x22, 0x58, 0x61, 0x4d, 0x59, 0x77, 0x57, 0x4f, 0x5a, 0x35, 0x68, 0x6a, 0x36, 0x70, 0x77, + 0x74, 0x77, 0x4a, 0x4a, 0x6c, 0x70, 0x63, 0x49, 0x2d, 0x45, 0x78, 0x6b, 0x4f, 0x35, 0x54, 0x78, + 0x65, 0x76, 0x42, 0x4d, 0x47, 0x34, 0x52, 0x38, 0x44, 0x6f, 0x4b, 0x51, 0x51, 0x22, 0x2c, 0x22, + 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, + 0x6c, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x74, 0x56, 0x70, 0x31, + 0x51, 0x66, 0x59, 0x68, 0x54, 0x38, 0x44, 0x6b, 0x79, 0x45, 0x48, 0x56, 0x72, 0x76, 0x37, 0x62, + 0x6c, 0x6e, 0x70, 0x41, 0x6f, 0x32, 0x59, 0x4a, 0x7a, 0x62, 0x5a, 0x67, 0x5a, 0x4e, 0x42, 0x66, + 0x37, 0x7a, 0x50, 0x73, 0x36, 0x43, 0x49, 0x22, 0x2c, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, + 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, 0x6b, 0x65, 0x79, 0x22, 0x7d, 0x5d, 0x2c, 0x22, + 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x43, 0x72, 0x65, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x61, 0x6c, 0x67, 0x22, 0x3a, 0x2d, 0x37, 0x2c, 0x22, 0x74, 0x79, + 0x70, 0x65, 0x22, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, 0x6b, 0x65, 0x79, 0x22, + 0x7d, 0x5d, 0x2c, 0x22, 0x72, 0x70, 0x22, 0x3a, 0x7b, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x6c, + 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x22, 0x2c, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x3a, 0x22, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x22, 0x7d, 0x2c, 0x22, 0x74, 0x69, 0x6d, + 0x65, 0x6f, 0x75, 0x74, 0x22, 0x3a, 0x33, 0x30, 0x30, 0x30, 0x30, 0x30, 0x2c, 0x22, 0x75, 0x73, + 0x65, 0x72, 0x22, 0x3a, 0x7b, 0x22, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, + 0x65, 0x22, 0x3a, 0x22, 0x54, 0x69, 0x6d, 0x20, 0x4d, 0x6f, 0x68, 0x6c, 0x6d, 0x61, 0x6e, 0x6e, + 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x4d, 0x6a, 0x45, 0x31, 0x4e, 0x54, 0x6b, 0x34, + 0x4d, 0x44, 0x41, 0x77, 0x4e, 0x44, 0x59, 0x30, 0x4f, 0x54, 0x6b, 0x34, 0x4f, 0x54, 0x51, 0x77, + 0x22, 0x2c, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x74, 0x69, 0x6d, 0x22, 0x7d, 0x7d, + 0x7d, 0x52, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x43, 0x72, 0x65, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xe2, 0x09, 0x0a, 0x20, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, + 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x75, 0x73, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x42, 0x07, + 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1c, 0x4a, 0x14, 0x22, + 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, + 0x30, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x4b, 0x0a, 0x0a, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, + 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1c, 0x4a, 0x14, 0x22, 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, + 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, 0x30, 0x35, 0x22, 0x78, 0xc8, 0x01, + 0x80, 0x01, 0x01, 0x52, 0x09, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x12, 0xe2, + 0x07, 0x0a, 0x15, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x72, + 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x94, 0x07, 0xfa, 0x42, 0x05, 0x8a, 0x01, 0x02, + 0x10, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x85, 0x07, 0x32, 0xb1, 0x01, 0x50, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x4b, 0x65, 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x20, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x2e, 0x20, 0x47, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x65, 0x64, 0x20, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x20, 0x6d, 0x65, 0x74, 0x68, + 0x6f, 0x64, 0x73, 0x20, 0x70, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x4a, 0x53, 0x4f, 0x4e, + 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x61, 0x20, 0x57, 0x65, + 0x62, 0x61, 0x75, 0x74, 0x68, 0x4e, 0x20, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x20, 0x53, + 0x65, 0x65, 0x20, 0x61, 0x6c, 0x73, 0x6f, 0x3a, 0x20, 0x20, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, + 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x54, 0x52, 0x2f, + 0x77, 0x65, 0x62, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x2f, 0x23, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x6b, 0x65, 0x79, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x4a, 0xc7, 0x05, + 0x7b, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, + 0x6b, 0x65, 0x79, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x70, 0x61, 0x77, 0x56, 0x61, + 0x72, 0x46, 0x34, 0x78, 0x50, 0x78, 0x4c, 0x46, 0x6d, 0x66, 0x43, 0x6e, 0x52, 0x6b, 0x77, 0x58, + 0x57, 0x65, 0x54, 0x72, 0x4b, 0x47, 0x7a, 0x61, 0x62, 0x63, 0x41, 0x69, 0x39, 0x32, 0x4c, 0x45, + 0x49, 0x31, 0x57, 0x43, 0x30, 0x30, 0x22, 0x2c, 0x22, 0x72, 0x61, 0x77, 0x49, 0x64, 0x22, 0x3a, + 0x22, 0x70, 0x61, 0x77, 0x56, 0x61, 0x72, 0x46, 0x34, 0x78, 0x50, 0x78, 0x4c, 0x46, 0x6d, 0x66, + 0x43, 0x6e, 0x52, 0x6b, 0x77, 0x58, 0x57, 0x65, 0x54, 0x72, 0x4b, 0x47, 0x7a, 0x61, 0x62, 0x63, + 0x41, 0x69, 0x39, 0x32, 0x4c, 0x45, 0x49, 0x31, 0x57, 0x43, 0x30, 0x30, 0x22, 0x2c, 0x22, 0x72, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x7b, 0x22, 0x61, 0x74, 0x74, 0x65, 0x73, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x3a, 0x22, 0x6f, + 0x32, 0x4e, 0x6d, 0x62, 0x58, 0x52, 0x6d, 0x63, 0x47, 0x46, 0x6a, 0x61, 0x32, 0x56, 0x6b, 0x5a, + 0x32, 0x46, 0x30, 0x64, 0x46, 0x4e, 0x30, 0x62, 0x58, 0x53, 0x69, 0x59, 0x32, 0x46, 0x73, 0x5a, + 0x79, 0x5a, 0x6a, 0x63, 0x32, 0x6c, 0x6e, 0x57, 0x45, 0x63, 0x77, 0x52, 0x51, 0x49, 0x67, 0x52, + 0x4b, 0x53, 0x33, 0x56, 0x70, 0x65, 0x45, 0x39, 0x74, 0x66, 0x45, 0x78, 0x58, 0x52, 0x7a, 0x6b, + 0x6f, 0x55, 0x4b, 0x6e, 0x47, 0x34, 0x72, 0x51, 0x57, 0x50, 0x76, 0x74, 0x53, 0x53, 0x74, 0x34, + 0x59, 0x74, 0x44, 0x47, 0x67, 0x54, 0x78, 0x33, 0x32, 0x6f, 0x43, 0x49, 0x51, 0x44, 0x50, 0x65, + 0x79, 0x2d, 0x32, 0x59, 0x4a, 0x34, 0x75, 0x49, 0x67, 0x2d, 0x51, 0x43, 0x4d, 0x34, 0x6a, 0x6a, + 0x36, 0x61, 0x45, 0x32, 0x55, 0x33, 0x74, 0x67, 0x4d, 0x46, 0x4d, 0x5f, 0x52, 0x50, 0x37, 0x45, + 0x66, 0x78, 0x36, 0x78, 0x52, 0x75, 0x33, 0x4a, 0x47, 0x68, 0x68, 0x64, 0x58, 0x52, 0x6f, 0x52, + 0x47, 0x46, 0x30, 0x59, 0x56, 0x69, 0x6b, 0x53, 0x5a, 0x59, 0x4e, 0x35, 0x59, 0x67, 0x4f, 0x6a, + 0x47, 0x68, 0x30, 0x4e, 0x42, 0x63, 0x50, 0x5a, 0x48, 0x5a, 0x67, 0x57, 0x34, 0x5f, 0x6b, 0x72, + 0x72, 0x6d, 0x69, 0x68, 0x6a, 0x4c, 0x48, 0x6d, 0x56, 0x7a, 0x7a, 0x75, 0x6f, 0x4d, 0x64, 0x6c, + 0x32, 0x4e, 0x46, 0x41, 0x41, 0x41, 0x41, 0x41, 0x44, 0x6a, 0x75, 0x37, 0x36, 0x30, 0x38, 0x35, + 0x59, 0x68, 0x6d, 0x6c, 0x74, 0x31, 0x43, 0x45, 0x4f, 0x48, 0x6b, 0x77, 0x4c, 0x51, 0x41, 0x49, + 0x4b, 0x57, 0x73, 0x46, 0x57, 0x71, 0x78, 0x65, 0x4d, 0x54, 0x38, 0x53, 0x78, 0x5a, 0x6e, 0x77, + 0x70, 0x30, 0x5a, 0x4d, 0x46, 0x31, 0x6e, 0x6b, 0x36, 0x79, 0x68, 0x73, 0x32, 0x6d, 0x33, 0x41, + 0x49, 0x76, 0x64, 0x69, 0x78, 0x43, 0x4e, 0x56, 0x67, 0x74, 0x4e, 0x70, 0x51, 0x45, 0x43, 0x41, + 0x79, 0x59, 0x67, 0x41, 0x53, 0x46, 0x59, 0x49, 0x4d, 0x47, 0x55, 0x44, 0x53, 0x50, 0x32, 0x46, + 0x41, 0x51, 0x6e, 0x32, 0x4d, 0x49, 0x66, 0x50, 0x4d, 0x79, 0x37, 0x63, 0x79, 0x42, 0x5f, 0x59, + 0x33, 0x30, 0x56, 0x71, 0x69, 0x78, 0x56, 0x67, 0x47, 0x55, 0x4c, 0x54, 0x42, 0x74, 0x46, 0x6a, + 0x66, 0x52, 0x69, 0x49, 0x6c, 0x67, 0x67, 0x6a, 0x55, 0x47, 0x66, 0x51, 0x6f, 0x33, 0x5f, 0x2d, + 0x43, 0x72, 0x4d, 0x6d, 0x48, 0x33, 0x53, 0x2d, 0x5a, 0x51, 0x6b, 0x46, 0x4b, 0x57, 0x4b, 0x6e, + 0x4e, 0x42, 0x51, 0x45, 0x41, 0x4d, 0x6b, 0x46, 0x74, 0x47, 0x2d, 0x39, 0x41, 0x34, 0x7a, 0x71, + 0x57, 0x30, 0x22, 0x2c, 0x22, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, 0x61, 0x4a, + 0x53, 0x4f, 0x4e, 0x22, 0x3a, 0x22, 0x65, 0x79, 0x4a, 0x30, 0x65, 0x58, 0x42, 0x6c, 0x49, 0x6a, + 0x6f, 0x69, 0x64, 0x32, 0x56, 0x69, 0x59, 0x58, 0x56, 0x30, 0x61, 0x47, 0x34, 0x75, 0x59, 0x33, + 0x4a, 0x6c, 0x59, 0x58, 0x52, 0x6c, 0x49, 0x69, 0x77, 0x69, 0x59, 0x32, 0x68, 0x68, 0x62, 0x47, + 0x78, 0x6c, 0x62, 0x6d, 0x64, 0x6c, 0x49, 0x6a, 0x6f, 0x69, 0x51, 0x6c, 0x68, 0x58, 0x64, 0x48, + 0x68, 0x30, 0x57, 0x47, 0x78, 0x4a, 0x65, 0x46, 0x5a, 0x5a, 0x61, 0x30, 0x70, 0x48, 0x54, 0x31, + 0x64, 0x56, 0x61, 0x55, 0x56, 0x6d, 0x4d, 0x32, 0x35, 0x7a, 0x62, 0x79, 0x30, 0x32, 0x61, 0x58, + 0x5a, 0x4b, 0x64, 0x57, 0x77, 0x32, 0x59, 0x6d, 0x4e, 0x6d, 0x57, 0x48, 0x64, 0x4d, 0x56, 0x6c, + 0x46, 0x49, 0x61, 0x79, 0x49, 0x73, 0x49, 0x6d, 0x39, 0x79, 0x61, 0x57, 0x64, 0x70, 0x62, 0x69, + 0x49, 0x36, 0x49, 0x6d, 0x68, 0x30, 0x64, 0x48, 0x42, 0x7a, 0x4f, 0x69, 0x38, 0x76, 0x62, 0x47, + 0x39, 0x6a, 0x59, 0x57, 0x78, 0x6f, 0x62, 0x33, 0x4e, 0x30, 0x4f, 0x6a, 0x67, 0x77, 0x4f, 0x44, + 0x41, 0x69, 0x66, 0x51, 0x22, 0x7d, 0x7d, 0x78, 0x80, 0x80, 0x40, 0x80, 0x01, 0x37, 0x52, 0x13, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x61, 0x6c, 0x12, 0x45, 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x22, 0xfa, 0x42, 0x07, 0x72, 0x05, + 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x12, 0x4a, 0x0a, 0x22, 0x66, 0x69, + 0x64, 0x6f, 0x20, 0x6b, 0x65, 0x79, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x0b, 0x70, + 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x5d, 0x0a, 0x21, 0x56, 0x65, + 0x72, 0x69, 0x66, 0x79, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, + 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0xa6, 0x01, 0x0a, 0x12, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x55, 0x32, 0x46, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x45, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x2c, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, + 0x92, 0x41, 0x1c, 0x4a, 0x14, 0x22, 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, + 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, 0x30, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, + 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x49, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0x92, 0x41, 0x2e, 0x32, 0x2c, 0x22, 0x44, + 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x20, 0x6f, 0x6e, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x61, 0x75, 0x74, 0x68, 0x65, + 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x22, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, + 0x69, 0x6e, 0x22, 0xae, 0x07, 0x0a, 0x13, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x55, + 0x32, 0x46, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x12, 0x30, 0x0a, 0x06, 0x75, 0x32, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0x92, 0x41, 0x16, 0x4a, 0x14, 0x22, 0x31, 0x36, 0x33, 0x38, + 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, 0x30, 0x35, 0x22, 0x52, + 0x05, 0x75, 0x32, 0x66, 0x49, 0x64, 0x12, 0xaa, 0x06, 0x0a, 0x26, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, + 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x42, 0xbc, 0x05, 0x92, 0x41, 0xb8, 0x05, 0x32, 0xfa, 0x01, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, + 0x20, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x28, 0x64, 0x69, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x61, 0x72, 0x79, 0x20, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x43, + 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x29, 0x2e, 0x20, 0x47, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x65, 0x64, 0x20, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x20, 0x6d, 0x65, 0x74, 0x68, + 0x6f, 0x64, 0x73, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x4a, 0x53, 0x4f, 0x4e, 0x2c, + 0x20, 0x66, 0x6f, 0x72, 0x20, 0x75, 0x73, 0x65, 0x20, 0x69, 0x6e, 0x20, 0x61, 0x20, 0x57, 0x65, + 0x62, 0x61, 0x75, 0x74, 0x68, 0x4e, 0x20, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x20, 0x53, + 0x65, 0x65, 0x20, 0x61, 0x6c, 0x73, 0x6f, 0x3a, 0x20, 0x20, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, + 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x54, 0x52, 0x2f, + 0x77, 0x65, 0x62, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x2f, 0x23, 0x64, 0x69, 0x63, 0x74, 0x64, 0x65, + 0x66, 0x2d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x6b, 0x65, 0x79, 0x63, 0x72, 0x65, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0xb8, 0x03, 0x7b, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, + 0x65, 0x79, 0x22, 0x3a, 0x7b, 0x22, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x3a, 0x22, 0x6e, 0x6f, 0x6e, 0x65, 0x22, 0x2c, 0x22, 0x61, 0x75, 0x74, 0x68, 0x65, + 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x3a, 0x7b, 0x22, 0x75, 0x73, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, + 0x22, 0x7d, 0x2c, 0x22, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x22, 0x3a, 0x22, + 0x58, 0x61, 0x4d, 0x59, 0x77, 0x57, 0x4f, 0x5a, 0x35, 0x68, 0x6a, 0x36, 0x70, 0x77, 0x74, 0x77, + 0x4a, 0x4a, 0x6c, 0x70, 0x63, 0x49, 0x2d, 0x45, 0x78, 0x6b, 0x4f, 0x35, 0x54, 0x78, 0x65, 0x76, + 0x42, 0x4d, 0x47, 0x34, 0x52, 0x38, 0x44, 0x6f, 0x4b, 0x51, 0x51, 0x22, 0x2c, 0x22, 0x65, 0x78, + 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, + 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x74, 0x56, 0x70, 0x31, 0x51, 0x66, + 0x59, 0x68, 0x54, 0x38, 0x44, 0x6b, 0x79, 0x45, 0x48, 0x56, 0x72, 0x76, 0x37, 0x62, 0x6c, 0x6e, + 0x70, 0x41, 0x6f, 0x32, 0x59, 0x4a, 0x7a, 0x62, 0x5a, 0x67, 0x5a, 0x4e, 0x42, 0x66, 0x37, 0x7a, + 0x50, 0x73, 0x36, 0x43, 0x49, 0x22, 0x2c, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, 0x6b, 0x65, 0x79, 0x22, 0x7d, 0x5d, 0x2c, 0x22, 0x70, 0x75, + 0x62, 0x4b, 0x65, 0x79, 0x43, 0x72, 0x65, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x3a, + 0x5b, 0x7b, 0x22, 0x61, 0x6c, 0x67, 0x22, 0x3a, 0x2d, 0x37, 0x2c, 0x22, 0x74, 0x79, 0x70, 0x65, + 0x22, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, 0x6b, 0x65, 0x79, 0x22, 0x7d, 0x5d, + 0x2c, 0x22, 0x72, 0x70, 0x22, 0x3a, 0x7b, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x6c, 0x6f, 0x63, + 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x22, 0x2c, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, + 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x22, 0x7d, 0x2c, 0x22, 0x74, 0x69, 0x6d, 0x65, 0x6f, + 0x75, 0x74, 0x22, 0x3a, 0x33, 0x30, 0x30, 0x30, 0x30, 0x30, 0x2c, 0x22, 0x75, 0x73, 0x65, 0x72, + 0x22, 0x3a, 0x7b, 0x22, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, + 0x3a, 0x22, 0x54, 0x69, 0x6d, 0x20, 0x4d, 0x6f, 0x68, 0x6c, 0x6d, 0x61, 0x6e, 0x6e, 0x22, 0x2c, + 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x4d, 0x6a, 0x45, 0x31, 0x4e, 0x54, 0x6b, 0x34, 0x4d, 0x44, + 0x41, 0x77, 0x4e, 0x44, 0x59, 0x30, 0x4f, 0x54, 0x6b, 0x34, 0x4f, 0x54, 0x51, 0x77, 0x22, 0x2c, + 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x22, 0x74, 0x69, 0x6d, 0x22, 0x7d, 0x7d, 0x7d, 0x52, + 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x61, 0x6c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x22, 0xd2, 0x09, 0x0a, 0x1c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x55, 0x32, + 0x46, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, + 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1c, 0x4a, 0x14, 0x22, 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, + 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, 0x30, 0x35, 0x22, 0x78, 0xc8, 0x01, + 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x06, 0x75, + 0x32, 0x66, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x42, 0x07, + 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1c, 0x4a, 0x14, 0x22, + 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, + 0x30, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x05, 0x75, 0x32, 0x66, 0x49, 0x64, + 0x12, 0xe2, 0x07, 0x0a, 0x15, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x5f, + 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x94, 0x07, 0xfa, 0x42, 0x05, 0x8a, + 0x01, 0x02, 0x10, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x85, 0x07, 0x32, 0xb1, 0x01, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, + 0x6c, 0x20, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x2e, 0x20, 0x47, 0x65, 0x6e, + 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x20, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x20, 0x6d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x73, 0x20, 0x70, 0x6f, 0x70, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x4a, 0x53, + 0x4f, 0x4e, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x61, 0x20, + 0x57, 0x65, 0x62, 0x61, 0x75, 0x74, 0x68, 0x4e, 0x20, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, + 0x20, 0x53, 0x65, 0x65, 0x20, 0x61, 0x6c, 0x73, 0x6f, 0x3a, 0x20, 0x20, 0x68, 0x74, 0x74, 0x70, + 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x77, 0x33, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x54, + 0x52, 0x2f, 0x77, 0x65, 0x62, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x2f, 0x23, 0x70, 0x75, 0x62, 0x6c, + 0x69, 0x63, 0x6b, 0x65, 0x79, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x4a, + 0xc7, 0x05, 0x7b, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x2d, 0x6b, 0x65, 0x79, 0x22, 0x2c, 0x22, 0x69, 0x64, 0x22, 0x3a, 0x22, 0x70, 0x61, 0x77, + 0x56, 0x61, 0x72, 0x46, 0x34, 0x78, 0x50, 0x78, 0x4c, 0x46, 0x6d, 0x66, 0x43, 0x6e, 0x52, 0x6b, + 0x77, 0x58, 0x57, 0x65, 0x54, 0x72, 0x4b, 0x47, 0x7a, 0x61, 0x62, 0x63, 0x41, 0x69, 0x39, 0x32, + 0x4c, 0x45, 0x49, 0x31, 0x57, 0x43, 0x30, 0x30, 0x22, 0x2c, 0x22, 0x72, 0x61, 0x77, 0x49, 0x64, + 0x22, 0x3a, 0x22, 0x70, 0x61, 0x77, 0x56, 0x61, 0x72, 0x46, 0x34, 0x78, 0x50, 0x78, 0x4c, 0x46, + 0x6d, 0x66, 0x43, 0x6e, 0x52, 0x6b, 0x77, 0x58, 0x57, 0x65, 0x54, 0x72, 0x4b, 0x47, 0x7a, 0x61, + 0x62, 0x63, 0x41, 0x69, 0x39, 0x32, 0x4c, 0x45, 0x49, 0x31, 0x57, 0x43, 0x30, 0x30, 0x22, 0x2c, + 0x22, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x7b, 0x22, 0x61, 0x74, 0x74, + 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x3a, + 0x22, 0x6f, 0x32, 0x4e, 0x6d, 0x62, 0x58, 0x52, 0x6d, 0x63, 0x47, 0x46, 0x6a, 0x61, 0x32, 0x56, + 0x6b, 0x5a, 0x32, 0x46, 0x30, 0x64, 0x46, 0x4e, 0x30, 0x62, 0x58, 0x53, 0x69, 0x59, 0x32, 0x46, + 0x73, 0x5a, 0x79, 0x5a, 0x6a, 0x63, 0x32, 0x6c, 0x6e, 0x57, 0x45, 0x63, 0x77, 0x52, 0x51, 0x49, + 0x67, 0x52, 0x4b, 0x53, 0x33, 0x56, 0x70, 0x65, 0x45, 0x39, 0x74, 0x66, 0x45, 0x78, 0x58, 0x52, + 0x7a, 0x6b, 0x6f, 0x55, 0x4b, 0x6e, 0x47, 0x34, 0x72, 0x51, 0x57, 0x50, 0x76, 0x74, 0x53, 0x53, + 0x74, 0x34, 0x59, 0x74, 0x44, 0x47, 0x67, 0x54, 0x78, 0x33, 0x32, 0x6f, 0x43, 0x49, 0x51, 0x44, + 0x50, 0x65, 0x79, 0x2d, 0x32, 0x59, 0x4a, 0x34, 0x75, 0x49, 0x67, 0x2d, 0x51, 0x43, 0x4d, 0x34, + 0x6a, 0x6a, 0x36, 0x61, 0x45, 0x32, 0x55, 0x33, 0x74, 0x67, 0x4d, 0x46, 0x4d, 0x5f, 0x52, 0x50, + 0x37, 0x45, 0x66, 0x78, 0x36, 0x78, 0x52, 0x75, 0x33, 0x4a, 0x47, 0x68, 0x68, 0x64, 0x58, 0x52, + 0x6f, 0x52, 0x47, 0x46, 0x30, 0x59, 0x56, 0x69, 0x6b, 0x53, 0x5a, 0x59, 0x4e, 0x35, 0x59, 0x67, + 0x4f, 0x6a, 0x47, 0x68, 0x30, 0x4e, 0x42, 0x63, 0x50, 0x5a, 0x48, 0x5a, 0x67, 0x57, 0x34, 0x5f, + 0x6b, 0x72, 0x72, 0x6d, 0x69, 0x68, 0x6a, 0x4c, 0x48, 0x6d, 0x56, 0x7a, 0x7a, 0x75, 0x6f, 0x4d, + 0x64, 0x6c, 0x32, 0x4e, 0x46, 0x41, 0x41, 0x41, 0x41, 0x41, 0x44, 0x6a, 0x75, 0x37, 0x36, 0x30, + 0x38, 0x35, 0x59, 0x68, 0x6d, 0x6c, 0x74, 0x31, 0x43, 0x45, 0x4f, 0x48, 0x6b, 0x77, 0x4c, 0x51, + 0x41, 0x49, 0x4b, 0x57, 0x73, 0x46, 0x57, 0x71, 0x78, 0x65, 0x4d, 0x54, 0x38, 0x53, 0x78, 0x5a, + 0x6e, 0x77, 0x70, 0x30, 0x5a, 0x4d, 0x46, 0x31, 0x6e, 0x6b, 0x36, 0x79, 0x68, 0x73, 0x32, 0x6d, + 0x33, 0x41, 0x49, 0x76, 0x64, 0x69, 0x78, 0x43, 0x4e, 0x56, 0x67, 0x74, 0x4e, 0x70, 0x51, 0x45, + 0x43, 0x41, 0x79, 0x59, 0x67, 0x41, 0x53, 0x46, 0x59, 0x49, 0x4d, 0x47, 0x55, 0x44, 0x53, 0x50, + 0x32, 0x46, 0x41, 0x51, 0x6e, 0x32, 0x4d, 0x49, 0x66, 0x50, 0x4d, 0x79, 0x37, 0x63, 0x79, 0x42, + 0x5f, 0x59, 0x33, 0x30, 0x56, 0x71, 0x69, 0x78, 0x56, 0x67, 0x47, 0x55, 0x4c, 0x54, 0x42, 0x74, + 0x46, 0x6a, 0x66, 0x52, 0x69, 0x49, 0x6c, 0x67, 0x67, 0x6a, 0x55, 0x47, 0x66, 0x51, 0x6f, 0x33, + 0x5f, 0x2d, 0x43, 0x72, 0x4d, 0x6d, 0x48, 0x33, 0x53, 0x2d, 0x5a, 0x51, 0x6b, 0x46, 0x4b, 0x57, + 0x4b, 0x6e, 0x4e, 0x42, 0x51, 0x45, 0x41, 0x4d, 0x6b, 0x46, 0x74, 0x47, 0x2d, 0x39, 0x41, 0x34, + 0x7a, 0x71, 0x57, 0x30, 0x22, 0x2c, 0x22, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x22, 0x3a, 0x22, 0x65, 0x79, 0x4a, 0x30, 0x65, 0x58, 0x42, 0x6c, + 0x49, 0x6a, 0x6f, 0x69, 0x64, 0x32, 0x56, 0x69, 0x59, 0x58, 0x56, 0x30, 0x61, 0x47, 0x34, 0x75, + 0x59, 0x33, 0x4a, 0x6c, 0x59, 0x58, 0x52, 0x6c, 0x49, 0x69, 0x77, 0x69, 0x59, 0x32, 0x68, 0x68, + 0x62, 0x47, 0x78, 0x6c, 0x62, 0x6d, 0x64, 0x6c, 0x49, 0x6a, 0x6f, 0x69, 0x51, 0x6c, 0x68, 0x58, + 0x64, 0x48, 0x68, 0x30, 0x57, 0x47, 0x78, 0x4a, 0x65, 0x46, 0x5a, 0x5a, 0x61, 0x30, 0x70, 0x48, + 0x54, 0x31, 0x64, 0x56, 0x61, 0x55, 0x56, 0x6d, 0x4d, 0x32, 0x35, 0x7a, 0x62, 0x79, 0x30, 0x32, + 0x61, 0x58, 0x5a, 0x4b, 0x64, 0x57, 0x77, 0x32, 0x59, 0x6d, 0x4e, 0x6d, 0x57, 0x48, 0x64, 0x4d, + 0x56, 0x6c, 0x46, 0x49, 0x61, 0x79, 0x49, 0x73, 0x49, 0x6d, 0x39, 0x79, 0x61, 0x57, 0x64, 0x70, + 0x62, 0x69, 0x49, 0x36, 0x49, 0x6d, 0x68, 0x30, 0x64, 0x48, 0x42, 0x7a, 0x4f, 0x69, 0x38, 0x76, + 0x62, 0x47, 0x39, 0x6a, 0x59, 0x57, 0x78, 0x6f, 0x62, 0x33, 0x4e, 0x30, 0x4f, 0x6a, 0x67, 0x77, + 0x4f, 0x44, 0x41, 0x69, 0x66, 0x51, 0x22, 0x7d, 0x7d, 0x78, 0x80, 0x80, 0x40, 0x80, 0x01, 0x37, + 0x52, 0x13, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x43, 0x72, 0x65, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x41, 0x0a, 0x0a, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x22, 0xfa, 0x42, 0x07, 0x72, 0x05, + 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x12, 0x4a, 0x0a, 0x22, 0x66, 0x69, + 0x64, 0x6f, 0x20, 0x6b, 0x65, 0x79, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x09, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x59, 0x0a, 0x1d, 0x56, 0x65, 0x72, 0x69, + 0x66, 0x79, 0x55, 0x32, 0x46, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, + 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x22, 0x5c, 0x0a, 0x13, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x54, + 0x4f, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x75, 0x73, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x42, 0x07, + 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1c, 0x4a, 0x14, 0x22, + 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, + 0x30, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, + 0x64, 0x22, 0xb7, 0x02, 0x0a, 0x14, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x54, 0x4f, + 0x54, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x12, 0xa3, 0x01, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x90, 0x01, 0x92, 0x41, 0x8c, 0x01, 0x4a, 0x89, 0x01, 0x22, 0x6f, 0x74, 0x70, + 0x61, 0x75, 0x74, 0x68, 0x3a, 0x2f, 0x2f, 0x74, 0x6f, 0x74, 0x70, 0x2f, 0x5a, 0x49, 0x54, 0x41, + 0x44, 0x45, 0x4c, 0x3a, 0x67, 0x69, 0x67, 0x69, 0x40, 0x61, 0x63, 0x6d, 0x65, 0x2e, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x3f, 0x61, 0x6c, 0x67, 0x6f, + 0x72, 0x69, 0x74, 0x68, 0x6d, 0x3d, 0x53, 0x48, 0x41, 0x31, 0x26, 0x64, 0x69, 0x67, 0x69, 0x74, + 0x73, 0x3d, 0x36, 0x26, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x3d, 0x5a, 0x49, 0x54, 0x41, 0x44, + 0x45, 0x4c, 0x26, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x3d, 0x33, 0x30, 0x26, 0x73, 0x65, 0x63, + 0x72, 0x65, 0x74, 0x3d, 0x54, 0x4a, 0x4f, 0x50, 0x57, 0x53, 0x44, 0x59, 0x49, 0x4c, 0x4c, 0x48, + 0x58, 0x46, 0x56, 0x34, 0x4d, 0x4c, 0x4b, 0x4e, 0x4e, 0x4a, 0x4f, 0x57, 0x46, 0x47, 0x37, 0x56, + 0x53, 0x44, 0x43, 0x4b, 0x22, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x3f, 0x0a, 0x06, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0x92, 0x41, 0x24, 0x4a, + 0x22, 0x22, 0x54, 0x4a, 0x4f, 0x50, 0x57, 0x53, 0x44, 0x59, 0x49, 0x4c, 0x4c, 0x48, 0x58, 0x46, + 0x56, 0x34, 0x4d, 0x4c, 0x4b, 0x4e, 0x4e, 0x4a, 0x4f, 0x57, 0x46, 0x47, 0x37, 0x56, 0x53, 0x44, + 0x43, 0x4b, 0x22, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0xbc, 0x01, 0x0a, 0x1d, + 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x54, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, + 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, + 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1c, + 0x4a, 0x14, 0x22, 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, + 0x33, 0x32, 0x37, 0x30, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x40, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, + 0x02, 0x92, 0x41, 0x30, 0x32, 0x24, 0x43, 0x6f, 0x64, 0x65, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x54, 0x4f, 0x54, 0x50, 0x20, 0x61, 0x70, 0x70, + 0x20, 0x6f, 0x72, 0x20, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4a, 0x08, 0x22, 0x31, 0x32, 0x33, + 0x34, 0x35, 0x36, 0x22, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x5a, 0x0a, 0x1e, 0x56, 0x65, + 0x72, 0x69, 0x66, 0x79, 0x54, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, + 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x59, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x4f, 0x54, 0x50, + 0x53, 0x4d, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x75, 0x73, + 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x42, 0x07, + 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1c, 0x4a, 0x14, 0x22, + 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, + 0x30, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, + 0x64, 0x22, 0x4d, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x4f, 0x54, 0x50, 0x53, 0x4d, 0x53, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, + 0x22, 0x5c, 0x0a, 0x13, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x54, 0x50, 0x53, 0x4d, 0x53, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, + 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1c, 0x4a, 0x14, 0x22, 0x31, 0x36, 0x33, + 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, 0x30, 0x35, 0x22, + 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x50, + 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x54, 0x50, 0x53, 0x4d, 0x53, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, + 0x22, 0x5b, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x4f, 0x54, 0x50, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, + 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1c, 0x4a, 0x14, 0x22, 0x31, 0x36, 0x33, 0x38, + 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, 0x30, 0x35, 0x22, 0x78, + 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x4f, 0x0a, + 0x13, 0x41, 0x64, 0x64, 0x4f, 0x54, 0x50, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x5e, + 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x54, 0x50, 0x45, 0x6d, 0x61, 0x69, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, + 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1c, 0x4a, 0x14, 0x22, 0x31, 0x36, 0x33, + 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, 0x30, 0x35, 0x22, + 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x52, + 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x54, 0x50, 0x45, 0x6d, 0x61, 0x69, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x73, 0x22, 0x9f, 0x02, 0x0a, 0x24, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x73, + 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x07, 0x75, + 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0xfa, 0x42, + 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1c, 0x4a, 0x14, + 0x22, 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, + 0x37, 0x30, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, + 0x49, 0x64, 0x12, 0x4f, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x6e, 0x64, + 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x64, 0x4c, + 0x69, 0x6e, 0x6b, 0x12, 0x55, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, + 0x65, 0x74, 0x75, 0x72, 0x6e, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x0a, + 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x6d, 0x65, + 0x64, 0x69, 0x75, 0x6d, 0x22, 0xa5, 0x02, 0x0a, 0x25, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, + 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, + 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0xb8, 0x01, 0x0a, 0x04, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, + 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x71, 0x92, 0x41, 0x6e, 0x32, 0x6c, 0x22, 0x6f, 0x6e, 0x65, + 0x20, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x63, 0x6f, 0x64, 0x65, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x3b, + 0x20, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x20, 0x72, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x77, 0x69, 0x74, 0x68, + 0x6f, 0x75, 0x74, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x48, 0x00, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, + 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x89, 0x02, 0x0a, + 0x22, 0x53, 0x74, 0x61, 0x72, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x63, 0x0a, 0x06, 0x69, 0x64, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x4c, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x92, + 0x41, 0x3f, 0x32, 0x21, 0x49, 0x44, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, + 0x69, 0x6e, 0x67, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x4a, 0x14, 0x22, 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, + 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x37, 0x30, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, + 0x01, 0x52, 0x05, 0x69, 0x64, 0x70, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x04, 0x75, 0x72, 0x6c, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x64, + 0x69, 0x72, 0x65, 0x63, 0x74, 0x55, 0x52, 0x4c, 0x73, 0x48, 0x00, 0x52, 0x04, 0x75, 0x72, 0x6c, + 0x73, 0x12, 0x3a, 0x0a, 0x04, 0x6c, 0x64, 0x61, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x24, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x44, 0x41, 0x50, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x61, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x64, 0x61, 0x70, 0x42, 0x09, 0x0a, + 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xcd, 0x03, 0x0a, 0x23, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0xc5, 0x01, 0x0a, 0x08, 0x61, + 0x75, 0x74, 0x68, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0xa7, 0x01, + 0x92, 0x41, 0xa3, 0x01, 0x32, 0x27, 0x55, 0x52, 0x4c, 0x20, 0x74, 0x6f, 0x20, 0x77, 0x68, 0x69, + 0x63, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x20, 0x73, 0x68, + 0x6f, 0x75, 0x6c, 0x64, 0x20, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x4a, 0x78, 0x22, + 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x2f, 0x6f, 0x61, + 0x75, 0x74, 0x68, 0x32, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x3f, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x3d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x44, 0x26, + 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x3d, 0x68, 0x74, 0x74, 0x70, 0x73, 0x25, 0x33, + 0x41, 0x25, 0x32, 0x46, 0x25, 0x32, 0x46, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x25, 0x32, 0x46, 0x69, 0x64, 0x70, 0x73, 0x25, 0x32, 0x46, 0x63, 0x61, + 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x22, 0x48, 0x00, 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, 0x55, + 0x72, 0x6c, 0x12, 0x5c, 0x0a, 0x0a, 0x69, 0x64, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x44, 0x50, + 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x1b, 0x92, 0x41, 0x18, 0x32, 0x16, 0x49, 0x44, 0x50, + 0x20, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x69, 0x64, 0x70, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x12, 0x39, 0x0a, 0x09, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0c, 0x42, 0x1a, 0x92, 0x41, 0x17, 0x32, 0x15, 0x50, 0x4f, 0x53, 0x54, 0x20, 0x63, + 0x61, 0x6c, 0x6c, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, + 0x00, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x42, 0x0b, 0x0a, 0x09, 0x6e, + 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x22, 0x91, 0x03, 0x0a, 0x25, 0x52, 0x65, 0x74, + 0x72, 0x69, 0x65, 0x76, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0xa5, 0x01, 0x0a, 0x0d, 0x69, 0x64, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x80, 0x01, 0xfa, 0x42, 0x07, + 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0x92, 0x41, 0x73, 0x32, 0x55, 0x49, 0x44, 0x20, 0x6f, + 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x64, 0x70, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x2c, 0x20, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x6c, 0x79, 0x20, 0x72, 0x65, 0x74, + 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x20, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x20, 0x6f, 0x66, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x49, 0x44, 0x50, 0x20, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, + 0x6b, 0x4a, 0x14, 0x22, 0x31, 0x36, 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, + 0x34, 0x33, 0x32, 0x37, 0x30, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x0b, 0x69, + 0x64, 0x70, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0xbf, 0x01, 0x0a, 0x10, 0x69, + 0x64, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x94, 0x01, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, + 0xc8, 0x01, 0x92, 0x41, 0x86, 0x01, 0x32, 0x58, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x20, 0x6f, 0x66, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x64, 0x70, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2c, + 0x20, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x6c, 0x79, 0x20, 0x72, 0x65, 0x74, 0x75, + 0x72, 0x6e, 0x65, 0x64, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x20, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x20, 0x6f, 0x66, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x49, 0x44, 0x50, 0x20, 0x63, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, + 0x4a, 0x24, 0x22, 0x53, 0x4a, 0x4b, 0x4c, 0x33, 0x69, 0x6f, 0x49, 0x44, 0x70, 0x6f, 0x33, 0x34, + 0x32, 0x69, 0x6f, 0x71, 0x77, 0x39, 0x38, 0x66, 0x6a, 0x70, 0x33, 0x73, 0x64, 0x66, 0x33, 0x32, + 0x77, 0x61, 0x68, 0x62, 0x3d, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x0e, 0x69, 0x64, + 0x70, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9a, 0x02, 0x0a, + 0x26, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x12, 0x4c, 0x0a, 0x0f, 0x69, 0x64, 0x70, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x7a, 0x69, 0x74, + 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2e, 0x49, 0x44, 0x50, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0e, 0x69, 0x64, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x68, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x4f, 0x92, 0x41, 0x4c, 0x32, 0x34, 0x49, 0x44, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x69, 0x6e, 0x20, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, + 0x20, 0x69, 0x66, 0x20, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x20, 0x75, 0x73, 0x65, + 0x72, 0x20, 0x69, 0x73, 0x20, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x4a, 0x14, 0x22, 0x31, 0x36, + 0x33, 0x38, 0x34, 0x30, 0x37, 0x37, 0x36, 0x38, 0x33, 0x35, 0x34, 0x33, 0x32, 0x33, 0x34, 0x35, + 0x22, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x92, 0x01, 0x0a, 0x11, 0x41, 0x64, + 0x64, 0x49, 0x44, 0x50, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x44, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x2b, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, + 0x41, 0x1b, 0x4a, 0x13, 0x22, 0x36, 0x39, 0x36, 0x32, 0x39, 0x30, 0x32, 0x36, 0x38, 0x30, 0x36, + 0x34, 0x38, 0x39, 0x34, 0x35, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, + 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x69, 0x64, 0x70, 0x5f, 0x6c, 0x69, 0x6e, + 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x49, 0x44, + 0x50, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x07, 0x69, 0x64, 0x70, 0x4c, 0x69, 0x6e, 0x6b, 0x22, 0x4e, + 0x0a, 0x12, 0x41, 0x64, 0x64, 0x49, 0x44, 0x50, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x82, + 0x02, 0x0a, 0x14, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, + 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1b, 0x4a, 0x13, 0x22, 0x36, 0x39, 0x36, + 0x32, 0x39, 0x30, 0x32, 0x36, 0x38, 0x30, 0x36, 0x34, 0x38, 0x39, 0x34, 0x35, 0x35, 0x22, 0x78, + 0xc8, 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x49, 0x0a, + 0x09, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x61, 0x73, 0x73, 0x77, + 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x65, 0x74, 0x4c, 0x69, 0x6e, 0x6b, 0x48, 0x00, 0x52, 0x08, + 0x73, 0x65, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x4f, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x75, + 0x72, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x72, + 0x65, 0x74, 0x75, 0x72, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x6d, 0x65, 0x64, + 0x69, 0x75, 0x6d, 0x22, 0x99, 0x01, 0x0a, 0x15, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, + 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, + 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x30, 0x0a, 0x11, 0x76, 0x65, 0x72, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x76, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x22, + 0x97, 0x03, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, + 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x1b, 0x4a, 0x13, 0x22, 0x36, 0x39, 0x36, 0x32, + 0x39, 0x30, 0x32, 0x36, 0x38, 0x30, 0x36, 0x34, 0x38, 0x39, 0x34, 0x35, 0x35, 0x22, 0x78, 0xc8, + 0x01, 0x80, 0x01, 0x01, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x0c, + 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, + 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, + 0x64, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x56, + 0x0a, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, + 0x01, 0x18, 0xc8, 0x01, 0xe0, 0x41, 0x02, 0x92, 0x41, 0x19, 0x4a, 0x11, 0x22, 0x53, 0x65, 0x63, + 0x72, 0x33, 0x74, 0x50, 0x34, 0x73, 0x73, 0x77, 0x30, 0x72, 0x64, 0x21, 0x22, 0x78, 0xc8, 0x01, + 0x80, 0x01, 0x01, 0x48, 0x00, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x90, 0x01, 0x0a, 0x11, 0x76, 0x65, 0x72, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x61, 0xfa, 0x42, 0x06, 0x72, 0x04, 0x10, 0x01, 0x18, 0x14, 0xe0, 0x41, 0x02, + 0x92, 0x41, 0x52, 0x32, 0x3f, 0x22, 0x74, 0x68, 0x65, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x63, 0x6f, 0x64, 0x65, 0x20, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x65, 0x64, 0x20, 0x64, 0x75, 0x72, 0x69, 0x6e, 0x67, 0x20, 0x70, 0x61, 0x73, + 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x72, 0x65, 0x73, 0x65, 0x74, 0x20, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x4a, 0x0a, 0x22, 0x53, 0x4b, 0x4a, 0x64, 0x33, 0x34, 0x32, 0x6b, 0x22, + 0x78, 0x14, 0x80, 0x01, 0x01, 0x48, 0x00, 0x52, 0x10, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x76, 0x65, 0x72, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4f, 0x0a, 0x13, 0x53, 0x65, 0x74, + 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x38, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x6c, 0x0a, 0x24, 0x4c, 0x69, + 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x44, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x2b, 0xfa, 0x42, 0x07, 0x72, 0x05, 0x10, 0x01, 0x18, 0xc8, 0x01, 0xe0, + 0x41, 0x02, 0x92, 0x41, 0x1b, 0x4a, 0x13, 0x22, 0x36, 0x39, 0x36, 0x32, 0x39, 0x30, 0x32, 0x36, + 0x38, 0x30, 0x36, 0x34, 0x38, 0x39, 0x34, 0x35, 0x35, 0x22, 0x78, 0xc8, 0x01, 0x80, 0x01, 0x01, + 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0xc0, 0x01, 0x0a, 0x25, 0x4c, 0x69, 0x73, + 0x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x6f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, + 0x12, 0x59, 0x0a, 0x11, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, + 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2a, 0xd6, 0x02, 0x0a, 0x18, + 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x26, 0x41, 0x55, 0x54, 0x48, + 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, + 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x27, 0x0a, 0x23, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, + 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52, 0x44, 0x10, 0x01, 0x12, 0x26, 0x0a, + 0x22, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x41, 0x53, 0x53, + 0x4b, 0x45, 0x59, 0x10, 0x02, 0x12, 0x22, 0x0a, 0x1e, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, + 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x49, 0x44, 0x50, 0x10, 0x03, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x55, 0x54, + 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x45, 0x54, 0x48, + 0x4f, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x4f, 0x54, 0x50, 0x10, 0x04, 0x12, 0x22, + 0x0a, 0x1e, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, + 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x32, 0x46, + 0x10, 0x05, 0x12, 0x26, 0x0a, 0x22, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x4f, 0x54, 0x50, 0x5f, 0x53, 0x4d, 0x53, 0x10, 0x06, 0x12, 0x28, 0x0a, 0x24, 0x41, 0x55, + 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x45, 0x54, + 0x48, 0x4f, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x54, 0x50, 0x5f, 0x45, 0x4d, 0x41, + 0x49, 0x4c, 0x10, 0x07, 0x32, 0xb9, 0x3d, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0xa5, 0x03, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x48, 0x75, 0x6d, 0x61, + 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x28, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x64, 0x64, 0x48, + 0x75, 0x6d, 0x61, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x29, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x64, 0x64, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbf, 0x02, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x18, 0x22, 0x13, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, + 0x72, 0x73, 0x2f, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x21, 0x0a, + 0x1a, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x77, 0x72, 0x69, 0x74, 0x65, 0x1a, 0x0c, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x03, 0x08, 0xc9, 0x01, + 0x92, 0x41, 0xf8, 0x01, 0x12, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x61, 0x20, 0x75, + 0x73, 0x65, 0x72, 0x20, 0x28, 0x48, 0x75, 0x6d, 0x61, 0x6e, 0x29, 0x1a, 0xd1, 0x01, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x2f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x20, 0x61, 0x20, 0x6e, 0x65, + 0x77, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x74, 0x79, 0x70, 0x65, 0x20, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x2e, 0x20, 0x54, 0x68, 0x65, 0x20, + 0x6e, 0x65, 0x77, 0x6c, 0x79, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x75, 0x73, + 0x65, 0x72, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x67, 0x65, 0x74, 0x20, 0x61, 0x20, 0x76, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x65, 0x6d, 0x61, 0x69, 0x6c, + 0x20, 0x69, 0x66, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x65, + 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x20, 0x69, 0x73, 0x20, + 0x6e, 0x6f, 0x74, 0x20, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x20, 0x61, 0x73, 0x20, 0x76, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x79, 0x6f, 0x75, 0x20, 0x64, + 0x69, 0x64, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, + 0x74, 0x6f, 0x20, 0x62, 0x65, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x2e, 0x4a, + 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xec, 0x02, 0x0a, + 0x08, 0x53, 0x65, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x24, 0x2e, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, + 0x53, 0x65, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x25, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x92, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, + 0x1d, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, + 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x3a, 0x01, + 0x2a, 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0xd1, 0x01, 0x12, 0x15, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x65, 0x6d, 0x61, 0x69, + 0x6c, 0x1a, 0xaa, 0x01, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x65, + 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x20, 0x6f, 0x66, 0x20, + 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x20, 0x49, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x20, 0x69, 0x73, 0x20, 0x73, 0x65, 0x74, 0x20, 0x74, 0x6f, 0x20, 0x6e, + 0x6f, 0x74, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x2c, 0x20, 0x61, 0x20, 0x76, + 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x63, 0x6f, 0x64, 0x65, + 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x65, 0x64, 0x2c, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, 0x63, 0x61, 0x6e, 0x20, 0x62, 0x65, + 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, + 0x20, 0x6f, 0x72, 0x20, 0x73, 0x65, 0x6e, 0x74, 0x20, 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x75, 0x73, 0x65, 0x72, 0x20, 0x62, 0x79, 0x20, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x4a, 0x0b, + 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xf4, 0x01, 0x0a, 0x0b, + 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x27, 0x2e, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, + 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, + 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, + 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x22, 0x24, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, + 0x2f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x3a, 0x01, 0x2a, + 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0x4a, 0x12, 0x10, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x1a, 0x29, 0x56, 0x65, 0x72, 0x69, + 0x66, 0x79, 0x20, 0x74, 0x68, 0x65, 0x20, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x77, 0x69, 0x74, + 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x20, + 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, + 0x4f, 0x4b, 0x12, 0xe3, 0x02, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, + 0x24, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x74, 0x50, + 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x89, 0x02, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, + 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x70, + 0x68, 0x6f, 0x6e, 0x65, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, + 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0xc8, 0x01, + 0x12, 0x12, 0x53, 0x65, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x70, + 0x68, 0x6f, 0x6e, 0x65, 0x1a, 0xa4, 0x01, 0x53, 0x65, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, + 0x68, 0x6f, 0x6e, 0x65, 0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x20, 0x6f, 0x66, 0x20, 0x61, + 0x20, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x20, 0x49, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x20, 0x69, 0x73, 0x20, 0x73, 0x65, 0x74, 0x20, 0x74, 0x6f, 0x20, 0x6e, 0x6f, + 0x74, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x2c, 0x20, 0x61, 0x20, 0x76, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x63, 0x6f, 0x64, 0x65, 0x20, + 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, + 0x64, 0x2c, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, 0x63, 0x61, 0x6e, 0x20, 0x62, 0x65, 0x20, + 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, + 0x6f, 0x72, 0x20, 0x73, 0x65, 0x6e, 0x74, 0x20, 0x74, 0x6f, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, + 0x73, 0x65, 0x72, 0x20, 0x62, 0x79, 0x20, 0x73, 0x6d, 0x73, 0x2e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, + 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xf4, 0x01, 0x0a, 0x0b, 0x56, 0x65, 0x72, + 0x69, 0x66, 0x79, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x27, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x56, + 0x65, 0x72, 0x69, 0x66, 0x79, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x28, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x50, 0x68, + 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x29, 0x22, 0x24, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, + 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x70, 0x68, + 0x6f, 0x6e, 0x65, 0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, + 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x64, 0x92, 0x41, 0x4a, 0x12, 0x10, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x1a, 0x29, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x20, 0x63, 0x6f, 0x64, + 0x65, 0x2e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, + 0x8d, 0x03, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, + 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2c, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, + 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9e, + 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x22, 0x20, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, + 0x2f, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x73, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x11, + 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x92, 0x41, 0xda, 0x01, 0x12, 0x2c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, + 0x20, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x75, + 0x73, 0x65, 0x72, 0x1a, 0x9c, 0x01, 0x53, 0x74, 0x61, 0x72, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, + 0x61, 0x20, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x20, + 0x75, 0x73, 0x65, 0x72, 0x2c, 0x20, 0x61, 0x73, 0x20, 0x61, 0x20, 0x72, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x20, 0x6b, + 0x65, 0x79, 0x20, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x20, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x61, + 0x72, 0x65, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x2c, 0x20, 0x77, 0x68, 0x69, + 0x63, 0x68, 0x20, 0x61, 0x72, 0x65, 0x20, 0x75, 0x73, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x76, + 0x65, 0x72, 0x69, 0x66, 0x79, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, + 0x79, 0x2e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, + 0xc8, 0x02, 0x0a, 0x19, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, + 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x2e, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, + 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, + 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, + 0x79, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbb, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x22, 0x2d, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, + 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x70, + 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x73, 0x2f, 0x7b, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, + 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, + 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0x6b, 0x12, + 0x1b, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x20, 0x61, 0x20, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, + 0x79, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x3f, 0x56, 0x65, + 0x72, 0x69, 0x66, 0x79, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, + 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x77, 0x69, + 0x74, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x20, 0x6b, 0x65, + 0x79, 0x20, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x2e, 0x4a, 0x0b, 0x0a, + 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0x97, 0x03, 0x0a, 0x1d, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x39, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6e, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0xfe, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x22, 0x32, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x73, 0x2f, 0x72, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, + 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x16, 0x0a, 0x14, 0x0a, 0x12, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x70, 0x61, 0x73, 0x73, 0x6b, 0x65, 0x79, 0x2e, 0x77, 0x72, 0x69, 0x74, 0x65, 0x92, 0x41, 0xa3, + 0x01, 0x12, 0x2d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x61, 0x20, 0x70, 0x61, 0x73, 0x73, + 0x6b, 0x65, 0x79, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x20, 0x6c, 0x69, 0x6e, 0x6b, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, + 0x1a, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x20, 0x61, 0x20, 0x70, 0x61, 0x73, 0x73, 0x6b, + 0x65, 0x79, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, + 0x6c, 0x69, 0x6e, 0x6b, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, 0x69, 0x6e, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x73, 0x20, 0x61, 0x20, 0x63, 0x6f, 0x64, 0x65, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x65, + 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x20, 0x69, 0x74, 0x20, + 0x6f, 0x72, 0x20, 0x73, 0x65, 0x6e, 0x64, 0x20, 0x69, 0x74, 0x20, 0x74, 0x6f, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, + 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0x84, 0x03, 0x0a, 0x0b, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, + 0x72, 0x55, 0x32, 0x46, 0x12, 0x27, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, + 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x65, 0x72, 0x55, 0x32, 0x46, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x55, 0x32, 0x46, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa1, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, + 0x22, 0x1b, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, + 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x75, 0x32, 0x66, 0x3a, 0x01, 0x2a, + 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0xe2, 0x01, 0x12, 0x30, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x61, 0x20, 0x75, 0x32, 0x66, 0x20, 0x74, 0x6f, 0x6b, 0x65, 0x6e, + 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x1a, 0xa0, 0x01, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x61, 0x20, 0x75, 0x32, 0x66, 0x20, 0x74, 0x6f, + 0x6b, 0x65, 0x6e, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x2c, 0x20, + 0x61, 0x73, 0x20, 0x61, 0x20, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x20, 0x6b, 0x65, 0x79, 0x20, 0x63, 0x72, 0x65, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x20, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x61, 0x72, 0x65, 0x20, 0x72, 0x65, 0x74, + 0x75, 0x72, 0x6e, 0x65, 0x64, 0x2c, 0x20, 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, 0x61, 0x72, 0x65, + 0x20, 0x75, 0x73, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x75, 0x32, 0x66, 0x20, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2e, 0x4a, 0x0b, + 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xb7, 0x02, 0x0a, 0x15, + 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x55, 0x32, 0x46, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x56, 0x65, 0x72, 0x69, + 0x66, 0x79, 0x55, 0x32, 0x46, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, + 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x56, + 0x65, 0x72, 0x69, 0x66, 0x79, 0x55, 0x32, 0x46, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb6, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x22, 0x24, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, + 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x75, + 0x32, 0x66, 0x2f, 0x7b, 0x75, 0x32, 0x66, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, + 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x64, 0x92, 0x41, 0x6f, 0x12, 0x1d, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x20, 0x61, + 0x20, 0x75, 0x32, 0x66, 0x20, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, + 0x20, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x41, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x75, 0x32, 0x66, 0x20, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x20, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x20, 0x6b, 0x65, 0x79, 0x20, 0x63, 0x72, 0x65, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x2e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, + 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xf6, 0x02, 0x0a, 0x0c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x65, 0x72, 0x54, 0x4f, 0x54, 0x50, 0x12, 0x28, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x65, 0x72, 0x54, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x54, + 0x4f, 0x54, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x90, 0x02, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, + 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x74, 0x6f, + 0x74, 0x70, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, + 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0xd0, 0x01, 0x12, 0x35, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x61, 0x20, 0x54, 0x4f, 0x54, 0x50, + 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, + 0x20, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x89, 0x01, 0x53, 0x74, 0x61, 0x72, 0x74, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, + 0x66, 0x20, 0x61, 0x20, 0x54, 0x4f, 0x54, 0x50, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x6f, 0x72, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x2c, 0x20, 0x61, + 0x73, 0x20, 0x61, 0x20, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x20, 0x61, 0x20, 0x73, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x2c, 0x20, + 0x77, 0x68, 0x69, 0x63, 0x68, 0x20, 0x69, 0x73, 0x20, 0x75, 0x73, 0x65, 0x64, 0x20, 0x74, 0x6f, + 0x20, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x20, 0x61, 0x20, 0x54, 0x4f, + 0x54, 0x50, 0x20, 0x61, 0x70, 0x70, 0x20, 0x6f, 0x72, 0x20, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, + 0x2e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xb0, + 0x02, 0x0a, 0x16, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x54, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, + 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x54, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x54, 0x4f, 0x54, 0x50, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0xac, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x22, 0x23, 0x2f, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x74, 0x6f, 0x74, 0x70, 0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, + 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, + 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0x66, 0x12, 0x22, 0x56, 0x65, 0x72, + 0x69, 0x66, 0x79, 0x20, 0x61, 0x20, 0x54, 0x4f, 0x54, 0x50, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x6f, 0x72, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x1a, + 0x33, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x20, 0x74, 0x68, 0x65, 0x20, 0x54, 0x4f, 0x54, 0x50, + 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x77, 0x69, + 0x74, 0x68, 0x20, 0x61, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x20, 0x63, + 0x6f, 0x64, 0x65, 0x2e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, + 0x4b, 0x12, 0xa1, 0x03, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x4f, 0x54, 0x50, 0x53, 0x4d, 0x53, 0x12, + 0x25, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x64, 0x64, 0x4f, 0x54, 0x50, 0x53, 0x4d, 0x53, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x64, 0x64, + 0x4f, 0x54, 0x50, 0x53, 0x4d, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc4, + 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x22, 0x1f, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, + 0x2f, 0x6f, 0x74, 0x70, 0x5f, 0x73, 0x6d, 0x73, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x11, 0x0a, + 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x92, 0x41, 0x81, 0x02, 0x12, 0x16, 0x41, 0x64, 0x64, 0x20, 0x4f, 0x54, 0x50, 0x20, 0x53, 0x4d, + 0x53, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x1a, 0xd9, 0x01, 0x41, + 0x64, 0x64, 0x20, 0x61, 0x20, 0x6e, 0x65, 0x77, 0x20, 0x4f, 0x6e, 0x65, 0x2d, 0x54, 0x69, 0x6d, + 0x65, 0x2d, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x28, 0x4f, 0x54, 0x50, 0x29, + 0x20, 0x53, 0x4d, 0x53, 0x20, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x20, 0x74, 0x6f, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x20, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x20, 0x4f, 0x54, 0x50, 0x20, 0x53, 0x4d, 0x53, 0x20, 0x77, + 0x69, 0x6c, 0x6c, 0x20, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, + 0x73, 0x65, 0x72, 0x20, 0x74, 0x6f, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x20, 0x61, 0x20, + 0x4f, 0x54, 0x50, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, 0x61, 0x74, + 0x65, 0x73, 0x74, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x20, 0x70, 0x68, 0x6f, + 0x6e, 0x65, 0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x2e, 0x20, 0x54, 0x68, 0x65, 0x20, 0x70, + 0x68, 0x6f, 0x6e, 0x65, 0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x20, 0x68, 0x61, 0x73, 0x20, + 0x74, 0x6f, 0x20, 0x62, 0x65, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x20, 0x74, + 0x6f, 0x20, 0x61, 0x64, 0x64, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x20, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, + 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0x9f, 0x03, 0x0a, 0x0c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x4f, 0x54, 0x50, 0x53, 0x4d, 0x53, 0x12, 0x28, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x4f, 0x54, 0x50, 0x53, 0x4d, 0x53, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x29, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x54, 0x50, + 0x53, 0x4d, 0x53, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb9, 0x02, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x21, 0x2a, 0x1f, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, + 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x6f, 0x74, + 0x70, 0x5f, 0x73, 0x6d, 0x73, 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, + 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0xf9, 0x01, 0x12, 0x2e, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x20, 0x4f, 0x6e, 0x65, 0x2d, 0x54, 0x69, 0x6d, 0x65, 0x2d, + 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x28, 0x4f, 0x54, 0x50, 0x29, 0x20, 0x53, + 0x4d, 0x53, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x1a, 0xb9, + 0x01, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x75, 0x72, 0x65, 0x64, 0x20, 0x4f, 0x6e, 0x65, 0x2d, 0x54, 0x69, 0x6d, 0x65, 0x2d, + 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x28, 0x4f, 0x54, 0x50, 0x29, 0x20, 0x53, + 0x4d, 0x53, 0x20, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x20, 0x75, + 0x73, 0x65, 0x72, 0x2e, 0x20, 0x41, 0x73, 0x20, 0x6f, 0x6e, 0x6c, 0x79, 0x20, 0x6f, 0x6e, 0x65, + 0x20, 0x4f, 0x54, 0x50, 0x20, 0x53, 0x4d, 0x53, 0x20, 0x70, 0x65, 0x72, 0x20, 0x75, 0x73, 0x65, + 0x72, 0x20, 0x69, 0x73, 0x20, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x2c, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x6e, 0x6f, 0x74, 0x20, + 0x68, 0x61, 0x76, 0x65, 0x20, 0x4f, 0x54, 0x50, 0x20, 0x53, 0x4d, 0x53, 0x20, 0x61, 0x73, 0x20, + 0x61, 0x20, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x2d, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x20, + 0x61, 0x66, 0x74, 0x65, 0x72, 0x77, 0x61, 0x72, 0x64, 0x2e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, + 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xa1, 0x03, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x4f, + 0x54, 0x50, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x27, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x64, + 0x64, 0x4f, 0x54, 0x50, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x28, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x64, 0x64, 0x4f, 0x54, 0x50, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbe, 0x02, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x26, 0x22, 0x21, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, + 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x6f, 0x74, 0x70, + 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, + 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, + 0xf9, 0x01, 0x12, 0x18, 0x41, 0x64, 0x64, 0x20, 0x4f, 0x54, 0x50, 0x20, 0x45, 0x6d, 0x61, 0x69, + 0x6c, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x1a, 0xcf, 0x01, 0x41, + 0x64, 0x64, 0x20, 0x61, 0x20, 0x6e, 0x65, 0x77, 0x20, 0x4f, 0x6e, 0x65, 0x2d, 0x54, 0x69, 0x6d, + 0x65, 0x2d, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x28, 0x4f, 0x54, 0x50, 0x29, + 0x20, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x20, 0x74, 0x6f, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x64, 0x20, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x20, 0x4f, 0x54, 0x50, 0x20, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x74, 0x6f, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, + 0x79, 0x20, 0x61, 0x20, 0x4f, 0x54, 0x50, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, + 0x20, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x2e, 0x20, 0x54, 0x68, 0x65, 0x20, 0x65, 0x6d, 0x61, 0x69, + 0x6c, 0x20, 0x68, 0x61, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x62, 0x65, 0x20, 0x76, 0x65, 0x72, 0x69, + 0x66, 0x69, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x64, 0x64, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x20, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x4a, 0x0b, + 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xaf, 0x03, 0x0a, 0x0e, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x54, 0x50, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2a, + 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x54, 0x50, 0x45, 0x6d, + 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x7a, 0x69, 0x74, + 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4f, 0x54, 0x50, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc3, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, + 0x2a, 0x21, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, + 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x6f, 0x74, 0x70, 0x5f, 0x65, 0x6d, + 0x61, 0x69, 0x6c, 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, + 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0x81, 0x02, 0x12, 0x30, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x20, 0x4f, 0x6e, 0x65, 0x2d, 0x54, 0x69, 0x6d, 0x65, 0x2d, 0x50, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x28, 0x4f, 0x54, 0x50, 0x29, 0x20, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x1a, 0xbf, + 0x01, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x75, 0x72, 0x65, 0x64, 0x20, 0x4f, 0x6e, 0x65, 0x2d, 0x54, 0x69, 0x6d, 0x65, 0x2d, + 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x28, 0x4f, 0x54, 0x50, 0x29, 0x20, 0x45, + 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x20, 0x6f, 0x66, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x20, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x20, 0x41, 0x73, 0x20, 0x6f, 0x6e, 0x6c, 0x79, 0x20, 0x6f, + 0x6e, 0x65, 0x20, 0x4f, 0x54, 0x50, 0x20, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x70, 0x65, 0x72, + 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, + 0x2c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, + 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x4f, 0x54, 0x50, 0x20, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x20, 0x61, 0x73, 0x20, 0x61, 0x20, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x2d, 0x66, + 0x61, 0x63, 0x74, 0x6f, 0x72, 0x20, 0x61, 0x66, 0x74, 0x65, 0x72, 0x77, 0x61, 0x72, 0x64, 0x2e, + 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0xd2, 0x02, + 0x0a, 0x1b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x2e, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x74, 0x61, + 0x72, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0xbf, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x22, 0x13, 0x2f, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2f, 0x69, 0x64, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x01, + 0x2a, 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0x88, 0x01, 0x12, 0x24, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x20, 0x66, 0x6c, 0x6f, 0x77, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x1a, 0x53, 0x53, 0x74, 0x61, 0x72, 0x74, 0x20, 0x61, 0x20, 0x66, 0x6c, 0x6f, 0x77, 0x20, 0x77, + 0x69, 0x74, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2c, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x65, 0x78, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x20, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2c, 0x20, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x72, 0x20, 0x6c, 0x69, + 0x6e, 0x6b, 0x69, 0x6e, 0x67, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, + 0x4f, 0x4b, 0x12, 0xab, 0x03, 0x0a, 0x1e, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x3a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x74, 0x72, + 0x69, 0x65, 0x76, 0x65, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x3b, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x49, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8f, + 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x22, 0x23, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x2f, 0x69, 0x64, 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x69, 0x64, + 0x70, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x7d, 0x3a, 0x01, 0x2a, 0x8a, + 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0xc8, 0x01, 0x12, 0x3a, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, + 0x76, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x1a, 0x7d, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x65, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x72, + 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x74, 0x68, 0x65, 0x20, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x20, 0x66, 0x6f, 0x72, 0x20, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x20, 0x6f, 0x72, 0x20, 0x75, 0x70, 0x64, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x61, 0x6e, + 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, + 0x69, 0x74, 0x68, 0x20, 0x6e, 0x65, 0x77, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, + 0x12, 0x87, 0x02, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x49, 0x44, 0x50, 0x4c, 0x69, 0x6e, 0x6b, 0x12, + 0x26, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x64, 0x64, 0x49, 0x44, 0x50, 0x4c, 0x69, 0x6e, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x64, + 0x64, 0x49, 0x44, 0x50, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0xa7, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d, 0x2f, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, + 0x64, 0x7d, 0x2f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x11, 0x0a, + 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, + 0x92, 0x41, 0x67, 0x12, 0x2b, 0x41, 0x64, 0x64, 0x20, 0x6c, 0x69, 0x6e, 0x6b, 0x20, 0x74, 0x6f, + 0x20, 0x61, 0x6e, 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x6e, 0x20, 0x75, 0x73, 0x65, 0x72, + 0x1a, 0x2b, 0x41, 0x64, 0x64, 0x20, 0x6c, 0x69, 0x6e, 0x6b, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x6e, + 0x20, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x6e, 0x20, 0x75, 0x73, 0x65, 0x72, 0x4a, 0x0b, 0x0a, + 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0x87, 0x02, 0x0a, 0x0d, 0x50, + 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x65, 0x74, 0x12, 0x29, 0x2e, 0x7a, + 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x2e, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x9e, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x22, 0x26, 0x2f, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, + 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x72, + 0x65, 0x73, 0x65, 0x74, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, + 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0x55, 0x12, + 0x22, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x61, 0x20, 0x63, 0x6f, 0x64, 0x65, 0x20, + 0x74, 0x6f, 0x20, 0x72, 0x65, 0x73, 0x65, 0x74, 0x20, 0x61, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, + 0x6f, 0x72, 0x64, 0x1a, 0x22, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x20, 0x61, 0x20, 0x63, + 0x6f, 0x64, 0x65, 0x20, 0x74, 0x6f, 0x20, 0x72, 0x65, 0x73, 0x65, 0x74, 0x20, 0x61, 0x20, 0x70, + 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, + 0x0a, 0x02, 0x4f, 0x4b, 0x12, 0x9c, 0x02, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x50, 0x61, 0x73, 0x73, + 0x77, 0x6f, 0x72, 0x64, 0x12, 0x27, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, + 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x74, 0x50, 0x61, + 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb9, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, + 0x22, 0x20, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, + 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x3a, 0x01, 0x2a, 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, + 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0x76, 0x12, 0x0f, 0x43, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x1a, 0x56, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, + 0x6f, 0x72, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, 0x69, + 0x74, 0x68, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x61, 0x20, 0x76, 0x65, 0x72, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x63, 0x6f, 0x64, 0x65, 0x20, 0x6f, 0x72, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x20, 0x70, 0x61, 0x73, + 0x73, 0x77, 0x6f, 0x72, 0x64, 0x2e, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, + 0x02, 0x4f, 0x4b, 0x12, 0x8a, 0x03, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, + 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x39, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x3a, 0x2e, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x65, + 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, + 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xf1, 0x01, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x75, + 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x61, + 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x73, 0x8a, 0xb5, 0x18, 0x11, 0x0a, 0x0f, 0x0a, 0x0d, 0x61, 0x75, 0x74, + 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x92, 0x41, 0xa2, 0x01, 0x12, 0x32, + 0x4c, 0x69, 0x73, 0x74, 0x20, 0x61, 0x6c, 0x6c, 0x20, 0x70, 0x6f, 0x73, 0x73, 0x69, 0x62, 0x6c, + 0x65, 0x20, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x20, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x20, 0x6f, 0x66, 0x20, 0x61, 0x20, 0x75, 0x73, + 0x65, 0x72, 0x1a, 0x5f, 0x4c, 0x69, 0x73, 0x74, 0x20, 0x61, 0x6c, 0x6c, 0x20, 0x70, 0x6f, 0x73, + 0x73, 0x69, 0x62, 0x6c, 0x65, 0x20, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x20, 0x6f, 0x66, 0x20, + 0x61, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x6c, 0x69, 0x6b, 0x65, 0x20, 0x70, 0x61, 0x73, 0x73, + 0x77, 0x6f, 0x72, 0x64, 0x2c, 0x20, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x6c, 0x65, + 0x73, 0x73, 0x2c, 0x20, 0x28, 0x54, 0x29, 0x4f, 0x54, 0x50, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x6d, + 0x6f, 0x72, 0x65, 0x4a, 0x0b, 0x0a, 0x03, 0x32, 0x30, 0x30, 0x12, 0x04, 0x0a, 0x02, 0x4f, 0x4b, + 0x42, 0xaf, 0x08, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, + 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x92, 0x41, 0xf5, 0x07, 0x12, 0xd3, 0x02, + 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xc4, + 0x01, 0x54, 0x68, 0x69, 0x73, 0x20, 0x41, 0x50, 0x49, 0x20, 0x69, 0x73, 0x20, 0x69, 0x6e, 0x74, + 0x65, 0x6e, 0x64, 0x65, 0x64, 0x20, 0x74, 0x6f, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x20, + 0x75, 0x73, 0x65, 0x72, 0x73, 0x20, 0x69, 0x6e, 0x20, 0x61, 0x20, 0x5a, 0x49, 0x54, 0x41, 0x44, + 0x45, 0x4c, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x20, 0x54, 0x68, 0x69, + 0x73, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x69, 0x73, 0x20, 0x69, 0x6e, 0x20, + 0x62, 0x65, 0x74, 0x61, 0x20, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x20, 0x49, 0x74, 0x20, 0x63, + 0x61, 0x6e, 0x20, 0x41, 0x4e, 0x44, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x63, 0x6f, 0x6e, 0x74, + 0x69, 0x6e, 0x75, 0x65, 0x20, 0x62, 0x72, 0x65, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x20, 0x75, 0x6e, + 0x74, 0x69, 0x6c, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x61, 0x6d, + 0x65, 0x20, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x20, + 0x61, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x20, 0x6c, + 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x22, 0x2e, 0x0a, 0x07, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, + 0x12, 0x13, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x1a, 0x0e, 0x68, 0x69, 0x40, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x2a, 0x42, 0x0a, 0x0a, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, 0x20, + 0x32, 0x2e, 0x30, 0x12, 0x34, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, + 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d, 0x61, 0x69, + 0x6e, 0x2f, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, 0x32, 0x08, 0x32, 0x2e, 0x30, 0x2d, 0x62, + 0x65, 0x74, 0x61, 0x1a, 0x0e, 0x24, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x2d, 0x44, 0x4f, 0x4d, + 0x41, 0x49, 0x4e, 0x22, 0x01, 0x2f, 0x2a, 0x02, 0x02, 0x01, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x32, 0x1a, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, + 0x2d, 0x77, 0x65, 0x62, 0x2b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3a, 0x1a, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, + 0x2d, 0x77, 0x65, 0x62, 0x2b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x6d, 0x0a, 0x03, 0x34, 0x30, + 0x33, 0x12, 0x66, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, + 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, + 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x12, 0x1b, 0x0a, 0x19, + 0x1a, 0x17, 0x23, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x72, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x34, + 0x12, 0x49, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, + 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, + 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x1b, + 0x0a, 0x19, 0x1a, 0x17, 0x23, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x72, 0x70, 0x63, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5a, 0xc2, 0x01, 0x0a, 0xbf, + 0x01, 0x0a, 0x06, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x12, 0xb4, 0x01, 0x08, 0x03, 0x28, 0x04, + 0x32, 0x21, 0x24, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x2d, 0x44, 0x4f, 0x4d, 0x41, 0x49, 0x4e, + 0x2f, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x7a, 0x65, 0x3a, 0x1d, 0x24, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x2d, 0x44, 0x4f, 0x4d, + 0x41, 0x49, 0x4e, 0x2f, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x42, 0x6c, 0x0a, 0x10, 0x0a, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x12, 0x06, + 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x0a, 0x58, 0x0a, 0x2a, 0x75, 0x72, 0x6e, 0x3a, 0x7a, 0x69, + 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, 0x69, 0x61, 0x6d, 0x3a, 0x6f, 0x72, 0x67, 0x3a, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3a, 0x69, 0x64, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, + 0x3a, 0x61, 0x75, 0x64, 0x12, 0x2a, 0x75, 0x72, 0x6e, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, + 0x6c, 0x3a, 0x69, 0x61, 0x6d, 0x3a, 0x6f, 0x72, 0x67, 0x3a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x3a, 0x69, 0x64, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, 0x61, 0x75, 0x64, + 0x62, 0x40, 0x0a, 0x3e, 0x0a, 0x06, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x32, 0x12, 0x34, 0x0a, 0x06, + 0x6f, 0x70, 0x65, 0x6e, 0x69, 0x64, 0x0a, 0x2a, 0x75, 0x72, 0x6e, 0x3a, 0x7a, 0x69, 0x74, 0x61, + 0x64, 0x65, 0x6c, 0x3a, 0x69, 0x61, 0x6d, 0x3a, 0x6f, 0x72, 0x67, 0x3a, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x3a, 0x69, 0x64, 0x3a, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x3a, 0x61, + 0x75, 0x64, 0x72, 0x3e, 0x0a, 0x22, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x20, 0x69, + 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x61, 0x62, 0x6f, 0x75, 0x74, + 0x20, 0x5a, 0x49, 0x54, 0x41, 0x44, 0x45, 0x4c, 0x12, 0x18, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, + 0x2f, 0x2f, 0x7a, 0x69, 0x74, 0x61, 0x64, 0x65, 0x6c, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x6f, + 0x63, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_zitadel_user_v2beta_user_service_proto_rawDescOnce sync.Once + file_zitadel_user_v2beta_user_service_proto_rawDescData = file_zitadel_user_v2beta_user_service_proto_rawDesc +) + +func file_zitadel_user_v2beta_user_service_proto_rawDescGZIP() []byte { + file_zitadel_user_v2beta_user_service_proto_rawDescOnce.Do(func() { + file_zitadel_user_v2beta_user_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_zitadel_user_v2beta_user_service_proto_rawDescData) + }) + return file_zitadel_user_v2beta_user_service_proto_rawDescData +} + +var file_zitadel_user_v2beta_user_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_zitadel_user_v2beta_user_service_proto_msgTypes = make([]protoimpl.MessageInfo, 44) +var file_zitadel_user_v2beta_user_service_proto_goTypes = []interface{}{ + (AuthenticationMethodType)(0), // 0: zitadel.user.v2beta.AuthenticationMethodType + (*AddHumanUserRequest)(nil), // 1: zitadel.user.v2beta.AddHumanUserRequest + (*AddHumanUserResponse)(nil), // 2: zitadel.user.v2beta.AddHumanUserResponse + (*SetEmailRequest)(nil), // 3: zitadel.user.v2beta.SetEmailRequest + (*SetEmailResponse)(nil), // 4: zitadel.user.v2beta.SetEmailResponse + (*VerifyEmailRequest)(nil), // 5: zitadel.user.v2beta.VerifyEmailRequest + (*VerifyEmailResponse)(nil), // 6: zitadel.user.v2beta.VerifyEmailResponse + (*SetPhoneRequest)(nil), // 7: zitadel.user.v2beta.SetPhoneRequest + (*SetPhoneResponse)(nil), // 8: zitadel.user.v2beta.SetPhoneResponse + (*VerifyPhoneRequest)(nil), // 9: zitadel.user.v2beta.VerifyPhoneRequest + (*VerifyPhoneResponse)(nil), // 10: zitadel.user.v2beta.VerifyPhoneResponse + (*RegisterPasskeyRequest)(nil), // 11: zitadel.user.v2beta.RegisterPasskeyRequest + (*RegisterPasskeyResponse)(nil), // 12: zitadel.user.v2beta.RegisterPasskeyResponse + (*VerifyPasskeyRegistrationRequest)(nil), // 13: zitadel.user.v2beta.VerifyPasskeyRegistrationRequest + (*VerifyPasskeyRegistrationResponse)(nil), // 14: zitadel.user.v2beta.VerifyPasskeyRegistrationResponse + (*RegisterU2FRequest)(nil), // 15: zitadel.user.v2beta.RegisterU2FRequest + (*RegisterU2FResponse)(nil), // 16: zitadel.user.v2beta.RegisterU2FResponse + (*VerifyU2FRegistrationRequest)(nil), // 17: zitadel.user.v2beta.VerifyU2FRegistrationRequest + (*VerifyU2FRegistrationResponse)(nil), // 18: zitadel.user.v2beta.VerifyU2FRegistrationResponse + (*RegisterTOTPRequest)(nil), // 19: zitadel.user.v2beta.RegisterTOTPRequest + (*RegisterTOTPResponse)(nil), // 20: zitadel.user.v2beta.RegisterTOTPResponse + (*VerifyTOTPRegistrationRequest)(nil), // 21: zitadel.user.v2beta.VerifyTOTPRegistrationRequest + (*VerifyTOTPRegistrationResponse)(nil), // 22: zitadel.user.v2beta.VerifyTOTPRegistrationResponse + (*AddOTPSMSRequest)(nil), // 23: zitadel.user.v2beta.AddOTPSMSRequest + (*AddOTPSMSResponse)(nil), // 24: zitadel.user.v2beta.AddOTPSMSResponse + (*RemoveOTPSMSRequest)(nil), // 25: zitadel.user.v2beta.RemoveOTPSMSRequest + (*RemoveOTPSMSResponse)(nil), // 26: zitadel.user.v2beta.RemoveOTPSMSResponse + (*AddOTPEmailRequest)(nil), // 27: zitadel.user.v2beta.AddOTPEmailRequest + (*AddOTPEmailResponse)(nil), // 28: zitadel.user.v2beta.AddOTPEmailResponse + (*RemoveOTPEmailRequest)(nil), // 29: zitadel.user.v2beta.RemoveOTPEmailRequest + (*RemoveOTPEmailResponse)(nil), // 30: zitadel.user.v2beta.RemoveOTPEmailResponse + (*CreatePasskeyRegistrationLinkRequest)(nil), // 31: zitadel.user.v2beta.CreatePasskeyRegistrationLinkRequest + (*CreatePasskeyRegistrationLinkResponse)(nil), // 32: zitadel.user.v2beta.CreatePasskeyRegistrationLinkResponse + (*StartIdentityProviderIntentRequest)(nil), // 33: zitadel.user.v2beta.StartIdentityProviderIntentRequest + (*StartIdentityProviderIntentResponse)(nil), // 34: zitadel.user.v2beta.StartIdentityProviderIntentResponse + (*RetrieveIdentityProviderIntentRequest)(nil), // 35: zitadel.user.v2beta.RetrieveIdentityProviderIntentRequest + (*RetrieveIdentityProviderIntentResponse)(nil), // 36: zitadel.user.v2beta.RetrieveIdentityProviderIntentResponse + (*AddIDPLinkRequest)(nil), // 37: zitadel.user.v2beta.AddIDPLinkRequest + (*AddIDPLinkResponse)(nil), // 38: zitadel.user.v2beta.AddIDPLinkResponse + (*PasswordResetRequest)(nil), // 39: zitadel.user.v2beta.PasswordResetRequest + (*PasswordResetResponse)(nil), // 40: zitadel.user.v2beta.PasswordResetResponse + (*SetPasswordRequest)(nil), // 41: zitadel.user.v2beta.SetPasswordRequest + (*SetPasswordResponse)(nil), // 42: zitadel.user.v2beta.SetPasswordResponse + (*ListAuthenticationMethodTypesRequest)(nil), // 43: zitadel.user.v2beta.ListAuthenticationMethodTypesRequest + (*ListAuthenticationMethodTypesResponse)(nil), // 44: zitadel.user.v2beta.ListAuthenticationMethodTypesResponse + (*v2beta.Organisation)(nil), // 45: zitadel.object.v2beta.Organisation + (*SetHumanProfile)(nil), // 46: zitadel.user.v2beta.SetHumanProfile + (*SetHumanEmail)(nil), // 47: zitadel.user.v2beta.SetHumanEmail + (*SetHumanPhone)(nil), // 48: zitadel.user.v2beta.SetHumanPhone + (*SetMetadataEntry)(nil), // 49: zitadel.user.v2beta.SetMetadataEntry + (*Password)(nil), // 50: zitadel.user.v2beta.Password + (*HashedPassword)(nil), // 51: zitadel.user.v2beta.HashedPassword + (*IDPLink)(nil), // 52: zitadel.user.v2beta.IDPLink + (*v2beta.Details)(nil), // 53: zitadel.object.v2beta.Details + (*SendEmailVerificationCode)(nil), // 54: zitadel.user.v2beta.SendEmailVerificationCode + (*ReturnEmailVerificationCode)(nil), // 55: zitadel.user.v2beta.ReturnEmailVerificationCode + (*SendPhoneVerificationCode)(nil), // 56: zitadel.user.v2beta.SendPhoneVerificationCode + (*ReturnPhoneVerificationCode)(nil), // 57: zitadel.user.v2beta.ReturnPhoneVerificationCode + (*PasskeyRegistrationCode)(nil), // 58: zitadel.user.v2beta.PasskeyRegistrationCode + (PasskeyAuthenticator)(0), // 59: zitadel.user.v2beta.PasskeyAuthenticator + (*structpb.Struct)(nil), // 60: google.protobuf.Struct + (*SendPasskeyRegistrationLink)(nil), // 61: zitadel.user.v2beta.SendPasskeyRegistrationLink + (*ReturnPasskeyRegistrationCode)(nil), // 62: zitadel.user.v2beta.ReturnPasskeyRegistrationCode + (*RedirectURLs)(nil), // 63: zitadel.user.v2beta.RedirectURLs + (*LDAPCredentials)(nil), // 64: zitadel.user.v2beta.LDAPCredentials + (*IDPIntent)(nil), // 65: zitadel.user.v2beta.IDPIntent + (*IDPInformation)(nil), // 66: zitadel.user.v2beta.IDPInformation + (*SendPasswordResetLink)(nil), // 67: zitadel.user.v2beta.SendPasswordResetLink + (*ReturnPasswordResetCode)(nil), // 68: zitadel.user.v2beta.ReturnPasswordResetCode + (*v2beta.ListDetails)(nil), // 69: zitadel.object.v2beta.ListDetails +} +var file_zitadel_user_v2beta_user_service_proto_depIdxs = []int32{ + 45, // 0: zitadel.user.v2beta.AddHumanUserRequest.organisation:type_name -> zitadel.object.v2beta.Organisation + 46, // 1: zitadel.user.v2beta.AddHumanUserRequest.profile:type_name -> zitadel.user.v2beta.SetHumanProfile + 47, // 2: zitadel.user.v2beta.AddHumanUserRequest.email:type_name -> zitadel.user.v2beta.SetHumanEmail + 48, // 3: zitadel.user.v2beta.AddHumanUserRequest.phone:type_name -> zitadel.user.v2beta.SetHumanPhone + 49, // 4: zitadel.user.v2beta.AddHumanUserRequest.metadata:type_name -> zitadel.user.v2beta.SetMetadataEntry + 50, // 5: zitadel.user.v2beta.AddHumanUserRequest.password:type_name -> zitadel.user.v2beta.Password + 51, // 6: zitadel.user.v2beta.AddHumanUserRequest.hashed_password:type_name -> zitadel.user.v2beta.HashedPassword + 52, // 7: zitadel.user.v2beta.AddHumanUserRequest.idp_links:type_name -> zitadel.user.v2beta.IDPLink + 53, // 8: zitadel.user.v2beta.AddHumanUserResponse.details:type_name -> zitadel.object.v2beta.Details + 54, // 9: zitadel.user.v2beta.SetEmailRequest.send_code:type_name -> zitadel.user.v2beta.SendEmailVerificationCode + 55, // 10: zitadel.user.v2beta.SetEmailRequest.return_code:type_name -> zitadel.user.v2beta.ReturnEmailVerificationCode + 53, // 11: zitadel.user.v2beta.SetEmailResponse.details:type_name -> zitadel.object.v2beta.Details + 53, // 12: zitadel.user.v2beta.VerifyEmailResponse.details:type_name -> zitadel.object.v2beta.Details + 56, // 13: zitadel.user.v2beta.SetPhoneRequest.send_code:type_name -> zitadel.user.v2beta.SendPhoneVerificationCode + 57, // 14: zitadel.user.v2beta.SetPhoneRequest.return_code:type_name -> zitadel.user.v2beta.ReturnPhoneVerificationCode + 53, // 15: zitadel.user.v2beta.SetPhoneResponse.details:type_name -> zitadel.object.v2beta.Details + 53, // 16: zitadel.user.v2beta.VerifyPhoneResponse.details:type_name -> zitadel.object.v2beta.Details + 58, // 17: zitadel.user.v2beta.RegisterPasskeyRequest.code:type_name -> zitadel.user.v2beta.PasskeyRegistrationCode + 59, // 18: zitadel.user.v2beta.RegisterPasskeyRequest.authenticator:type_name -> zitadel.user.v2beta.PasskeyAuthenticator + 53, // 19: zitadel.user.v2beta.RegisterPasskeyResponse.details:type_name -> zitadel.object.v2beta.Details + 60, // 20: zitadel.user.v2beta.RegisterPasskeyResponse.public_key_credential_creation_options:type_name -> google.protobuf.Struct + 60, // 21: zitadel.user.v2beta.VerifyPasskeyRegistrationRequest.public_key_credential:type_name -> google.protobuf.Struct + 53, // 22: zitadel.user.v2beta.VerifyPasskeyRegistrationResponse.details:type_name -> zitadel.object.v2beta.Details + 53, // 23: zitadel.user.v2beta.RegisterU2FResponse.details:type_name -> zitadel.object.v2beta.Details + 60, // 24: zitadel.user.v2beta.RegisterU2FResponse.public_key_credential_creation_options:type_name -> google.protobuf.Struct + 60, // 25: zitadel.user.v2beta.VerifyU2FRegistrationRequest.public_key_credential:type_name -> google.protobuf.Struct + 53, // 26: zitadel.user.v2beta.VerifyU2FRegistrationResponse.details:type_name -> zitadel.object.v2beta.Details + 53, // 27: zitadel.user.v2beta.RegisterTOTPResponse.details:type_name -> zitadel.object.v2beta.Details + 53, // 28: zitadel.user.v2beta.VerifyTOTPRegistrationResponse.details:type_name -> zitadel.object.v2beta.Details + 53, // 29: zitadel.user.v2beta.AddOTPSMSResponse.details:type_name -> zitadel.object.v2beta.Details + 53, // 30: zitadel.user.v2beta.RemoveOTPSMSResponse.details:type_name -> zitadel.object.v2beta.Details + 53, // 31: zitadel.user.v2beta.AddOTPEmailResponse.details:type_name -> zitadel.object.v2beta.Details + 53, // 32: zitadel.user.v2beta.RemoveOTPEmailResponse.details:type_name -> zitadel.object.v2beta.Details + 61, // 33: zitadel.user.v2beta.CreatePasskeyRegistrationLinkRequest.send_link:type_name -> zitadel.user.v2beta.SendPasskeyRegistrationLink + 62, // 34: zitadel.user.v2beta.CreatePasskeyRegistrationLinkRequest.return_code:type_name -> zitadel.user.v2beta.ReturnPasskeyRegistrationCode + 53, // 35: zitadel.user.v2beta.CreatePasskeyRegistrationLinkResponse.details:type_name -> zitadel.object.v2beta.Details + 58, // 36: zitadel.user.v2beta.CreatePasskeyRegistrationLinkResponse.code:type_name -> zitadel.user.v2beta.PasskeyRegistrationCode + 63, // 37: zitadel.user.v2beta.StartIdentityProviderIntentRequest.urls:type_name -> zitadel.user.v2beta.RedirectURLs + 64, // 38: zitadel.user.v2beta.StartIdentityProviderIntentRequest.ldap:type_name -> zitadel.user.v2beta.LDAPCredentials + 53, // 39: zitadel.user.v2beta.StartIdentityProviderIntentResponse.details:type_name -> zitadel.object.v2beta.Details + 65, // 40: zitadel.user.v2beta.StartIdentityProviderIntentResponse.idp_intent:type_name -> zitadel.user.v2beta.IDPIntent + 53, // 41: zitadel.user.v2beta.RetrieveIdentityProviderIntentResponse.details:type_name -> zitadel.object.v2beta.Details + 66, // 42: zitadel.user.v2beta.RetrieveIdentityProviderIntentResponse.idp_information:type_name -> zitadel.user.v2beta.IDPInformation + 52, // 43: zitadel.user.v2beta.AddIDPLinkRequest.idp_link:type_name -> zitadel.user.v2beta.IDPLink + 53, // 44: zitadel.user.v2beta.AddIDPLinkResponse.details:type_name -> zitadel.object.v2beta.Details + 67, // 45: zitadel.user.v2beta.PasswordResetRequest.send_link:type_name -> zitadel.user.v2beta.SendPasswordResetLink + 68, // 46: zitadel.user.v2beta.PasswordResetRequest.return_code:type_name -> zitadel.user.v2beta.ReturnPasswordResetCode + 53, // 47: zitadel.user.v2beta.PasswordResetResponse.details:type_name -> zitadel.object.v2beta.Details + 50, // 48: zitadel.user.v2beta.SetPasswordRequest.new_password:type_name -> zitadel.user.v2beta.Password + 53, // 49: zitadel.user.v2beta.SetPasswordResponse.details:type_name -> zitadel.object.v2beta.Details + 69, // 50: zitadel.user.v2beta.ListAuthenticationMethodTypesResponse.details:type_name -> zitadel.object.v2beta.ListDetails + 0, // 51: zitadel.user.v2beta.ListAuthenticationMethodTypesResponse.auth_method_types:type_name -> zitadel.user.v2beta.AuthenticationMethodType + 1, // 52: zitadel.user.v2beta.UserService.AddHumanUser:input_type -> zitadel.user.v2beta.AddHumanUserRequest + 3, // 53: zitadel.user.v2beta.UserService.SetEmail:input_type -> zitadel.user.v2beta.SetEmailRequest + 5, // 54: zitadel.user.v2beta.UserService.VerifyEmail:input_type -> zitadel.user.v2beta.VerifyEmailRequest + 7, // 55: zitadel.user.v2beta.UserService.SetPhone:input_type -> zitadel.user.v2beta.SetPhoneRequest + 9, // 56: zitadel.user.v2beta.UserService.VerifyPhone:input_type -> zitadel.user.v2beta.VerifyPhoneRequest + 11, // 57: zitadel.user.v2beta.UserService.RegisterPasskey:input_type -> zitadel.user.v2beta.RegisterPasskeyRequest + 13, // 58: zitadel.user.v2beta.UserService.VerifyPasskeyRegistration:input_type -> zitadel.user.v2beta.VerifyPasskeyRegistrationRequest + 31, // 59: zitadel.user.v2beta.UserService.CreatePasskeyRegistrationLink:input_type -> zitadel.user.v2beta.CreatePasskeyRegistrationLinkRequest + 15, // 60: zitadel.user.v2beta.UserService.RegisterU2F:input_type -> zitadel.user.v2beta.RegisterU2FRequest + 17, // 61: zitadel.user.v2beta.UserService.VerifyU2FRegistration:input_type -> zitadel.user.v2beta.VerifyU2FRegistrationRequest + 19, // 62: zitadel.user.v2beta.UserService.RegisterTOTP:input_type -> zitadel.user.v2beta.RegisterTOTPRequest + 21, // 63: zitadel.user.v2beta.UserService.VerifyTOTPRegistration:input_type -> zitadel.user.v2beta.VerifyTOTPRegistrationRequest + 23, // 64: zitadel.user.v2beta.UserService.AddOTPSMS:input_type -> zitadel.user.v2beta.AddOTPSMSRequest + 25, // 65: zitadel.user.v2beta.UserService.RemoveOTPSMS:input_type -> zitadel.user.v2beta.RemoveOTPSMSRequest + 27, // 66: zitadel.user.v2beta.UserService.AddOTPEmail:input_type -> zitadel.user.v2beta.AddOTPEmailRequest + 29, // 67: zitadel.user.v2beta.UserService.RemoveOTPEmail:input_type -> zitadel.user.v2beta.RemoveOTPEmailRequest + 33, // 68: zitadel.user.v2beta.UserService.StartIdentityProviderIntent:input_type -> zitadel.user.v2beta.StartIdentityProviderIntentRequest + 35, // 69: zitadel.user.v2beta.UserService.RetrieveIdentityProviderIntent:input_type -> zitadel.user.v2beta.RetrieveIdentityProviderIntentRequest + 37, // 70: zitadel.user.v2beta.UserService.AddIDPLink:input_type -> zitadel.user.v2beta.AddIDPLinkRequest + 39, // 71: zitadel.user.v2beta.UserService.PasswordReset:input_type -> zitadel.user.v2beta.PasswordResetRequest + 41, // 72: zitadel.user.v2beta.UserService.SetPassword:input_type -> zitadel.user.v2beta.SetPasswordRequest + 43, // 73: zitadel.user.v2beta.UserService.ListAuthenticationMethodTypes:input_type -> zitadel.user.v2beta.ListAuthenticationMethodTypesRequest + 2, // 74: zitadel.user.v2beta.UserService.AddHumanUser:output_type -> zitadel.user.v2beta.AddHumanUserResponse + 4, // 75: zitadel.user.v2beta.UserService.SetEmail:output_type -> zitadel.user.v2beta.SetEmailResponse + 6, // 76: zitadel.user.v2beta.UserService.VerifyEmail:output_type -> zitadel.user.v2beta.VerifyEmailResponse + 8, // 77: zitadel.user.v2beta.UserService.SetPhone:output_type -> zitadel.user.v2beta.SetPhoneResponse + 10, // 78: zitadel.user.v2beta.UserService.VerifyPhone:output_type -> zitadel.user.v2beta.VerifyPhoneResponse + 12, // 79: zitadel.user.v2beta.UserService.RegisterPasskey:output_type -> zitadel.user.v2beta.RegisterPasskeyResponse + 14, // 80: zitadel.user.v2beta.UserService.VerifyPasskeyRegistration:output_type -> zitadel.user.v2beta.VerifyPasskeyRegistrationResponse + 32, // 81: zitadel.user.v2beta.UserService.CreatePasskeyRegistrationLink:output_type -> zitadel.user.v2beta.CreatePasskeyRegistrationLinkResponse + 16, // 82: zitadel.user.v2beta.UserService.RegisterU2F:output_type -> zitadel.user.v2beta.RegisterU2FResponse + 18, // 83: zitadel.user.v2beta.UserService.VerifyU2FRegistration:output_type -> zitadel.user.v2beta.VerifyU2FRegistrationResponse + 20, // 84: zitadel.user.v2beta.UserService.RegisterTOTP:output_type -> zitadel.user.v2beta.RegisterTOTPResponse + 22, // 85: zitadel.user.v2beta.UserService.VerifyTOTPRegistration:output_type -> zitadel.user.v2beta.VerifyTOTPRegistrationResponse + 24, // 86: zitadel.user.v2beta.UserService.AddOTPSMS:output_type -> zitadel.user.v2beta.AddOTPSMSResponse + 26, // 87: zitadel.user.v2beta.UserService.RemoveOTPSMS:output_type -> zitadel.user.v2beta.RemoveOTPSMSResponse + 28, // 88: zitadel.user.v2beta.UserService.AddOTPEmail:output_type -> zitadel.user.v2beta.AddOTPEmailResponse + 30, // 89: zitadel.user.v2beta.UserService.RemoveOTPEmail:output_type -> zitadel.user.v2beta.RemoveOTPEmailResponse + 34, // 90: zitadel.user.v2beta.UserService.StartIdentityProviderIntent:output_type -> zitadel.user.v2beta.StartIdentityProviderIntentResponse + 36, // 91: zitadel.user.v2beta.UserService.RetrieveIdentityProviderIntent:output_type -> zitadel.user.v2beta.RetrieveIdentityProviderIntentResponse + 38, // 92: zitadel.user.v2beta.UserService.AddIDPLink:output_type -> zitadel.user.v2beta.AddIDPLinkResponse + 40, // 93: zitadel.user.v2beta.UserService.PasswordReset:output_type -> zitadel.user.v2beta.PasswordResetResponse + 42, // 94: zitadel.user.v2beta.UserService.SetPassword:output_type -> zitadel.user.v2beta.SetPasswordResponse + 44, // 95: zitadel.user.v2beta.UserService.ListAuthenticationMethodTypes:output_type -> zitadel.user.v2beta.ListAuthenticationMethodTypesResponse + 74, // [74:96] is the sub-list for method output_type + 52, // [52:74] is the sub-list for method input_type + 52, // [52:52] is the sub-list for extension type_name + 52, // [52:52] is the sub-list for extension extendee + 0, // [0:52] is the sub-list for field type_name +} + +func init() { file_zitadel_user_v2beta_user_service_proto_init() } +func file_zitadel_user_v2beta_user_service_proto_init() { + if File_zitadel_user_v2beta_user_service_proto != nil { + return + } + file_zitadel_user_v2beta_auth_proto_init() + file_zitadel_user_v2beta_email_proto_init() + file_zitadel_user_v2beta_phone_proto_init() + file_zitadel_user_v2beta_idp_proto_init() + file_zitadel_user_v2beta_password_proto_init() + file_zitadel_user_v2beta_user_proto_init() + if !protoimpl.UnsafeEnabled { + file_zitadel_user_v2beta_user_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddHumanUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddHumanUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetEmailRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetEmailResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyEmailRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyEmailResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPhoneRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPhoneResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyPhoneRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyPhoneResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterPasskeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterPasskeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyPasskeyRegistrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyPasskeyRegistrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterU2FRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterU2FResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyU2FRegistrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyU2FRegistrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterTOTPRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RegisterTOTPResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyTOTPRegistrationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyTOTPRegistrationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddOTPSMSRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddOTPSMSResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveOTPSMSRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveOTPSMSResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddOTPEmailRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddOTPEmailResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveOTPEmailRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveOTPEmailResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreatePasskeyRegistrationLinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreatePasskeyRegistrationLinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartIdentityProviderIntentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StartIdentityProviderIntentResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RetrieveIdentityProviderIntentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RetrieveIdentityProviderIntentResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddIDPLinkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddIDPLinkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PasswordResetRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PasswordResetResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPasswordRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetPasswordResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAuthenticationMethodTypesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAuthenticationMethodTypesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*AddHumanUserRequest_Password)(nil), + (*AddHumanUserRequest_HashedPassword)(nil), + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[1].OneofWrappers = []interface{}{} + file_zitadel_user_v2beta_user_service_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*SetEmailRequest_SendCode)(nil), + (*SetEmailRequest_ReturnCode)(nil), + (*SetEmailRequest_IsVerified)(nil), + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[3].OneofWrappers = []interface{}{} + file_zitadel_user_v2beta_user_service_proto_msgTypes[6].OneofWrappers = []interface{}{ + (*SetPhoneRequest_SendCode)(nil), + (*SetPhoneRequest_ReturnCode)(nil), + (*SetPhoneRequest_IsVerified)(nil), + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[7].OneofWrappers = []interface{}{} + file_zitadel_user_v2beta_user_service_proto_msgTypes[10].OneofWrappers = []interface{}{} + file_zitadel_user_v2beta_user_service_proto_msgTypes[30].OneofWrappers = []interface{}{ + (*CreatePasskeyRegistrationLinkRequest_SendLink)(nil), + (*CreatePasskeyRegistrationLinkRequest_ReturnCode)(nil), + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[31].OneofWrappers = []interface{}{} + file_zitadel_user_v2beta_user_service_proto_msgTypes[32].OneofWrappers = []interface{}{ + (*StartIdentityProviderIntentRequest_Urls)(nil), + (*StartIdentityProviderIntentRequest_Ldap)(nil), + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[33].OneofWrappers = []interface{}{ + (*StartIdentityProviderIntentResponse_AuthUrl)(nil), + (*StartIdentityProviderIntentResponse_IdpIntent)(nil), + (*StartIdentityProviderIntentResponse_PostForm)(nil), + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[38].OneofWrappers = []interface{}{ + (*PasswordResetRequest_SendLink)(nil), + (*PasswordResetRequest_ReturnCode)(nil), + } + file_zitadel_user_v2beta_user_service_proto_msgTypes[39].OneofWrappers = []interface{}{} + file_zitadel_user_v2beta_user_service_proto_msgTypes[40].OneofWrappers = []interface{}{ + (*SetPasswordRequest_CurrentPassword)(nil), + (*SetPasswordRequest_VerificationCode)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_zitadel_user_v2beta_user_service_proto_rawDesc, + NumEnums: 1, + NumMessages: 44, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_zitadel_user_v2beta_user_service_proto_goTypes, + DependencyIndexes: file_zitadel_user_v2beta_user_service_proto_depIdxs, + EnumInfos: file_zitadel_user_v2beta_user_service_proto_enumTypes, + MessageInfos: file_zitadel_user_v2beta_user_service_proto_msgTypes, + }.Build() + File_zitadel_user_v2beta_user_service_proto = out.File + file_zitadel_user_v2beta_user_service_proto_rawDesc = nil + file_zitadel_user_v2beta_user_service_proto_goTypes = nil + file_zitadel_user_v2beta_user_service_proto_depIdxs = nil +} diff --git a/pkg/client/zitadel/user/v2beta/user_service_grpc.pb.go b/pkg/client/zitadel/user/v2beta/user_service_grpc.pb.go new file mode 100644 index 0000000..c2122ae --- /dev/null +++ b/pkg/client/zitadel/user/v2beta/user_service_grpc.pb.go @@ -0,0 +1,877 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package user + +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.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// UserServiceClient is the client API for UserService 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 UserServiceClient interface { + // Create a new human user + AddHumanUser(ctx context.Context, in *AddHumanUserRequest, opts ...grpc.CallOption) (*AddHumanUserResponse, error) + // Change the email of a user + SetEmail(ctx context.Context, in *SetEmailRequest, opts ...grpc.CallOption) (*SetEmailResponse, error) + // Verify the email with the provided code + VerifyEmail(ctx context.Context, in *VerifyEmailRequest, opts ...grpc.CallOption) (*VerifyEmailResponse, error) + // Change the phone of a user + SetPhone(ctx context.Context, in *SetPhoneRequest, opts ...grpc.CallOption) (*SetPhoneResponse, error) + // Verify the phone with the provided code + VerifyPhone(ctx context.Context, in *VerifyPhoneRequest, opts ...grpc.CallOption) (*VerifyPhoneResponse, error) + RegisterPasskey(ctx context.Context, in *RegisterPasskeyRequest, opts ...grpc.CallOption) (*RegisterPasskeyResponse, error) + VerifyPasskeyRegistration(ctx context.Context, in *VerifyPasskeyRegistrationRequest, opts ...grpc.CallOption) (*VerifyPasskeyRegistrationResponse, error) + CreatePasskeyRegistrationLink(ctx context.Context, in *CreatePasskeyRegistrationLinkRequest, opts ...grpc.CallOption) (*CreatePasskeyRegistrationLinkResponse, error) + RegisterU2F(ctx context.Context, in *RegisterU2FRequest, opts ...grpc.CallOption) (*RegisterU2FResponse, error) + VerifyU2FRegistration(ctx context.Context, in *VerifyU2FRegistrationRequest, opts ...grpc.CallOption) (*VerifyU2FRegistrationResponse, error) + RegisterTOTP(ctx context.Context, in *RegisterTOTPRequest, opts ...grpc.CallOption) (*RegisterTOTPResponse, error) + VerifyTOTPRegistration(ctx context.Context, in *VerifyTOTPRegistrationRequest, opts ...grpc.CallOption) (*VerifyTOTPRegistrationResponse, error) + AddOTPSMS(ctx context.Context, in *AddOTPSMSRequest, opts ...grpc.CallOption) (*AddOTPSMSResponse, error) + RemoveOTPSMS(ctx context.Context, in *RemoveOTPSMSRequest, opts ...grpc.CallOption) (*RemoveOTPSMSResponse, error) + AddOTPEmail(ctx context.Context, in *AddOTPEmailRequest, opts ...grpc.CallOption) (*AddOTPEmailResponse, error) + RemoveOTPEmail(ctx context.Context, in *RemoveOTPEmailRequest, opts ...grpc.CallOption) (*RemoveOTPEmailResponse, error) + // Start an IDP authentication (for external login, registration or linking) + StartIdentityProviderIntent(ctx context.Context, in *StartIdentityProviderIntentRequest, opts ...grpc.CallOption) (*StartIdentityProviderIntentResponse, error) + RetrieveIdentityProviderIntent(ctx context.Context, in *RetrieveIdentityProviderIntentRequest, opts ...grpc.CallOption) (*RetrieveIdentityProviderIntentResponse, error) + // Link an IDP to an existing user + AddIDPLink(ctx context.Context, in *AddIDPLinkRequest, opts ...grpc.CallOption) (*AddIDPLinkResponse, error) + // Request password reset + PasswordReset(ctx context.Context, in *PasswordResetRequest, opts ...grpc.CallOption) (*PasswordResetResponse, error) + // Change password + SetPassword(ctx context.Context, in *SetPasswordRequest, opts ...grpc.CallOption) (*SetPasswordResponse, error) + // List all possible authentication methods of a user + ListAuthenticationMethodTypes(ctx context.Context, in *ListAuthenticationMethodTypesRequest, opts ...grpc.CallOption) (*ListAuthenticationMethodTypesResponse, error) +} + +type userServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient { + return &userServiceClient{cc} +} + +func (c *userServiceClient) AddHumanUser(ctx context.Context, in *AddHumanUserRequest, opts ...grpc.CallOption) (*AddHumanUserResponse, error) { + out := new(AddHumanUserResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/AddHumanUser", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) SetEmail(ctx context.Context, in *SetEmailRequest, opts ...grpc.CallOption) (*SetEmailResponse, error) { + out := new(SetEmailResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/SetEmail", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) VerifyEmail(ctx context.Context, in *VerifyEmailRequest, opts ...grpc.CallOption) (*VerifyEmailResponse, error) { + out := new(VerifyEmailResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/VerifyEmail", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) SetPhone(ctx context.Context, in *SetPhoneRequest, opts ...grpc.CallOption) (*SetPhoneResponse, error) { + out := new(SetPhoneResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/SetPhone", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) VerifyPhone(ctx context.Context, in *VerifyPhoneRequest, opts ...grpc.CallOption) (*VerifyPhoneResponse, error) { + out := new(VerifyPhoneResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/VerifyPhone", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) RegisterPasskey(ctx context.Context, in *RegisterPasskeyRequest, opts ...grpc.CallOption) (*RegisterPasskeyResponse, error) { + out := new(RegisterPasskeyResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/RegisterPasskey", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) VerifyPasskeyRegistration(ctx context.Context, in *VerifyPasskeyRegistrationRequest, opts ...grpc.CallOption) (*VerifyPasskeyRegistrationResponse, error) { + out := new(VerifyPasskeyRegistrationResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/VerifyPasskeyRegistration", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) CreatePasskeyRegistrationLink(ctx context.Context, in *CreatePasskeyRegistrationLinkRequest, opts ...grpc.CallOption) (*CreatePasskeyRegistrationLinkResponse, error) { + out := new(CreatePasskeyRegistrationLinkResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/CreatePasskeyRegistrationLink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) RegisterU2F(ctx context.Context, in *RegisterU2FRequest, opts ...grpc.CallOption) (*RegisterU2FResponse, error) { + out := new(RegisterU2FResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/RegisterU2F", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) VerifyU2FRegistration(ctx context.Context, in *VerifyU2FRegistrationRequest, opts ...grpc.CallOption) (*VerifyU2FRegistrationResponse, error) { + out := new(VerifyU2FRegistrationResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/VerifyU2FRegistration", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) RegisterTOTP(ctx context.Context, in *RegisterTOTPRequest, opts ...grpc.CallOption) (*RegisterTOTPResponse, error) { + out := new(RegisterTOTPResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/RegisterTOTP", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) VerifyTOTPRegistration(ctx context.Context, in *VerifyTOTPRegistrationRequest, opts ...grpc.CallOption) (*VerifyTOTPRegistrationResponse, error) { + out := new(VerifyTOTPRegistrationResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/VerifyTOTPRegistration", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) AddOTPSMS(ctx context.Context, in *AddOTPSMSRequest, opts ...grpc.CallOption) (*AddOTPSMSResponse, error) { + out := new(AddOTPSMSResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/AddOTPSMS", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) RemoveOTPSMS(ctx context.Context, in *RemoveOTPSMSRequest, opts ...grpc.CallOption) (*RemoveOTPSMSResponse, error) { + out := new(RemoveOTPSMSResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/RemoveOTPSMS", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) AddOTPEmail(ctx context.Context, in *AddOTPEmailRequest, opts ...grpc.CallOption) (*AddOTPEmailResponse, error) { + out := new(AddOTPEmailResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/AddOTPEmail", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) RemoveOTPEmail(ctx context.Context, in *RemoveOTPEmailRequest, opts ...grpc.CallOption) (*RemoveOTPEmailResponse, error) { + out := new(RemoveOTPEmailResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/RemoveOTPEmail", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) StartIdentityProviderIntent(ctx context.Context, in *StartIdentityProviderIntentRequest, opts ...grpc.CallOption) (*StartIdentityProviderIntentResponse, error) { + out := new(StartIdentityProviderIntentResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/StartIdentityProviderIntent", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) RetrieveIdentityProviderIntent(ctx context.Context, in *RetrieveIdentityProviderIntentRequest, opts ...grpc.CallOption) (*RetrieveIdentityProviderIntentResponse, error) { + out := new(RetrieveIdentityProviderIntentResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/RetrieveIdentityProviderIntent", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) AddIDPLink(ctx context.Context, in *AddIDPLinkRequest, opts ...grpc.CallOption) (*AddIDPLinkResponse, error) { + out := new(AddIDPLinkResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/AddIDPLink", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) PasswordReset(ctx context.Context, in *PasswordResetRequest, opts ...grpc.CallOption) (*PasswordResetResponse, error) { + out := new(PasswordResetResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/PasswordReset", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) SetPassword(ctx context.Context, in *SetPasswordRequest, opts ...grpc.CallOption) (*SetPasswordResponse, error) { + out := new(SetPasswordResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/SetPassword", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *userServiceClient) ListAuthenticationMethodTypes(ctx context.Context, in *ListAuthenticationMethodTypesRequest, opts ...grpc.CallOption) (*ListAuthenticationMethodTypesResponse, error) { + out := new(ListAuthenticationMethodTypesResponse) + err := c.cc.Invoke(ctx, "/zitadel.user.v2beta.UserService/ListAuthenticationMethodTypes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// UserServiceServer is the server API for UserService service. +// All implementations must embed UnimplementedUserServiceServer +// for forward compatibility +type UserServiceServer interface { + // Create a new human user + AddHumanUser(context.Context, *AddHumanUserRequest) (*AddHumanUserResponse, error) + // Change the email of a user + SetEmail(context.Context, *SetEmailRequest) (*SetEmailResponse, error) + // Verify the email with the provided code + VerifyEmail(context.Context, *VerifyEmailRequest) (*VerifyEmailResponse, error) + // Change the phone of a user + SetPhone(context.Context, *SetPhoneRequest) (*SetPhoneResponse, error) + // Verify the phone with the provided code + VerifyPhone(context.Context, *VerifyPhoneRequest) (*VerifyPhoneResponse, error) + RegisterPasskey(context.Context, *RegisterPasskeyRequest) (*RegisterPasskeyResponse, error) + VerifyPasskeyRegistration(context.Context, *VerifyPasskeyRegistrationRequest) (*VerifyPasskeyRegistrationResponse, error) + CreatePasskeyRegistrationLink(context.Context, *CreatePasskeyRegistrationLinkRequest) (*CreatePasskeyRegistrationLinkResponse, error) + RegisterU2F(context.Context, *RegisterU2FRequest) (*RegisterU2FResponse, error) + VerifyU2FRegistration(context.Context, *VerifyU2FRegistrationRequest) (*VerifyU2FRegistrationResponse, error) + RegisterTOTP(context.Context, *RegisterTOTPRequest) (*RegisterTOTPResponse, error) + VerifyTOTPRegistration(context.Context, *VerifyTOTPRegistrationRequest) (*VerifyTOTPRegistrationResponse, error) + AddOTPSMS(context.Context, *AddOTPSMSRequest) (*AddOTPSMSResponse, error) + RemoveOTPSMS(context.Context, *RemoveOTPSMSRequest) (*RemoveOTPSMSResponse, error) + AddOTPEmail(context.Context, *AddOTPEmailRequest) (*AddOTPEmailResponse, error) + RemoveOTPEmail(context.Context, *RemoveOTPEmailRequest) (*RemoveOTPEmailResponse, error) + // Start an IDP authentication (for external login, registration or linking) + StartIdentityProviderIntent(context.Context, *StartIdentityProviderIntentRequest) (*StartIdentityProviderIntentResponse, error) + RetrieveIdentityProviderIntent(context.Context, *RetrieveIdentityProviderIntentRequest) (*RetrieveIdentityProviderIntentResponse, error) + // Link an IDP to an existing user + AddIDPLink(context.Context, *AddIDPLinkRequest) (*AddIDPLinkResponse, error) + // Request password reset + PasswordReset(context.Context, *PasswordResetRequest) (*PasswordResetResponse, error) + // Change password + SetPassword(context.Context, *SetPasswordRequest) (*SetPasswordResponse, error) + // List all possible authentication methods of a user + ListAuthenticationMethodTypes(context.Context, *ListAuthenticationMethodTypesRequest) (*ListAuthenticationMethodTypesResponse, error) + mustEmbedUnimplementedUserServiceServer() +} + +// UnimplementedUserServiceServer must be embedded to have forward compatible implementations. +type UnimplementedUserServiceServer struct { +} + +func (UnimplementedUserServiceServer) AddHumanUser(context.Context, *AddHumanUserRequest) (*AddHumanUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddHumanUser not implemented") +} +func (UnimplementedUserServiceServer) SetEmail(context.Context, *SetEmailRequest) (*SetEmailResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetEmail not implemented") +} +func (UnimplementedUserServiceServer) VerifyEmail(context.Context, *VerifyEmailRequest) (*VerifyEmailResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method VerifyEmail not implemented") +} +func (UnimplementedUserServiceServer) SetPhone(context.Context, *SetPhoneRequest) (*SetPhoneResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetPhone not implemented") +} +func (UnimplementedUserServiceServer) VerifyPhone(context.Context, *VerifyPhoneRequest) (*VerifyPhoneResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method VerifyPhone not implemented") +} +func (UnimplementedUserServiceServer) RegisterPasskey(context.Context, *RegisterPasskeyRequest) (*RegisterPasskeyResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RegisterPasskey not implemented") +} +func (UnimplementedUserServiceServer) VerifyPasskeyRegistration(context.Context, *VerifyPasskeyRegistrationRequest) (*VerifyPasskeyRegistrationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method VerifyPasskeyRegistration not implemented") +} +func (UnimplementedUserServiceServer) CreatePasskeyRegistrationLink(context.Context, *CreatePasskeyRegistrationLinkRequest) (*CreatePasskeyRegistrationLinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreatePasskeyRegistrationLink not implemented") +} +func (UnimplementedUserServiceServer) RegisterU2F(context.Context, *RegisterU2FRequest) (*RegisterU2FResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RegisterU2F not implemented") +} +func (UnimplementedUserServiceServer) VerifyU2FRegistration(context.Context, *VerifyU2FRegistrationRequest) (*VerifyU2FRegistrationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method VerifyU2FRegistration not implemented") +} +func (UnimplementedUserServiceServer) RegisterTOTP(context.Context, *RegisterTOTPRequest) (*RegisterTOTPResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RegisterTOTP not implemented") +} +func (UnimplementedUserServiceServer) VerifyTOTPRegistration(context.Context, *VerifyTOTPRegistrationRequest) (*VerifyTOTPRegistrationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method VerifyTOTPRegistration not implemented") +} +func (UnimplementedUserServiceServer) AddOTPSMS(context.Context, *AddOTPSMSRequest) (*AddOTPSMSResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddOTPSMS not implemented") +} +func (UnimplementedUserServiceServer) RemoveOTPSMS(context.Context, *RemoveOTPSMSRequest) (*RemoveOTPSMSResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveOTPSMS not implemented") +} +func (UnimplementedUserServiceServer) AddOTPEmail(context.Context, *AddOTPEmailRequest) (*AddOTPEmailResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddOTPEmail not implemented") +} +func (UnimplementedUserServiceServer) RemoveOTPEmail(context.Context, *RemoveOTPEmailRequest) (*RemoveOTPEmailResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveOTPEmail not implemented") +} +func (UnimplementedUserServiceServer) StartIdentityProviderIntent(context.Context, *StartIdentityProviderIntentRequest) (*StartIdentityProviderIntentResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StartIdentityProviderIntent not implemented") +} +func (UnimplementedUserServiceServer) RetrieveIdentityProviderIntent(context.Context, *RetrieveIdentityProviderIntentRequest) (*RetrieveIdentityProviderIntentResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RetrieveIdentityProviderIntent not implemented") +} +func (UnimplementedUserServiceServer) AddIDPLink(context.Context, *AddIDPLinkRequest) (*AddIDPLinkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddIDPLink not implemented") +} +func (UnimplementedUserServiceServer) PasswordReset(context.Context, *PasswordResetRequest) (*PasswordResetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PasswordReset not implemented") +} +func (UnimplementedUserServiceServer) SetPassword(context.Context, *SetPasswordRequest) (*SetPasswordResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetPassword not implemented") +} +func (UnimplementedUserServiceServer) ListAuthenticationMethodTypes(context.Context, *ListAuthenticationMethodTypesRequest) (*ListAuthenticationMethodTypesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListAuthenticationMethodTypes not implemented") +} +func (UnimplementedUserServiceServer) mustEmbedUnimplementedUserServiceServer() {} + +// UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to UserServiceServer will +// result in compilation errors. +type UnsafeUserServiceServer interface { + mustEmbedUnimplementedUserServiceServer() +} + +func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer) { + s.RegisterService(&UserService_ServiceDesc, srv) +} + +func _UserService_AddHumanUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddHumanUserRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).AddHumanUser(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/AddHumanUser", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).AddHumanUser(ctx, req.(*AddHumanUserRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_SetEmail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetEmailRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).SetEmail(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/SetEmail", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).SetEmail(ctx, req.(*SetEmailRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_VerifyEmail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(VerifyEmailRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).VerifyEmail(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/VerifyEmail", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).VerifyEmail(ctx, req.(*VerifyEmailRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_SetPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetPhoneRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).SetPhone(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/SetPhone", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).SetPhone(ctx, req.(*SetPhoneRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_VerifyPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(VerifyPhoneRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).VerifyPhone(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/VerifyPhone", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).VerifyPhone(ctx, req.(*VerifyPhoneRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_RegisterPasskey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RegisterPasskeyRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).RegisterPasskey(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/RegisterPasskey", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).RegisterPasskey(ctx, req.(*RegisterPasskeyRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_VerifyPasskeyRegistration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(VerifyPasskeyRegistrationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).VerifyPasskeyRegistration(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/VerifyPasskeyRegistration", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).VerifyPasskeyRegistration(ctx, req.(*VerifyPasskeyRegistrationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_CreatePasskeyRegistrationLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreatePasskeyRegistrationLinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).CreatePasskeyRegistrationLink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/CreatePasskeyRegistrationLink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).CreatePasskeyRegistrationLink(ctx, req.(*CreatePasskeyRegistrationLinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_RegisterU2F_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RegisterU2FRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).RegisterU2F(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/RegisterU2F", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).RegisterU2F(ctx, req.(*RegisterU2FRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_VerifyU2FRegistration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(VerifyU2FRegistrationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).VerifyU2FRegistration(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/VerifyU2FRegistration", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).VerifyU2FRegistration(ctx, req.(*VerifyU2FRegistrationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_RegisterTOTP_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RegisterTOTPRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).RegisterTOTP(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/RegisterTOTP", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).RegisterTOTP(ctx, req.(*RegisterTOTPRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_VerifyTOTPRegistration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(VerifyTOTPRegistrationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).VerifyTOTPRegistration(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/VerifyTOTPRegistration", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).VerifyTOTPRegistration(ctx, req.(*VerifyTOTPRegistrationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_AddOTPSMS_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddOTPSMSRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).AddOTPSMS(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/AddOTPSMS", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).AddOTPSMS(ctx, req.(*AddOTPSMSRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_RemoveOTPSMS_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveOTPSMSRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).RemoveOTPSMS(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/RemoveOTPSMS", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).RemoveOTPSMS(ctx, req.(*RemoveOTPSMSRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_AddOTPEmail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddOTPEmailRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).AddOTPEmail(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/AddOTPEmail", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).AddOTPEmail(ctx, req.(*AddOTPEmailRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_RemoveOTPEmail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveOTPEmailRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).RemoveOTPEmail(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/RemoveOTPEmail", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).RemoveOTPEmail(ctx, req.(*RemoveOTPEmailRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_StartIdentityProviderIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StartIdentityProviderIntentRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).StartIdentityProviderIntent(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/StartIdentityProviderIntent", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).StartIdentityProviderIntent(ctx, req.(*StartIdentityProviderIntentRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_RetrieveIdentityProviderIntent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RetrieveIdentityProviderIntentRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).RetrieveIdentityProviderIntent(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/RetrieveIdentityProviderIntent", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).RetrieveIdentityProviderIntent(ctx, req.(*RetrieveIdentityProviderIntentRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_AddIDPLink_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddIDPLinkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).AddIDPLink(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/AddIDPLink", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).AddIDPLink(ctx, req.(*AddIDPLinkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_PasswordReset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PasswordResetRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).PasswordReset(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/PasswordReset", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).PasswordReset(ctx, req.(*PasswordResetRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_SetPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetPasswordRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).SetPassword(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/SetPassword", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).SetPassword(ctx, req.(*SetPasswordRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _UserService_ListAuthenticationMethodTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListAuthenticationMethodTypesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(UserServiceServer).ListAuthenticationMethodTypes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/zitadel.user.v2beta.UserService/ListAuthenticationMethodTypes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(UserServiceServer).ListAuthenticationMethodTypes(ctx, req.(*ListAuthenticationMethodTypesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var UserService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "zitadel.user.v2beta.UserService", + HandlerType: (*UserServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "AddHumanUser", + Handler: _UserService_AddHumanUser_Handler, + }, + { + MethodName: "SetEmail", + Handler: _UserService_SetEmail_Handler, + }, + { + MethodName: "VerifyEmail", + Handler: _UserService_VerifyEmail_Handler, + }, + { + MethodName: "SetPhone", + Handler: _UserService_SetPhone_Handler, + }, + { + MethodName: "VerifyPhone", + Handler: _UserService_VerifyPhone_Handler, + }, + { + MethodName: "RegisterPasskey", + Handler: _UserService_RegisterPasskey_Handler, + }, + { + MethodName: "VerifyPasskeyRegistration", + Handler: _UserService_VerifyPasskeyRegistration_Handler, + }, + { + MethodName: "CreatePasskeyRegistrationLink", + Handler: _UserService_CreatePasskeyRegistrationLink_Handler, + }, + { + MethodName: "RegisterU2F", + Handler: _UserService_RegisterU2F_Handler, + }, + { + MethodName: "VerifyU2FRegistration", + Handler: _UserService_VerifyU2FRegistration_Handler, + }, + { + MethodName: "RegisterTOTP", + Handler: _UserService_RegisterTOTP_Handler, + }, + { + MethodName: "VerifyTOTPRegistration", + Handler: _UserService_VerifyTOTPRegistration_Handler, + }, + { + MethodName: "AddOTPSMS", + Handler: _UserService_AddOTPSMS_Handler, + }, + { + MethodName: "RemoveOTPSMS", + Handler: _UserService_RemoveOTPSMS_Handler, + }, + { + MethodName: "AddOTPEmail", + Handler: _UserService_AddOTPEmail_Handler, + }, + { + MethodName: "RemoveOTPEmail", + Handler: _UserService_RemoveOTPEmail_Handler, + }, + { + MethodName: "StartIdentityProviderIntent", + Handler: _UserService_StartIdentityProviderIntent_Handler, + }, + { + MethodName: "RetrieveIdentityProviderIntent", + Handler: _UserService_RetrieveIdentityProviderIntent_Handler, + }, + { + MethodName: "AddIDPLink", + Handler: _UserService_AddIDPLink_Handler, + }, + { + MethodName: "PasswordReset", + Handler: _UserService_PasswordReset_Handler, + }, + { + MethodName: "SetPassword", + Handler: _UserService_SetPassword_Handler, + }, + { + MethodName: "ListAuthenticationMethodTypes", + Handler: _UserService_ListAuthenticationMethodTypes_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "zitadel/user/v2beta/user_service.proto", +}