# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: IdentityService.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='IdentityService.proto',
  package='org.apache.custos.identity.service',
  syntax='proto3',
  serialized_options=b'P\001Z\004./pb',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x15IdentityService.proto\x12\"org.apache.custos.identity.service\x1a\x1cgoogle/protobuf/struct.proto\"\\\n\tAuthToken\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\t\x12\x39\n\x06\x63laims\x18\x02 \x03(\x0b\x32).org.apache.custos.identity.service.Claim\"#\n\x05\x43laim\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"v\n\x04User\x12\x0b\n\x03sub\x18\x01 \x01(\t\x12\x11\n\tfull_name\x18\x02 \x01(\t\x12\x12\n\nfirst_name\x18\x03 \x01(\t\x12\x11\n\tlast_name\x18\x04 \x01(\t\x12\x15\n\remail_address\x18\x05 \x01(\t\x12\x10\n\x08username\x18\x06 \x01(\t\"\xc1\x01\n\x0fGetTokenRequest\x12\x11\n\ttenant_id\x18\x01 \x01(\x03\x12\x11\n\tclient_id\x18\x02 \x01(\t\x12\x15\n\rclient_secret\x18\x03 \x01(\t\x12\x14\n\x0credirect_uri\x18\x04 \x01(\t\x12\x0c\n\x04\x63ode\x18\x06 \x01(\t\x12\x10\n\x08username\x18\x07 \x01(\t\x12\x10\n\x08password\x18\x08 \x01(\t\x12\x15\n\rrefresh_token\x18\t \x01(\t\x12\x12\n\ngrant_type\x18\n \x01(\t\"\xd3\x01\n\rTokenResponse\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\t\x12\x12\n\nexpires_in\x18\x02 \x01(\x01\x12\x1a\n\x12refresh_expires_in\x18\x03 \x01(\x01\x12\x15\n\rrefresh_token\x18\x04 \x01(\t\x12\x12\n\ntoken_type\x18\x05 \x01(\t\x12\x10\n\x08id_token\x18\x06 \x01(\t\x12\x19\n\x11not_before_policy\x18\x07 \x01(\x01\x12\x15\n\rsession_state\x18\x08 \x01(\t\x12\r\n\x05scope\x18\t \x01(\t\"x\n\x15\x41uthenticationRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x15\n\rclient_secret\x18\x02 \x01(\t\x12\x11\n\ttenant_id\x18\x03 \x01(\x03\x12\x10\n\x08username\x18\x04 \x01(\t\x12\x10\n\x08password\x18\x05 \x01(\t\"0\n\x17IsAuthenticatedResponse\x12\x15\n\rauthenticated\x18\x01 \x01(\x08\"^\n\x1fGetUserManagementSATokenRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x15\n\rclient_secret\x18\x02 \x01(\t\x12\x11\n\ttenant_id\x18\x03 \x01(\x03\"4\n\x1fGetAuthorizationEndpointRequest\x12\x11\n\ttenant_id\x18\x01 \x01(\x03\"7\n\x15\x41uthorizationResponse\x12\x1e\n\x16\x61uthorization_endpoint\x18\x02 \x01(\t\"S\n\x14GetOIDCConfiguration\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x15\n\rclient_secret\x18\x02 \x01(\t\x12\x11\n\ttenant_id\x18\x03 \x01(\x03\"M\n\x0eGetJWKSRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x15\n\rclient_secret\x18\x02 \x01(\t\x12\x11\n\ttenant_id\x18\x03 \x01(\x03\"g\n\x11\x45ndSessionRequest\x12\x11\n\tclient_id\x18\x01 \x01(\t\x12\x15\n\rclient_secret\x18\x02 \x01(\t\x12\x11\n\ttenant_id\x18\x03 \x01(\x03\x12\x15\n\rrefresh_token\x18\x04 \x01(\t\"!\n\x0fOperationStatus\x12\x0e\n\x06status\x18\x01 \x01(\x08\x32\x9f\n\n\x0fIdentityService\x12x\n\x0c\x61uthenticate\x12\x39.org.apache.custos.identity.service.AuthenticationRequest\x1a-.org.apache.custos.identity.service.AuthToken\x12}\n\x0fisAuthenticated\x12-.org.apache.custos.identity.service.AuthToken\x1a;.org.apache.custos.identity.service.IsAuthenticatedResponse\x12\x62\n\x07getUser\x12-.org.apache.custos.identity.service.AuthToken\x1a(.org.apache.custos.identity.service.User\x12\xa0\x01\n*getUserManagementServiceAccountAccessToken\x12\x43.org.apache.custos.identity.service.GetUserManagementSATokenRequest\x1a-.org.apache.custos.identity.service.AuthToken\x12X\n\x08getToken\x12\x33.org.apache.custos.identity.service.GetTokenRequest\x1a\x17.google.protobuf.Struct\x12\x96\x01\n\x14getAuthorizeEndpoint\x12\x43.org.apache.custos.identity.service.GetAuthorizationEndpointRequest\x1a\x39.org.apache.custos.identity.service.AuthorizationResponse\x12i\n\x14getOIDCConfiguration\x12\x38.org.apache.custos.identity.service.GetOIDCConfiguration\x1a\x17.google.protobuf.Struct\x12k\n\x1bgetTokenByPasswordGrantType\x12\x33.org.apache.custos.identity.service.GetTokenRequest\x1a\x17.google.protobuf.Struct\x12o\n\x1fgetTokenByRefreshTokenGrantType\x12\x33.org.apache.custos.identity.service.GetTokenRequest\x1a\x17.google.protobuf.Struct\x12V\n\x07getJWKS\x12\x32.org.apache.custos.identity.service.GetJWKSRequest\x1a\x17.google.protobuf.Struct\x12x\n\nendSession\x12\x35.org.apache.custos.identity.service.EndSessionRequest\x1a\x33.org.apache.custos.identity.service.OperationStatusB\x08P\x01Z\x04./pbb\x06proto3'
  ,
  dependencies=[google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,])




_AUTHTOKEN = _descriptor.Descriptor(
  name='AuthToken',
  full_name='org.apache.custos.identity.service.AuthToken',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='access_token', full_name='org.apache.custos.identity.service.AuthToken.access_token', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='claims', full_name='org.apache.custos.identity.service.AuthToken.claims', index=1,
      number=2, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=91,
  serialized_end=183,
)


_CLAIM = _descriptor.Descriptor(
  name='Claim',
  full_name='org.apache.custos.identity.service.Claim',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='org.apache.custos.identity.service.Claim.key', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='org.apache.custos.identity.service.Claim.value', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=185,
  serialized_end=220,
)


_USER = _descriptor.Descriptor(
  name='User',
  full_name='org.apache.custos.identity.service.User',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='sub', full_name='org.apache.custos.identity.service.User.sub', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='full_name', full_name='org.apache.custos.identity.service.User.full_name', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='first_name', full_name='org.apache.custos.identity.service.User.first_name', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='last_name', full_name='org.apache.custos.identity.service.User.last_name', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='email_address', full_name='org.apache.custos.identity.service.User.email_address', index=4,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='username', full_name='org.apache.custos.identity.service.User.username', index=5,
      number=6, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=222,
  serialized_end=340,
)


_GETTOKENREQUEST = _descriptor.Descriptor(
  name='GetTokenRequest',
  full_name='org.apache.custos.identity.service.GetTokenRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.identity.service.GetTokenRequest.tenant_id', index=0,
      number=1, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_id', full_name='org.apache.custos.identity.service.GetTokenRequest.client_id', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_secret', full_name='org.apache.custos.identity.service.GetTokenRequest.client_secret', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='redirect_uri', full_name='org.apache.custos.identity.service.GetTokenRequest.redirect_uri', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='code', full_name='org.apache.custos.identity.service.GetTokenRequest.code', index=4,
      number=6, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='username', full_name='org.apache.custos.identity.service.GetTokenRequest.username', index=5,
      number=7, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='password', full_name='org.apache.custos.identity.service.GetTokenRequest.password', index=6,
      number=8, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='refresh_token', full_name='org.apache.custos.identity.service.GetTokenRequest.refresh_token', index=7,
      number=9, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='grant_type', full_name='org.apache.custos.identity.service.GetTokenRequest.grant_type', index=8,
      number=10, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=343,
  serialized_end=536,
)


_TOKENRESPONSE = _descriptor.Descriptor(
  name='TokenResponse',
  full_name='org.apache.custos.identity.service.TokenResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='access_token', full_name='org.apache.custos.identity.service.TokenResponse.access_token', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='expires_in', full_name='org.apache.custos.identity.service.TokenResponse.expires_in', index=1,
      number=2, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='refresh_expires_in', full_name='org.apache.custos.identity.service.TokenResponse.refresh_expires_in', index=2,
      number=3, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='refresh_token', full_name='org.apache.custos.identity.service.TokenResponse.refresh_token', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='token_type', full_name='org.apache.custos.identity.service.TokenResponse.token_type', index=4,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='id_token', full_name='org.apache.custos.identity.service.TokenResponse.id_token', index=5,
      number=6, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='not_before_policy', full_name='org.apache.custos.identity.service.TokenResponse.not_before_policy', index=6,
      number=7, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='session_state', full_name='org.apache.custos.identity.service.TokenResponse.session_state', index=7,
      number=8, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='scope', full_name='org.apache.custos.identity.service.TokenResponse.scope', index=8,
      number=9, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=539,
  serialized_end=750,
)


_AUTHENTICATIONREQUEST = _descriptor.Descriptor(
  name='AuthenticationRequest',
  full_name='org.apache.custos.identity.service.AuthenticationRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='client_id', full_name='org.apache.custos.identity.service.AuthenticationRequest.client_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_secret', full_name='org.apache.custos.identity.service.AuthenticationRequest.client_secret', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.identity.service.AuthenticationRequest.tenant_id', index=2,
      number=3, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='username', full_name='org.apache.custos.identity.service.AuthenticationRequest.username', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='password', full_name='org.apache.custos.identity.service.AuthenticationRequest.password', index=4,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=752,
  serialized_end=872,
)


_ISAUTHENTICATEDRESPONSE = _descriptor.Descriptor(
  name='IsAuthenticatedResponse',
  full_name='org.apache.custos.identity.service.IsAuthenticatedResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='authenticated', full_name='org.apache.custos.identity.service.IsAuthenticatedResponse.authenticated', index=0,
      number=1, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=874,
  serialized_end=922,
)


_GETUSERMANAGEMENTSATOKENREQUEST = _descriptor.Descriptor(
  name='GetUserManagementSATokenRequest',
  full_name='org.apache.custos.identity.service.GetUserManagementSATokenRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='client_id', full_name='org.apache.custos.identity.service.GetUserManagementSATokenRequest.client_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_secret', full_name='org.apache.custos.identity.service.GetUserManagementSATokenRequest.client_secret', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.identity.service.GetUserManagementSATokenRequest.tenant_id', index=2,
      number=3, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=924,
  serialized_end=1018,
)


_GETAUTHORIZATIONENDPOINTREQUEST = _descriptor.Descriptor(
  name='GetAuthorizationEndpointRequest',
  full_name='org.apache.custos.identity.service.GetAuthorizationEndpointRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.identity.service.GetAuthorizationEndpointRequest.tenant_id', index=0,
      number=1, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1020,
  serialized_end=1072,
)


_AUTHORIZATIONRESPONSE = _descriptor.Descriptor(
  name='AuthorizationResponse',
  full_name='org.apache.custos.identity.service.AuthorizationResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='authorization_endpoint', full_name='org.apache.custos.identity.service.AuthorizationResponse.authorization_endpoint', index=0,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1074,
  serialized_end=1129,
)


_GETOIDCCONFIGURATION = _descriptor.Descriptor(
  name='GetOIDCConfiguration',
  full_name='org.apache.custos.identity.service.GetOIDCConfiguration',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='client_id', full_name='org.apache.custos.identity.service.GetOIDCConfiguration.client_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_secret', full_name='org.apache.custos.identity.service.GetOIDCConfiguration.client_secret', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.identity.service.GetOIDCConfiguration.tenant_id', index=2,
      number=3, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1131,
  serialized_end=1214,
)


_GETJWKSREQUEST = _descriptor.Descriptor(
  name='GetJWKSRequest',
  full_name='org.apache.custos.identity.service.GetJWKSRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='client_id', full_name='org.apache.custos.identity.service.GetJWKSRequest.client_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_secret', full_name='org.apache.custos.identity.service.GetJWKSRequest.client_secret', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.identity.service.GetJWKSRequest.tenant_id', index=2,
      number=3, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1216,
  serialized_end=1293,
)


_ENDSESSIONREQUEST = _descriptor.Descriptor(
  name='EndSessionRequest',
  full_name='org.apache.custos.identity.service.EndSessionRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='client_id', full_name='org.apache.custos.identity.service.EndSessionRequest.client_id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='client_secret', full_name='org.apache.custos.identity.service.EndSessionRequest.client_secret', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='tenant_id', full_name='org.apache.custos.identity.service.EndSessionRequest.tenant_id', index=2,
      number=3, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='refresh_token', full_name='org.apache.custos.identity.service.EndSessionRequest.refresh_token', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1295,
  serialized_end=1398,
)


_OPERATIONSTATUS = _descriptor.Descriptor(
  name='OperationStatus',
  full_name='org.apache.custos.identity.service.OperationStatus',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='status', full_name='org.apache.custos.identity.service.OperationStatus.status', index=0,
      number=1, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1400,
  serialized_end=1433,
)

_AUTHTOKEN.fields_by_name['claims'].message_type = _CLAIM
DESCRIPTOR.message_types_by_name['AuthToken'] = _AUTHTOKEN
DESCRIPTOR.message_types_by_name['Claim'] = _CLAIM
DESCRIPTOR.message_types_by_name['User'] = _USER
DESCRIPTOR.message_types_by_name['GetTokenRequest'] = _GETTOKENREQUEST
DESCRIPTOR.message_types_by_name['TokenResponse'] = _TOKENRESPONSE
DESCRIPTOR.message_types_by_name['AuthenticationRequest'] = _AUTHENTICATIONREQUEST
DESCRIPTOR.message_types_by_name['IsAuthenticatedResponse'] = _ISAUTHENTICATEDRESPONSE
DESCRIPTOR.message_types_by_name['GetUserManagementSATokenRequest'] = _GETUSERMANAGEMENTSATOKENREQUEST
DESCRIPTOR.message_types_by_name['GetAuthorizationEndpointRequest'] = _GETAUTHORIZATIONENDPOINTREQUEST
DESCRIPTOR.message_types_by_name['AuthorizationResponse'] = _AUTHORIZATIONRESPONSE
DESCRIPTOR.message_types_by_name['GetOIDCConfiguration'] = _GETOIDCCONFIGURATION
DESCRIPTOR.message_types_by_name['GetJWKSRequest'] = _GETJWKSREQUEST
DESCRIPTOR.message_types_by_name['EndSessionRequest'] = _ENDSESSIONREQUEST
DESCRIPTOR.message_types_by_name['OperationStatus'] = _OPERATIONSTATUS
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

AuthToken = _reflection.GeneratedProtocolMessageType('AuthToken', (_message.Message,), {
  'DESCRIPTOR' : _AUTHTOKEN,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.AuthToken)
  })
_sym_db.RegisterMessage(AuthToken)

Claim = _reflection.GeneratedProtocolMessageType('Claim', (_message.Message,), {
  'DESCRIPTOR' : _CLAIM,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.Claim)
  })
_sym_db.RegisterMessage(Claim)

User = _reflection.GeneratedProtocolMessageType('User', (_message.Message,), {
  'DESCRIPTOR' : _USER,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.User)
  })
_sym_db.RegisterMessage(User)

GetTokenRequest = _reflection.GeneratedProtocolMessageType('GetTokenRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETTOKENREQUEST,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.GetTokenRequest)
  })
_sym_db.RegisterMessage(GetTokenRequest)

TokenResponse = _reflection.GeneratedProtocolMessageType('TokenResponse', (_message.Message,), {
  'DESCRIPTOR' : _TOKENRESPONSE,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.TokenResponse)
  })
_sym_db.RegisterMessage(TokenResponse)

AuthenticationRequest = _reflection.GeneratedProtocolMessageType('AuthenticationRequest', (_message.Message,), {
  'DESCRIPTOR' : _AUTHENTICATIONREQUEST,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.AuthenticationRequest)
  })
_sym_db.RegisterMessage(AuthenticationRequest)

IsAuthenticatedResponse = _reflection.GeneratedProtocolMessageType('IsAuthenticatedResponse', (_message.Message,), {
  'DESCRIPTOR' : _ISAUTHENTICATEDRESPONSE,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.IsAuthenticatedResponse)
  })
_sym_db.RegisterMessage(IsAuthenticatedResponse)

GetUserManagementSATokenRequest = _reflection.GeneratedProtocolMessageType('GetUserManagementSATokenRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETUSERMANAGEMENTSATOKENREQUEST,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.GetUserManagementSATokenRequest)
  })
_sym_db.RegisterMessage(GetUserManagementSATokenRequest)

GetAuthorizationEndpointRequest = _reflection.GeneratedProtocolMessageType('GetAuthorizationEndpointRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETAUTHORIZATIONENDPOINTREQUEST,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.GetAuthorizationEndpointRequest)
  })
_sym_db.RegisterMessage(GetAuthorizationEndpointRequest)

AuthorizationResponse = _reflection.GeneratedProtocolMessageType('AuthorizationResponse', (_message.Message,), {
  'DESCRIPTOR' : _AUTHORIZATIONRESPONSE,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.AuthorizationResponse)
  })
_sym_db.RegisterMessage(AuthorizationResponse)

GetOIDCConfiguration = _reflection.GeneratedProtocolMessageType('GetOIDCConfiguration', (_message.Message,), {
  'DESCRIPTOR' : _GETOIDCCONFIGURATION,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.GetOIDCConfiguration)
  })
_sym_db.RegisterMessage(GetOIDCConfiguration)

GetJWKSRequest = _reflection.GeneratedProtocolMessageType('GetJWKSRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETJWKSREQUEST,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.GetJWKSRequest)
  })
_sym_db.RegisterMessage(GetJWKSRequest)

EndSessionRequest = _reflection.GeneratedProtocolMessageType('EndSessionRequest', (_message.Message,), {
  'DESCRIPTOR' : _ENDSESSIONREQUEST,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.EndSessionRequest)
  })
_sym_db.RegisterMessage(EndSessionRequest)

OperationStatus = _reflection.GeneratedProtocolMessageType('OperationStatus', (_message.Message,), {
  'DESCRIPTOR' : _OPERATIONSTATUS,
  '__module__' : 'IdentityService_pb2'
  # @@protoc_insertion_point(class_scope:org.apache.custos.identity.service.OperationStatus)
  })
_sym_db.RegisterMessage(OperationStatus)


DESCRIPTOR._options = None

_IDENTITYSERVICE = _descriptor.ServiceDescriptor(
  name='IdentityService',
  full_name='org.apache.custos.identity.service.IdentityService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=1436,
  serialized_end=2747,
  methods=[
  _descriptor.MethodDescriptor(
    name='authenticate',
    full_name='org.apache.custos.identity.service.IdentityService.authenticate',
    index=0,
    containing_service=None,
    input_type=_AUTHENTICATIONREQUEST,
    output_type=_AUTHTOKEN,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='isAuthenticated',
    full_name='org.apache.custos.identity.service.IdentityService.isAuthenticated',
    index=1,
    containing_service=None,
    input_type=_AUTHTOKEN,
    output_type=_ISAUTHENTICATEDRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getUser',
    full_name='org.apache.custos.identity.service.IdentityService.getUser',
    index=2,
    containing_service=None,
    input_type=_AUTHTOKEN,
    output_type=_USER,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getUserManagementServiceAccountAccessToken',
    full_name='org.apache.custos.identity.service.IdentityService.getUserManagementServiceAccountAccessToken',
    index=3,
    containing_service=None,
    input_type=_GETUSERMANAGEMENTSATOKENREQUEST,
    output_type=_AUTHTOKEN,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getToken',
    full_name='org.apache.custos.identity.service.IdentityService.getToken',
    index=4,
    containing_service=None,
    input_type=_GETTOKENREQUEST,
    output_type=google_dot_protobuf_dot_struct__pb2._STRUCT,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getAuthorizeEndpoint',
    full_name='org.apache.custos.identity.service.IdentityService.getAuthorizeEndpoint',
    index=5,
    containing_service=None,
    input_type=_GETAUTHORIZATIONENDPOINTREQUEST,
    output_type=_AUTHORIZATIONRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getOIDCConfiguration',
    full_name='org.apache.custos.identity.service.IdentityService.getOIDCConfiguration',
    index=6,
    containing_service=None,
    input_type=_GETOIDCCONFIGURATION,
    output_type=google_dot_protobuf_dot_struct__pb2._STRUCT,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getTokenByPasswordGrantType',
    full_name='org.apache.custos.identity.service.IdentityService.getTokenByPasswordGrantType',
    index=7,
    containing_service=None,
    input_type=_GETTOKENREQUEST,
    output_type=google_dot_protobuf_dot_struct__pb2._STRUCT,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getTokenByRefreshTokenGrantType',
    full_name='org.apache.custos.identity.service.IdentityService.getTokenByRefreshTokenGrantType',
    index=8,
    containing_service=None,
    input_type=_GETTOKENREQUEST,
    output_type=google_dot_protobuf_dot_struct__pb2._STRUCT,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='getJWKS',
    full_name='org.apache.custos.identity.service.IdentityService.getJWKS',
    index=9,
    containing_service=None,
    input_type=_GETJWKSREQUEST,
    output_type=google_dot_protobuf_dot_struct__pb2._STRUCT,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='endSession',
    full_name='org.apache.custos.identity.service.IdentityService.endSession',
    index=10,
    containing_service=None,
    input_type=_ENDSESSIONREQUEST,
    output_type=_OPERATIONSTATUS,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_IDENTITYSERVICE)

DESCRIPTOR.services_by_name['IdentityService'] = _IDENTITYSERVICE

# @@protoc_insertion_point(module_scope)
