//
//Сервис предоставляет возможность авторизации

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.30.0
// 	protoc        v4.23.1
// source: keyapis/identity/v1/keyapis_identity_oauth2_v1.proto

package keyapis_identity_v1

import (
	_ "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/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 AuthServiceError struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*AuthServiceError_Auth
	Reason isAuthServiceError_Reason `protobuf_oneof:"reason"`
}

func (x *AuthServiceError) Reset() {
	*x = AuthServiceError{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *AuthServiceError) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AuthServiceError) ProtoMessage() {}

func (x *AuthServiceError) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_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 AuthServiceError.ProtoReflect.Descriptor instead.
func (*AuthServiceError) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescGZIP(), []int{0}
}

func (m *AuthServiceError) GetReason() isAuthServiceError_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *AuthServiceError) GetAuth() *AuthServiceError_AuthError {
	if x, ok := x.GetReason().(*AuthServiceError_Auth); ok {
		return x.Auth
	}
	return nil
}

type isAuthServiceError_Reason interface {
	isAuthServiceError_Reason()
}

type AuthServiceError_Auth struct {
	// Ошибки авторизационного сервиса
	Auth *AuthServiceError_AuthError `protobuf:"bytes,1,opt,name=auth,proto3,oneof"`
}

func (*AuthServiceError_Auth) isAuthServiceError_Reason() {}

// Запрос на авторизацию по ОТП-коду
type PostOauth2LoginByCodeRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Идентификатор ОТП-кода
	CodeId string `protobuf:"bytes,1,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"`
	// Значение ОТП-кода
	Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// Идентификатор текущей попытки логина пользователя
	LoginChallenge string `protobuf:"bytes,3,opt,name=login_challenge,json=loginChallenge,proto3" json:"login_challenge,omitempty"`
}

func (x *PostOauth2LoginByCodeRequest) Reset() {
	*x = PostOauth2LoginByCodeRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostOauth2LoginByCodeRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostOauth2LoginByCodeRequest) ProtoMessage() {}

func (x *PostOauth2LoginByCodeRequest) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_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 PostOauth2LoginByCodeRequest.ProtoReflect.Descriptor instead.
func (*PostOauth2LoginByCodeRequest) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescGZIP(), []int{1}
}

func (x *PostOauth2LoginByCodeRequest) GetCodeId() string {
	if x != nil {
		return x.CodeId
	}
	return ""
}

func (x *PostOauth2LoginByCodeRequest) GetCode() string {
	if x != nil {
		return x.Code
	}
	return ""
}

func (x *PostOauth2LoginByCodeRequest) GetLoginChallenge() string {
	if x != nil {
		return x.LoginChallenge
	}
	return ""
}

// Ответ на запрос об авторизации пользователя
type PostOauth2LoginByCodeResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип результата
	//
	// Types that are assignable to Type:
	//
	//	*PostOauth2LoginByCodeResponse_Error_
	Type isPostOauth2LoginByCodeResponse_Type `protobuf_oneof:"type"`
}

func (x *PostOauth2LoginByCodeResponse) Reset() {
	*x = PostOauth2LoginByCodeResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostOauth2LoginByCodeResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostOauth2LoginByCodeResponse) ProtoMessage() {}

func (x *PostOauth2LoginByCodeResponse) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_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 PostOauth2LoginByCodeResponse.ProtoReflect.Descriptor instead.
func (*PostOauth2LoginByCodeResponse) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescGZIP(), []int{2}
}

func (m *PostOauth2LoginByCodeResponse) GetType() isPostOauth2LoginByCodeResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *PostOauth2LoginByCodeResponse) GetError() *PostOauth2LoginByCodeResponse_Error {
	if x, ok := x.GetType().(*PostOauth2LoginByCodeResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isPostOauth2LoginByCodeResponse_Type interface {
	isPostOauth2LoginByCodeResponse_Type()
}

type PostOauth2LoginByCodeResponse_Error_ struct {
	// Ошибка
	Error *PostOauth2LoginByCodeResponse_Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

func (*PostOauth2LoginByCodeResponse_Error_) isPostOauth2LoginByCodeResponse_Type() {}

// Запрос на авторизацию по паролю
type PostOauth2LoginByPasswordRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Вариант авторизации
	//
	// Types that are assignable to Type:
	//
	//	*PostOauth2LoginByPasswordRequest_PhoneNumber
	//	*PostOauth2LoginByPasswordRequest_Email
	//	*PostOauth2LoginByPasswordRequest_Login
	Type isPostOauth2LoginByPasswordRequest_Type `protobuf_oneof:"type"`
	// Пароль
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// Ответ на капчу
	CaptchaAnswer *CaptchaAnswer `protobuf:"bytes,5,opt,name=captcha_answer,json=captchaAnswer,proto3" json:"captcha_answer,omitempty"`
	// Идентификатор текущей попытки логина пользователя
	LoginChallenge string `protobuf:"bytes,6,opt,name=login_challenge,json=loginChallenge,proto3" json:"login_challenge,omitempty"`
}

func (x *PostOauth2LoginByPasswordRequest) Reset() {
	*x = PostOauth2LoginByPasswordRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostOauth2LoginByPasswordRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostOauth2LoginByPasswordRequest) ProtoMessage() {}

func (x *PostOauth2LoginByPasswordRequest) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_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 PostOauth2LoginByPasswordRequest.ProtoReflect.Descriptor instead.
func (*PostOauth2LoginByPasswordRequest) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescGZIP(), []int{3}
}

func (m *PostOauth2LoginByPasswordRequest) GetType() isPostOauth2LoginByPasswordRequest_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *PostOauth2LoginByPasswordRequest) GetPhoneNumber() string {
	if x, ok := x.GetType().(*PostOauth2LoginByPasswordRequest_PhoneNumber); ok {
		return x.PhoneNumber
	}
	return ""
}

func (x *PostOauth2LoginByPasswordRequest) GetEmail() string {
	if x, ok := x.GetType().(*PostOauth2LoginByPasswordRequest_Email); ok {
		return x.Email
	}
	return ""
}

func (x *PostOauth2LoginByPasswordRequest) GetLogin() string {
	if x, ok := x.GetType().(*PostOauth2LoginByPasswordRequest_Login); ok {
		return x.Login
	}
	return ""
}

func (x *PostOauth2LoginByPasswordRequest) GetPassword() string {
	if x != nil {
		return x.Password
	}
	return ""
}

func (x *PostOauth2LoginByPasswordRequest) GetCaptchaAnswer() *CaptchaAnswer {
	if x != nil {
		return x.CaptchaAnswer
	}
	return nil
}

func (x *PostOauth2LoginByPasswordRequest) GetLoginChallenge() string {
	if x != nil {
		return x.LoginChallenge
	}
	return ""
}

type isPostOauth2LoginByPasswordRequest_Type interface {
	isPostOauth2LoginByPasswordRequest_Type()
}

type PostOauth2LoginByPasswordRequest_PhoneNumber struct {
	// Номер телефона
	PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3,oneof"`
}

type PostOauth2LoginByPasswordRequest_Email struct {
	// Электронная почта
	Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"`
}

type PostOauth2LoginByPasswordRequest_Login struct {
	// Логин
	Login string `protobuf:"bytes,3,opt,name=login,proto3,oneof"`
}

func (*PostOauth2LoginByPasswordRequest_PhoneNumber) isPostOauth2LoginByPasswordRequest_Type() {}

func (*PostOauth2LoginByPasswordRequest_Email) isPostOauth2LoginByPasswordRequest_Type() {}

func (*PostOauth2LoginByPasswordRequest_Login) isPostOauth2LoginByPasswordRequest_Type() {}

// Ответ на запрос об авторизации по паролю пользователя
type PostOauth2LoginByPasswordResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип результата
	//
	// Types that are assignable to Type:
	//
	//	*PostOauth2LoginByPasswordResponse_Error_
	Type isPostOauth2LoginByPasswordResponse_Type `protobuf_oneof:"type"`
}

func (x *PostOauth2LoginByPasswordResponse) Reset() {
	*x = PostOauth2LoginByPasswordResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostOauth2LoginByPasswordResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostOauth2LoginByPasswordResponse) ProtoMessage() {}

func (x *PostOauth2LoginByPasswordResponse) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_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 PostOauth2LoginByPasswordResponse.ProtoReflect.Descriptor instead.
func (*PostOauth2LoginByPasswordResponse) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescGZIP(), []int{4}
}

func (m *PostOauth2LoginByPasswordResponse) GetType() isPostOauth2LoginByPasswordResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *PostOauth2LoginByPasswordResponse) GetError() *PostOauth2LoginByPasswordResponse_Error {
	if x, ok := x.GetType().(*PostOauth2LoginByPasswordResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isPostOauth2LoginByPasswordResponse_Type interface {
	isPostOauth2LoginByPasswordResponse_Type()
}

type PostOauth2LoginByPasswordResponse_Error_ struct {
	// Ошибка
	Error *PostOauth2LoginByPasswordResponse_Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

func (*PostOauth2LoginByPasswordResponse_Error_) isPostOauth2LoginByPasswordResponse_Type() {}

// Запрос соглашения пользователя по процедуре OAuth2
type GetOauth2ConsentRequest struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Идентификатор текущей попытки запроса соглашения пользователя
	ConsentChallenge string `protobuf:"bytes,1,opt,name=consent_challenge,json=consentChallenge,proto3" json:"consent_challenge,omitempty"`
}

func (x *GetOauth2ConsentRequest) Reset() {
	*x = GetOauth2ConsentRequest{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetOauth2ConsentRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetOauth2ConsentRequest) ProtoMessage() {}

func (x *GetOauth2ConsentRequest) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_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 GetOauth2ConsentRequest.ProtoReflect.Descriptor instead.
func (*GetOauth2ConsentRequest) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescGZIP(), []int{5}
}

func (x *GetOauth2ConsentRequest) GetConsentChallenge() string {
	if x != nil {
		return x.ConsentChallenge
	}
	return ""
}

// Ответ на запрос соглашения пользователя по процедуре OAuth2
type GetOauth2ConsentResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Тип результата
	//
	// Types that are assignable to Type:
	//
	//	*GetOauth2ConsentResponse_Error_
	Type isGetOauth2ConsentResponse_Type `protobuf_oneof:"type"`
}

func (x *GetOauth2ConsentResponse) Reset() {
	*x = GetOauth2ConsentResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetOauth2ConsentResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetOauth2ConsentResponse) ProtoMessage() {}

func (x *GetOauth2ConsentResponse) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_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 GetOauth2ConsentResponse.ProtoReflect.Descriptor instead.
func (*GetOauth2ConsentResponse) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescGZIP(), []int{6}
}

func (m *GetOauth2ConsentResponse) GetType() isGetOauth2ConsentResponse_Type {
	if m != nil {
		return m.Type
	}
	return nil
}

func (x *GetOauth2ConsentResponse) GetError() *GetOauth2ConsentResponse_Error {
	if x, ok := x.GetType().(*GetOauth2ConsentResponse_Error_); ok {
		return x.Error
	}
	return nil
}

type isGetOauth2ConsentResponse_Type interface {
	isGetOauth2ConsentResponse_Type()
}

type GetOauth2ConsentResponse_Error_ struct {
	// Ошибка
	Error *GetOauth2ConsentResponse_Error `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

func (*GetOauth2ConsentResponse_Error_) isGetOauth2ConsentResponse_Type() {}

// Ошибки авторизационного сервиса
type AuthServiceError_AuthError struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *AuthServiceError_AuthError) Reset() {
	*x = AuthServiceError_AuthError{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *AuthServiceError_AuthError) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AuthServiceError_AuthError) ProtoMessage() {}

func (x *AuthServiceError_AuthError) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_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 AuthServiceError_AuthError.ProtoReflect.Descriptor instead.
func (*AuthServiceError_AuthError) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescGZIP(), []int{0, 0}
}

// Ошибка запроса авторизации пользователя
type PostOauth2LoginByCodeResponse_Error struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*PostOauth2LoginByCodeResponse_Error_OtpCode
	//	*PostOauth2LoginByCodeResponse_Error_Sso
	//	*PostOauth2LoginByCodeResponse_Error_Key
	//	*PostOauth2LoginByCodeResponse_Error_AuthService
	Reason isPostOauth2LoginByCodeResponse_Error_Reason `protobuf_oneof:"reason"`
}

func (x *PostOauth2LoginByCodeResponse_Error) Reset() {
	*x = PostOauth2LoginByCodeResponse_Error{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[8]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostOauth2LoginByCodeResponse_Error) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostOauth2LoginByCodeResponse_Error) ProtoMessage() {}

func (x *PostOauth2LoginByCodeResponse_Error) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_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 PostOauth2LoginByCodeResponse_Error.ProtoReflect.Descriptor instead.
func (*PostOauth2LoginByCodeResponse_Error) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescGZIP(), []int{2, 0}
}

func (m *PostOauth2LoginByCodeResponse_Error) GetReason() isPostOauth2LoginByCodeResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *PostOauth2LoginByCodeResponse_Error) GetOtpCode() *OtpCode_Error {
	if x, ok := x.GetReason().(*PostOauth2LoginByCodeResponse_Error_OtpCode); ok {
		return x.OtpCode
	}
	return nil
}

func (x *PostOauth2LoginByCodeResponse_Error) GetSso() *SsoError {
	if x, ok := x.GetReason().(*PostOauth2LoginByCodeResponse_Error_Sso); ok {
		return x.Sso
	}
	return nil
}

func (x *PostOauth2LoginByCodeResponse_Error) GetKey() *KeyError {
	if x, ok := x.GetReason().(*PostOauth2LoginByCodeResponse_Error_Key); ok {
		return x.Key
	}
	return nil
}

func (x *PostOauth2LoginByCodeResponse_Error) GetAuthService() *AuthServiceError {
	if x, ok := x.GetReason().(*PostOauth2LoginByCodeResponse_Error_AuthService); ok {
		return x.AuthService
	}
	return nil
}

type isPostOauth2LoginByCodeResponse_Error_Reason interface {
	isPostOauth2LoginByCodeResponse_Error_Reason()
}

type PostOauth2LoginByCodeResponse_Error_OtpCode struct {
	// Ошибка отп-кода
	OtpCode *OtpCode_Error `protobuf:"bytes,1,opt,name=otp_code,json=otpCode,proto3,oneof"`
}

type PostOauth2LoginByCodeResponse_Error_Sso struct {
	// Ошибка из ССО
	Sso *SsoError `protobuf:"bytes,2,opt,name=sso,proto3,oneof"`
}

type PostOauth2LoginByCodeResponse_Error_Key struct {
	// Ошибки сервисов ключа
	Key *KeyError `protobuf:"bytes,3,opt,name=key,proto3,oneof"`
}

type PostOauth2LoginByCodeResponse_Error_AuthService struct {
	// Ошибки авторизационного сервиса
	AuthService *AuthServiceError `protobuf:"bytes,4,opt,name=auth_service,json=authService,proto3,oneof"`
}

func (*PostOauth2LoginByCodeResponse_Error_OtpCode) isPostOauth2LoginByCodeResponse_Error_Reason() {}

func (*PostOauth2LoginByCodeResponse_Error_Sso) isPostOauth2LoginByCodeResponse_Error_Reason() {}

func (*PostOauth2LoginByCodeResponse_Error_Key) isPostOauth2LoginByCodeResponse_Error_Reason() {}

func (*PostOauth2LoginByCodeResponse_Error_AuthService) isPostOauth2LoginByCodeResponse_Error_Reason() {
}

// Ошибка запроса авторизации пользователя
type PostOauth2LoginByPasswordResponse_Error struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*PostOauth2LoginByPasswordResponse_Error_CaptchaAnswer
	//	*PostOauth2LoginByPasswordResponse_Error_Sso
	//	*PostOauth2LoginByPasswordResponse_Error_Key
	//	*PostOauth2LoginByPasswordResponse_Error_AuthService
	Reason isPostOauth2LoginByPasswordResponse_Error_Reason `protobuf_oneof:"reason"`
}

func (x *PostOauth2LoginByPasswordResponse_Error) Reset() {
	*x = PostOauth2LoginByPasswordResponse_Error{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[9]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *PostOauth2LoginByPasswordResponse_Error) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PostOauth2LoginByPasswordResponse_Error) ProtoMessage() {}

func (x *PostOauth2LoginByPasswordResponse_Error) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_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 PostOauth2LoginByPasswordResponse_Error.ProtoReflect.Descriptor instead.
func (*PostOauth2LoginByPasswordResponse_Error) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescGZIP(), []int{4, 0}
}

func (m *PostOauth2LoginByPasswordResponse_Error) GetReason() isPostOauth2LoginByPasswordResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *PostOauth2LoginByPasswordResponse_Error) GetCaptchaAnswer() *CaptchaAnswer_Error {
	if x, ok := x.GetReason().(*PostOauth2LoginByPasswordResponse_Error_CaptchaAnswer); ok {
		return x.CaptchaAnswer
	}
	return nil
}

func (x *PostOauth2LoginByPasswordResponse_Error) GetSso() *SsoError {
	if x, ok := x.GetReason().(*PostOauth2LoginByPasswordResponse_Error_Sso); ok {
		return x.Sso
	}
	return nil
}

func (x *PostOauth2LoginByPasswordResponse_Error) GetKey() *KeyError {
	if x, ok := x.GetReason().(*PostOauth2LoginByPasswordResponse_Error_Key); ok {
		return x.Key
	}
	return nil
}

func (x *PostOauth2LoginByPasswordResponse_Error) GetAuthService() *AuthServiceError {
	if x, ok := x.GetReason().(*PostOauth2LoginByPasswordResponse_Error_AuthService); ok {
		return x.AuthService
	}
	return nil
}

type isPostOauth2LoginByPasswordResponse_Error_Reason interface {
	isPostOauth2LoginByPasswordResponse_Error_Reason()
}

type PostOauth2LoginByPasswordResponse_Error_CaptchaAnswer struct {
	// Ошибка капчи
	CaptchaAnswer *CaptchaAnswer_Error `protobuf:"bytes,1,opt,name=captcha_answer,json=captchaAnswer,proto3,oneof"`
}

type PostOauth2LoginByPasswordResponse_Error_Sso struct {
	// Ошибка из ССО
	Sso *SsoError `protobuf:"bytes,2,opt,name=sso,proto3,oneof"`
}

type PostOauth2LoginByPasswordResponse_Error_Key struct {
	// Ошибки сервисов ключа
	Key *KeyError `protobuf:"bytes,3,opt,name=key,proto3,oneof"`
}

type PostOauth2LoginByPasswordResponse_Error_AuthService struct {
	// Ошибки авторизационного сервиса
	AuthService *AuthServiceError `protobuf:"bytes,4,opt,name=auth_service,json=authService,proto3,oneof"`
}

func (*PostOauth2LoginByPasswordResponse_Error_CaptchaAnswer) isPostOauth2LoginByPasswordResponse_Error_Reason() {
}

func (*PostOauth2LoginByPasswordResponse_Error_Sso) isPostOauth2LoginByPasswordResponse_Error_Reason() {
}

func (*PostOauth2LoginByPasswordResponse_Error_Key) isPostOauth2LoginByPasswordResponse_Error_Reason() {
}

func (*PostOauth2LoginByPasswordResponse_Error_AuthService) isPostOauth2LoginByPasswordResponse_Error_Reason() {
}

// Ошибка запроса авторизации пользователя
type GetOauth2ConsentResponse_Error struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Причина ошибки
	//
	// Types that are assignable to Reason:
	//
	//	*GetOauth2ConsentResponse_Error_AuthService
	Reason isGetOauth2ConsentResponse_Error_Reason `protobuf_oneof:"reason"`
}

func (x *GetOauth2ConsentResponse_Error) Reset() {
	*x = GetOauth2ConsentResponse_Error{}
	if protoimpl.UnsafeEnabled {
		mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[10]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetOauth2ConsentResponse_Error) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetOauth2ConsentResponse_Error) ProtoMessage() {}

func (x *GetOauth2ConsentResponse_Error) ProtoReflect() protoreflect.Message {
	mi := &file_keyapis_identity_v1_keyapis_identity_oauth2_v1_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 GetOauth2ConsentResponse_Error.ProtoReflect.Descriptor instead.
func (*GetOauth2ConsentResponse_Error) Descriptor() ([]byte, []int) {
	return file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescGZIP(), []int{6, 0}
}

func (m *GetOauth2ConsentResponse_Error) GetReason() isGetOauth2ConsentResponse_Error_Reason {
	if m != nil {
		return m.Reason
	}
	return nil
}

func (x *GetOauth2ConsentResponse_Error) GetAuthService() *AuthServiceError {
	if x, ok := x.GetReason().(*GetOauth2ConsentResponse_Error_AuthService); ok {
		return x.AuthService
	}
	return nil
}

type isGetOauth2ConsentResponse_Error_Reason interface {
	isGetOauth2ConsentResponse_Error_Reason()
}

type GetOauth2ConsentResponse_Error_AuthService struct {
	// Ошибки авторизационного сервиса
	AuthService *AuthServiceError `protobuf:"bytes,1,opt,name=auth_service,json=authService,proto3,oneof"`
}

func (*GetOauth2ConsentResponse_Error_AuthService) isGetOauth2ConsentResponse_Error_Reason() {}

var File_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto protoreflect.FileDescriptor

var file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDesc = []byte{
	0x0a, 0x34, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
	0x74, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x69, 0x64,
	0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x5f, 0x76, 0x31,
	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e,
	0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 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, 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, 0x3b, 0x6b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x31,
	0x2f, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
	0x79, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
	0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x10, 0x41, 0x75, 0x74, 0x68,
	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x45, 0x0a, 0x04,
	0x61, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31,
	0x2e, 0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f,
	0x72, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x04, 0x61,
	0x75, 0x74, 0x68, 0x1a, 0x0b, 0x0a, 0x09, 0x41, 0x75, 0x74, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72,
	0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x83, 0x01, 0x0a, 0x1c, 0x50,
	0x6f, 0x73, 0x74, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x42, 0x79,
	0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x07, 0x63,
	0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
	0x02, 0x52, 0x06, 0x63, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x63, 0x6f, 0x64,
	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x63, 0x6f,
	0x64, 0x65, 0x12, 0x2c, 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6c,
	0x6c, 0x65, 0x6e, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02,
	0x52, 0x0e, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65,
	0x22, 0x80, 0x03, 0x0a, 0x1d, 0x50, 0x6f, 0x73, 0x74, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x4c,
	0x6f, 0x67, 0x69, 0x6e, 0x42, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x12, 0x50, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x0b, 0x32, 0x38, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e,
	0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x4f, 0x61, 0x75, 0x74,
	0x68, 0x32, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x42, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73,
	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65,
	0x72, 0x72, 0x6f, 0x72, 0x1a, 0x84, 0x02, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x3f,
	0x0a, 0x08, 0x6f, 0x74, 0x70, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
	0x32, 0x22, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74,
	0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x74, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x2e, 0x45,
	0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x74, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12,
	0x31, 0x0a, 0x03, 0x73, 0x73, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e,
	0x76, 0x31, 0x2e, 0x53, 0x73, 0x6f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x03, 0x73,
	0x73, 0x6f, 0x12, 0x31, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
	0x1d, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
	0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00,
	0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4a, 0x0a, 0x0c, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x65,
	0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76,
	0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x72, 0x72,
	0x6f, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x74,
	0x79, 0x70, 0x65, 0x22, 0x9e, 0x02, 0x0a, 0x20, 0x50, 0x6f, 0x73, 0x74, 0x4f, 0x61, 0x75, 0x74,
	0x68, 0x32, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x42, 0x79, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
	0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e,
	0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
	0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x0a,
	0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05,
	0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x05, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x03,
	0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1f, 0x0a,
	0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42,
	0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x4e,
	0x0a, 0x0e, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x5f, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72,
	0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73,
	0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x70,
	0x74, 0x63, 0x68, 0x61, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
	0x0d, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x2c,
	0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67,
	0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x6c, 0x6f,
	0x67, 0x69, 0x6e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x06, 0x0a, 0x04,
	0x74, 0x79, 0x70, 0x65, 0x22, 0x9a, 0x03, 0x0a, 0x21, 0x50, 0x6f, 0x73, 0x74, 0x4f, 0x61, 0x75,
	0x74, 0x68, 0x32, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x42, 0x79, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f,
	0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x05, 0x65, 0x72,
	0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x6b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e,
	0x50, 0x6f, 0x73, 0x74, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x42,
	0x79, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
	0x1a, 0x96, 0x02, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x51, 0x0a, 0x0e, 0x63, 0x61,
	0x70, 0x74, 0x63, 0x68, 0x61, 0x5f, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65,
	0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61,
	0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0d,
	0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, 0x31, 0x0a,
	0x03, 0x73, 0x73, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31,
	0x2e, 0x53, 0x73, 0x6f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x03, 0x73, 0x73, 0x6f,
	0x12, 0x31, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e,
	0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
	0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x03,
	0x6b, 0x65, 0x79, 0x12, 0x4a, 0x0a, 0x0c, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76,
	0x69, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e,
	0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72,
	0x48, 0x00, 0x52, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42,
	0x08, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70,
	0x65, 0x22, 0x4b, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x43, 0x6f,
	0x6e, 0x73, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x11,
	0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67,
	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x10, 0x63, 0x6f,
	0x6e, 0x73, 0x65, 0x6e, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x22, 0xce,
	0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x43, 0x6f, 0x6e, 0x73,
	0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x05, 0x65,
	0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31,
	0x2e, 0x47, 0x65, 0x74, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e,
	0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48,
	0x00, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x5d, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f,
	0x72, 0x12, 0x4a, 0x0a, 0x0c, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69,
	0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75,
	0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00,
	0x52, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x08, 0x0a,
	0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x32,
	0xa0, 0x04, 0x0a, 0x0d, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
	0x65, 0x12, 0xb0, 0x01, 0x0a, 0x15, 0x50, 0x6f, 0x73, 0x74, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x32,
	0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x42, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x31, 0x2e, 0x6b, 0x65,
	0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76,
	0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x4c, 0x6f, 0x67, 0x69,
	0x6e, 0x42, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32,
	0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
	0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x4c,
	0x6f, 0x67, 0x69, 0x6e, 0x42, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
	0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x3a, 0x01, 0x2a, 0x22, 0x25, 0x2f,
	0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f,
	0x6f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x62, 0x79, 0x5f,
	0x63, 0x6f, 0x64, 0x65, 0x12, 0xc0, 0x01, 0x0a, 0x19, 0x50, 0x6f, 0x73, 0x74, 0x4f, 0x61, 0x75,
	0x74, 0x68, 0x32, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x42, 0x79, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f,
	0x72, 0x64, 0x12, 0x35, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65,
	0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x4f, 0x61, 0x75,
	0x74, 0x68, 0x32, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x42, 0x79, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f,
	0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x6b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x2e,
	0x50, 0x6f, 0x73, 0x74, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x42,
	0x79, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
	0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x3a, 0x01, 0x2a, 0x22, 0x29, 0x2f, 0x69,
	0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6f,
	0x61, 0x75, 0x74, 0x68, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x62, 0x79, 0x5f, 0x70,
	0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x98, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4f,
	0x61, 0x75, 0x74, 0x68, 0x32, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x2e, 0x6b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e,
	0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x43, 0x6f, 0x6e, 0x73,
	0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x6b, 0x65, 0x79,
	0x61, 0x70, 0x69, 0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31,
	0x2e, 0x47, 0x65, 0x74, 0x4f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e,
	0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02,
	0x21, 0x12, 0x1f, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2f, 0x61, 0x70, 0x69,
	0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x65,
	0x6e, 0x74, 0x42, 0xa8, 0x01, 0x0a, 0x16, 0x72, 0x75, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x70, 0x69,
	0x73, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x16, 0x4b,
	0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x56, 0x31,
	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x03, 0x50, 0x00, 0x5a, 0x14, 0x2f, 0x6b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x76, 0x31, 0xd8,
	0x01, 0x01, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x11, 0x4b, 0x45, 0x59, 0x41, 0x50, 0x49, 0x53, 0x49,
	0x44, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x56, 0x31, 0xaa, 0x02, 0x13, 0x4b, 0x65, 0x79, 0x61,
	0x70, 0x69, 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x56, 0x31, 0xca,
	0x02, 0x13, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
	0x74, 0x79, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x15, 0x4b, 0x65, 0x79, 0x61, 0x70, 0x69, 0x73, 0x3a,
	0x3a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
	0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescOnce sync.Once
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescData = file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDesc
)

func file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescGZIP() []byte {
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescOnce.Do(func() {
		file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescData)
	})
	return file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDescData
}

var file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_goTypes = []interface{}{
	(*AuthServiceError)(nil),                        // 0: keyapis.identity.v1.AuthServiceError
	(*PostOauth2LoginByCodeRequest)(nil),            // 1: keyapis.identity.v1.PostOauth2LoginByCodeRequest
	(*PostOauth2LoginByCodeResponse)(nil),           // 2: keyapis.identity.v1.PostOauth2LoginByCodeResponse
	(*PostOauth2LoginByPasswordRequest)(nil),        // 3: keyapis.identity.v1.PostOauth2LoginByPasswordRequest
	(*PostOauth2LoginByPasswordResponse)(nil),       // 4: keyapis.identity.v1.PostOauth2LoginByPasswordResponse
	(*GetOauth2ConsentRequest)(nil),                 // 5: keyapis.identity.v1.GetOauth2ConsentRequest
	(*GetOauth2ConsentResponse)(nil),                // 6: keyapis.identity.v1.GetOauth2ConsentResponse
	(*AuthServiceError_AuthError)(nil),              // 7: keyapis.identity.v1.AuthServiceError.AuthError
	(*PostOauth2LoginByCodeResponse_Error)(nil),     // 8: keyapis.identity.v1.PostOauth2LoginByCodeResponse.Error
	(*PostOauth2LoginByPasswordResponse_Error)(nil), // 9: keyapis.identity.v1.PostOauth2LoginByPasswordResponse.Error
	(*GetOauth2ConsentResponse_Error)(nil),          // 10: keyapis.identity.v1.GetOauth2ConsentResponse.Error
	(*CaptchaAnswer)(nil),                           // 11: keyapis.identity.v1.CaptchaAnswer
	(*OtpCode_Error)(nil),                           // 12: keyapis.identity.v1.OtpCode.Error
	(*SsoError)(nil),                                // 13: keyapis.identity.v1.SsoError
	(*KeyError)(nil),                                // 14: keyapis.identity.v1.KeyError
	(*CaptchaAnswer_Error)(nil),                     // 15: keyapis.identity.v1.CaptchaAnswer.Error
}
var file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_depIdxs = []int32{
	7,  // 0: keyapis.identity.v1.AuthServiceError.auth:type_name -> keyapis.identity.v1.AuthServiceError.AuthError
	8,  // 1: keyapis.identity.v1.PostOauth2LoginByCodeResponse.error:type_name -> keyapis.identity.v1.PostOauth2LoginByCodeResponse.Error
	11, // 2: keyapis.identity.v1.PostOauth2LoginByPasswordRequest.captcha_answer:type_name -> keyapis.identity.v1.CaptchaAnswer
	9,  // 3: keyapis.identity.v1.PostOauth2LoginByPasswordResponse.error:type_name -> keyapis.identity.v1.PostOauth2LoginByPasswordResponse.Error
	10, // 4: keyapis.identity.v1.GetOauth2ConsentResponse.error:type_name -> keyapis.identity.v1.GetOauth2ConsentResponse.Error
	12, // 5: keyapis.identity.v1.PostOauth2LoginByCodeResponse.Error.otp_code:type_name -> keyapis.identity.v1.OtpCode.Error
	13, // 6: keyapis.identity.v1.PostOauth2LoginByCodeResponse.Error.sso:type_name -> keyapis.identity.v1.SsoError
	14, // 7: keyapis.identity.v1.PostOauth2LoginByCodeResponse.Error.key:type_name -> keyapis.identity.v1.KeyError
	0,  // 8: keyapis.identity.v1.PostOauth2LoginByCodeResponse.Error.auth_service:type_name -> keyapis.identity.v1.AuthServiceError
	15, // 9: keyapis.identity.v1.PostOauth2LoginByPasswordResponse.Error.captcha_answer:type_name -> keyapis.identity.v1.CaptchaAnswer.Error
	13, // 10: keyapis.identity.v1.PostOauth2LoginByPasswordResponse.Error.sso:type_name -> keyapis.identity.v1.SsoError
	14, // 11: keyapis.identity.v1.PostOauth2LoginByPasswordResponse.Error.key:type_name -> keyapis.identity.v1.KeyError
	0,  // 12: keyapis.identity.v1.PostOauth2LoginByPasswordResponse.Error.auth_service:type_name -> keyapis.identity.v1.AuthServiceError
	0,  // 13: keyapis.identity.v1.GetOauth2ConsentResponse.Error.auth_service:type_name -> keyapis.identity.v1.AuthServiceError
	1,  // 14: keyapis.identity.v1.Oauth2Service.PostOauth2LoginByCode:input_type -> keyapis.identity.v1.PostOauth2LoginByCodeRequest
	3,  // 15: keyapis.identity.v1.Oauth2Service.PostOauth2LoginByPassword:input_type -> keyapis.identity.v1.PostOauth2LoginByPasswordRequest
	5,  // 16: keyapis.identity.v1.Oauth2Service.GetOauth2Consent:input_type -> keyapis.identity.v1.GetOauth2ConsentRequest
	2,  // 17: keyapis.identity.v1.Oauth2Service.PostOauth2LoginByCode:output_type -> keyapis.identity.v1.PostOauth2LoginByCodeResponse
	4,  // 18: keyapis.identity.v1.Oauth2Service.PostOauth2LoginByPassword:output_type -> keyapis.identity.v1.PostOauth2LoginByPasswordResponse
	6,  // 19: keyapis.identity.v1.Oauth2Service.GetOauth2Consent:output_type -> keyapis.identity.v1.GetOauth2ConsentResponse
	17, // [17:20] is the sub-list for method output_type
	14, // [14:17] is the sub-list for method input_type
	14, // [14:14] is the sub-list for extension type_name
	14, // [14:14] is the sub-list for extension extendee
	0,  // [0:14] is the sub-list for field type_name
}

func init() { file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_init() }
func file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_init() {
	if File_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto != nil {
		return
	}
	file_keyapis_identity_v1_keyapis_identity_authorization_v1_proto_init()
	if !protoimpl.UnsafeEnabled {
		file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*AuthServiceError); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostOauth2LoginByCodeRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostOauth2LoginByCodeResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostOauth2LoginByPasswordRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostOauth2LoginByPasswordResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetOauth2ConsentRequest); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetOauth2ConsentResponse); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*AuthServiceError_AuthError); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostOauth2LoginByCodeResponse_Error); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*PostOauth2LoginByPasswordResponse_Error); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetOauth2ConsentResponse_Error); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[0].OneofWrappers = []interface{}{
		(*AuthServiceError_Auth)(nil),
	}
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[2].OneofWrappers = []interface{}{
		(*PostOauth2LoginByCodeResponse_Error_)(nil),
	}
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[3].OneofWrappers = []interface{}{
		(*PostOauth2LoginByPasswordRequest_PhoneNumber)(nil),
		(*PostOauth2LoginByPasswordRequest_Email)(nil),
		(*PostOauth2LoginByPasswordRequest_Login)(nil),
	}
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[4].OneofWrappers = []interface{}{
		(*PostOauth2LoginByPasswordResponse_Error_)(nil),
	}
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[6].OneofWrappers = []interface{}{
		(*GetOauth2ConsentResponse_Error_)(nil),
	}
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[8].OneofWrappers = []interface{}{
		(*PostOauth2LoginByCodeResponse_Error_OtpCode)(nil),
		(*PostOauth2LoginByCodeResponse_Error_Sso)(nil),
		(*PostOauth2LoginByCodeResponse_Error_Key)(nil),
		(*PostOauth2LoginByCodeResponse_Error_AuthService)(nil),
	}
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[9].OneofWrappers = []interface{}{
		(*PostOauth2LoginByPasswordResponse_Error_CaptchaAnswer)(nil),
		(*PostOauth2LoginByPasswordResponse_Error_Sso)(nil),
		(*PostOauth2LoginByPasswordResponse_Error_Key)(nil),
		(*PostOauth2LoginByPasswordResponse_Error_AuthService)(nil),
	}
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes[10].OneofWrappers = []interface{}{
		(*GetOauth2ConsentResponse_Error_AuthService)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   11,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_goTypes,
		DependencyIndexes: file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_depIdxs,
		MessageInfos:      file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_msgTypes,
	}.Build()
	File_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto = out.File
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_rawDesc = nil
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_goTypes = nil
	file_keyapis_identity_v1_keyapis_identity_oauth2_v1_proto_depIdxs = nil
}
