# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cs3/auth/provider/v1beta1/provider_api.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
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 cs3.auth.provider.v1beta1 import resources_pb2 as cs3_dot_auth_dot_provider_dot_v1beta1_dot_resources__pb2
from cs3.identity.user.v1beta1 import resources_pb2 as cs3_dot_identity_dot_user_dot_v1beta1_dot_resources__pb2
from cs3.rpc.v1beta1 import status_pb2 as cs3_dot_rpc_dot_v1beta1_dot_status__pb2
from cs3.types.v1beta1 import types_pb2 as cs3_dot_types_dot_v1beta1_dot_types__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,cs3/auth/provider/v1beta1/provider_api.proto\x12\x19\x63s3.auth.provider.v1beta1\x1a)cs3/auth/provider/v1beta1/resources.proto\x1a)cs3/identity/user/v1beta1/resources.proto\x1a\x1c\x63s3/rpc/v1beta1/status.proto\x1a\x1d\x63s3/types/v1beta1/types.proto\"j\n\x13\x41uthenticateRequest\x12)\n\x06opaque\x18\x01 \x01(\x0b\x32\x19.cs3.types.v1beta1.Opaque\x12\x11\n\tclient_id\x18\x02 \x01(\t\x12\x15\n\rclient_secret\x18\x03 \x01(\t\"\x99\x02\n\x14\x41uthenticateResponse\x12\'\n\x06status\x18\x01 \x01(\x0b\x32\x17.cs3.rpc.v1beta1.Status\x12-\n\x04user\x18\x02 \x01(\x0b\x32\x1f.cs3.identity.user.v1beta1.User\x12T\n\x0btoken_scope\x18\x03 \x03(\x0b\x32?.cs3.auth.provider.v1beta1.AuthenticateResponse.TokenScopeEntry\x1aS\n\x0fTokenScopeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .cs3.auth.provider.v1beta1.Scope:\x02\x38\x01\x32~\n\x0bProviderAPI\x12o\n\x0c\x41uthenticate\x12..cs3.auth.provider.v1beta1.AuthenticateRequest\x1a/.cs3.auth.provider.v1beta1.AuthenticateResponseB\x82\x01\n\x1d\x63om.cs3.auth.provider.v1beta1B\x10ProviderApiProtoP\x01Z\x0fproviderv1beta1\xa2\x02\x03\x43\x41P\xaa\x02\x19\x43s3.Auth.Provider.V1Beta1\xca\x02\x19\x43s3\\Auth\\Provider\\V1Beta1b\x06proto3')



_AUTHENTICATEREQUEST = DESCRIPTOR.message_types_by_name['AuthenticateRequest']
_AUTHENTICATERESPONSE = DESCRIPTOR.message_types_by_name['AuthenticateResponse']
_AUTHENTICATERESPONSE_TOKENSCOPEENTRY = _AUTHENTICATERESPONSE.nested_types_by_name['TokenScopeEntry']
AuthenticateRequest = _reflection.GeneratedProtocolMessageType('AuthenticateRequest', (_message.Message,), {
  'DESCRIPTOR' : _AUTHENTICATEREQUEST,
  '__module__' : 'cs3.auth.provider.v1beta1.provider_api_pb2'
  # @@protoc_insertion_point(class_scope:cs3.auth.provider.v1beta1.AuthenticateRequest)
  })
_sym_db.RegisterMessage(AuthenticateRequest)

AuthenticateResponse = _reflection.GeneratedProtocolMessageType('AuthenticateResponse', (_message.Message,), {

  'TokenScopeEntry' : _reflection.GeneratedProtocolMessageType('TokenScopeEntry', (_message.Message,), {
    'DESCRIPTOR' : _AUTHENTICATERESPONSE_TOKENSCOPEENTRY,
    '__module__' : 'cs3.auth.provider.v1beta1.provider_api_pb2'
    # @@protoc_insertion_point(class_scope:cs3.auth.provider.v1beta1.AuthenticateResponse.TokenScopeEntry)
    })
  ,
  'DESCRIPTOR' : _AUTHENTICATERESPONSE,
  '__module__' : 'cs3.auth.provider.v1beta1.provider_api_pb2'
  # @@protoc_insertion_point(class_scope:cs3.auth.provider.v1beta1.AuthenticateResponse)
  })
_sym_db.RegisterMessage(AuthenticateResponse)
_sym_db.RegisterMessage(AuthenticateResponse.TokenScopeEntry)

_PROVIDERAPI = DESCRIPTOR.services_by_name['ProviderAPI']
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\035com.cs3.auth.provider.v1beta1B\020ProviderApiProtoP\001Z\017providerv1beta1\242\002\003CAP\252\002\031Cs3.Auth.Provider.V1Beta1\312\002\031Cs3\\Auth\\Provider\\V1Beta1'
  _AUTHENTICATERESPONSE_TOKENSCOPEENTRY._options = None
  _AUTHENTICATERESPONSE_TOKENSCOPEENTRY._serialized_options = b'8\001'
  _AUTHENTICATEREQUEST._serialized_start=222
  _AUTHENTICATEREQUEST._serialized_end=328
  _AUTHENTICATERESPONSE._serialized_start=331
  _AUTHENTICATERESPONSE._serialized_end=612
  _AUTHENTICATERESPONSE_TOKENSCOPEENTRY._serialized_start=529
  _AUTHENTICATERESPONSE_TOKENSCOPEENTRY._serialized_end=612
  _PROVIDERAPI._serialized_start=614
  _PROVIDERAPI._serialized_end=740
# @@protoc_insertion_point(module_scope)
