# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: chatto/auth/v1/external_identity_auth.proto
# Protobuf Python Version: 7.34.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    7,
    34,
    1,
    '',
    'chatto/auth/v1/external_identity_auth.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
from chatto.api.v1 import external_identities_pb2 as chatto_dot_api_dot_v1_dot_external__identities__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+chatto/auth/v1/external_identity_auth.proto\x12\x0e\x63hatto.auth.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\'chatto/api/v1/external_identities.proto\"\x8a\x02\n\x17PendingExternalIdentity\x12\x36\n\x04kind\x18\x01 \x01(\x0e\x32(.chatto.auth.v1.ExternalIdentityFlowKind\x12\x13\n\x0bprovider_id\x18\x02 \x01(\t\x12\x15\n\rprovider_type\x18\x03 \x01(\t\x12\x16\n\x0eprovider_label\x18\x04 \x01(\t\x12\x16\n\x0everified_email\x18\x05 \x01(\t\x12\x12\n\nlogin_hint\x18\x06 \x01(\t\x12\x19\n\x11\x64isplay_name_hint\x18\x07 \x01(\t\x12\x15\n\rbound_user_id\x18\x08 \x01(\t\x12\x15\n\rredirect_path\x18\t \x01(\t\";\n!GetPendingExternalIdentityRequest\x12\x16\n\x05token\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"^\n\"GetPendingExternalIdentityResponse\x12\x38\n\x07pending\x18\x01 \x01(\x0b\x32\'.chatto.auth.v1.PendingExternalIdentity\"X\n$CreateExternalIdentityAccountRequest\x12\x16\n\x05token\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\x18\n\x05login\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x02\x18 \"V\n%CreateExternalIdentityAccountResponse\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\r\n\x05login\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\";\n!CancelExternalIdentityFlowRequest\x12\x16\n\x05token\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"7\n\"CancelExternalIdentityFlowResponse\x12\x11\n\tcancelled\x18\x01 \x01(\x08\"<\n\"ConfirmExternalIdentityLinkRequest\x12\x16\n\x05token\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"e\n#ConfirmExternalIdentityLinkResponse\x12>\n\x0flinked_identity\x18\x01 \x01(\x0b\x32%.chatto.api.v1.LinkedExternalIdentity*\xa5\x01\n\x18\x45xternalIdentityFlowKind\x12+\n\'EXTERNAL_IDENTITY_FLOW_KIND_UNSPECIFIED\x10\x00\x12.\n*EXTERNAL_IDENTITY_FLOW_KIND_CREATE_ACCOUNT\x10\x01\x12,\n(EXTERNAL_IDENTITY_FLOW_KIND_LINK_ACCOUNT\x10\x02\x32\xc1\x04\n\x1b\x45xternalIdentityAuthService\x12\x83\x01\n\x1aGetPendingExternalIdentity\x12\x31.chatto.auth.v1.GetPendingExternalIdentityRequest\x1a\x32.chatto.auth.v1.GetPendingExternalIdentityResponse\x12\x8c\x01\n\x1d\x43reateExternalIdentityAccount\x12\x34.chatto.auth.v1.CreateExternalIdentityAccountRequest\x1a\x35.chatto.auth.v1.CreateExternalIdentityAccountResponse\x12\x86\x01\n\x1b\x43onfirmExternalIdentityLink\x12\x32.chatto.auth.v1.ConfirmExternalIdentityLinkRequest\x1a\x33.chatto.auth.v1.ConfirmExternalIdentityLinkResponse\x12\x83\x01\n\x1a\x43\x61ncelExternalIdentityFlow\x12\x31.chatto.auth.v1.CancelExternalIdentityFlowRequest\x1a\x32.chatto.auth.v1.CancelExternalIdentityFlowResponseb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.auth.v1.external_identity_auth_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_GETPENDINGEXTERNALIDENTITYREQUEST'].fields_by_name['token']._loaded_options = None
  _globals['_GETPENDINGEXTERNALIDENTITYREQUEST'].fields_by_name['token']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_CREATEEXTERNALIDENTITYACCOUNTREQUEST'].fields_by_name['token']._loaded_options = None
  _globals['_CREATEEXTERNALIDENTITYACCOUNTREQUEST'].fields_by_name['token']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_CREATEEXTERNALIDENTITYACCOUNTREQUEST'].fields_by_name['login']._loaded_options = None
  _globals['_CREATEEXTERNALIDENTITYACCOUNTREQUEST'].fields_by_name['login']._serialized_options = b'\272H\006r\004\020\002\030 '
  _globals['_CANCELEXTERNALIDENTITYFLOWREQUEST'].fields_by_name['token']._loaded_options = None
  _globals['_CANCELEXTERNALIDENTITYFLOWREQUEST'].fields_by_name['token']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_CONFIRMEXTERNALIDENTITYLINKREQUEST'].fields_by_name['token']._loaded_options = None
  _globals['_CONFIRMEXTERNALIDENTITYLINKREQUEST'].fields_by_name['token']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_EXTERNALIDENTITYFLOWKIND']._serialized_start=1021
  _globals['_EXTERNALIDENTITYFLOWKIND']._serialized_end=1186
  _globals['_PENDINGEXTERNALIDENTITY']._serialized_start=134
  _globals['_PENDINGEXTERNALIDENTITY']._serialized_end=400
  _globals['_GETPENDINGEXTERNALIDENTITYREQUEST']._serialized_start=402
  _globals['_GETPENDINGEXTERNALIDENTITYREQUEST']._serialized_end=461
  _globals['_GETPENDINGEXTERNALIDENTITYRESPONSE']._serialized_start=463
  _globals['_GETPENDINGEXTERNALIDENTITYRESPONSE']._serialized_end=557
  _globals['_CREATEEXTERNALIDENTITYACCOUNTREQUEST']._serialized_start=559
  _globals['_CREATEEXTERNALIDENTITYACCOUNTREQUEST']._serialized_end=647
  _globals['_CREATEEXTERNALIDENTITYACCOUNTRESPONSE']._serialized_start=649
  _globals['_CREATEEXTERNALIDENTITYACCOUNTRESPONSE']._serialized_end=735
  _globals['_CANCELEXTERNALIDENTITYFLOWREQUEST']._serialized_start=737
  _globals['_CANCELEXTERNALIDENTITYFLOWREQUEST']._serialized_end=796
  _globals['_CANCELEXTERNALIDENTITYFLOWRESPONSE']._serialized_start=798
  _globals['_CANCELEXTERNALIDENTITYFLOWRESPONSE']._serialized_end=853
  _globals['_CONFIRMEXTERNALIDENTITYLINKREQUEST']._serialized_start=855
  _globals['_CONFIRMEXTERNALIDENTITYLINKREQUEST']._serialized_end=915
  _globals['_CONFIRMEXTERNALIDENTITYLINKRESPONSE']._serialized_start=917
  _globals['_CONFIRMEXTERNALIDENTITYLINKRESPONSE']._serialized_end=1018
  _globals['_EXTERNALIDENTITYAUTHSERVICE']._serialized_start=1189
  _globals['_EXTERNALIDENTITYAUTHSERVICE']._serialized_end=1766
# @@protoc_insertion_point(module_scope)
