# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: protos/v1/models/AuthModels.proto
# Protobuf Python Version: 6.31.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, 6, 31, 1, "", "protos/v1/models/AuthModels.proto"
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from protos.v1.models import (
    HostModels_pb2 as protos_dot_v1_dot_models_dot_HostModels__pb2,
)
from protos.v1.models import (
    AccountModels_pb2 as protos_dot_v1_dot_models_dot_AccountModels__pb2,
)


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
    b'\n!protos/v1/models/AuthModels.proto\x12\x0f\x64\x61isi.protos.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a!protos/v1/models/HostModels.proto\x1a$protos/v1/models/AccountModels.proto"\x95\x01\n\x16\x43reateClientKeyRequest\x12\x11\n\tSecretKey\x18\x01 \x01(\t\x12\x0f\n\x07OwnerId\x18\x02 \x01(\t\x12\x11\n\tOwnerName\x18\x03 \x01(\t\x12/\n\tOwnerRole\x18\x04 \x01(\x0e\x32\x1c.daisi.protos.v1.SystemRoles\x12\x13\n\x0b\x41\x63\x63\x65ssToIds\x18\x05 \x03(\t"p\n\x17\x43reateClientKeyResponse\x12\x11\n\tClientKey\x18\x01 \x01(\t\x12\x31\n\rKeyExpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07OwnerId\x18\x03 \x01(\t"@\n\x18ValidateClientKeyRequest\x12\x11\n\tSecretKey\x18\x01 \x01(\t\x12\x11\n\tClientKey\x18\x02 \x01(\t"\xa8\x02\n\x19ValidateClientKeyResponse\x12\x0f\n\x07IsValid\x18\x01 \x01(\x08\x12\x31\n\rKeyExpiration\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rFailureReason\x18\x03 \x01(\t\x12\x13\n\x06UserId\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08UserName\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x31\n\x08UserRole\x18\x06 \x01(\x0e\x32\x1a.daisi.protos.v1.UserRolesH\x02\x88\x01\x01\x12\x1a\n\rUserAccountId\x18\x07 \x01(\tH\x03\x88\x01\x01\x42\t\n\x07_UserIdB\x0b\n\t_UserNameB\x0b\n\t_UserRoleB\x10\n\x0e_UserAccountId"+\n\x13SendAuthCodeRequest\x12\x14\n\x0c\x45mailOrPhone\x18\x01 \x01(\t"=\n\x14SendAuthCodeResponse\x12\x0f\n\x07Success\x18\x01 \x01(\x08\x12\x14\n\x0c\x45rrorMessage\x18\x02 \x01(\t"c\n\x17ValidateAuthCodeRequest\x12\x11\n\tSecretKey\x18\x01 \x01(\t\x12\x14\n\x0c\x45mailOrPhone\x18\x02 \x01(\t\x12\x10\n\x08\x41uthCode\x18\x03 \x01(\t\x12\r\n\x05\x41ppId\x18\x04 \x01(\t"\xef\x01\n\x18ValidateAuthCodeResponse\x12\x0f\n\x07Success\x18\x01 \x01(\x08\x12\x14\n\x0c\x45rrorMessage\x18\x02 \x01(\t\x12\x11\n\tClientKey\x18\x03 \x01(\t\x12\x31\n\rKeyExpiration\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08UserName\x18\x05 \x01(\t\x12\x13\n\x0b\x41\x63\x63ountName\x18\x06 \x01(\t\x12\x11\n\tAccountId\x18\x07 \x01(\t\x12,\n\x08UserRole\x18\x08 \x01(\x0e\x32\x1a.daisi.protos.v1.UserRoles"\x1d\n\x1bGetAuthenticatedUserRequest"C\n\x1cGetAuthenticatedUserResponse\x12#\n\x04User\x18\x01 \x01(\x0b\x32\x15.daisi.protos.v1.User*e\n\x0bSystemRoles\x12\x19\n\x15SystemRolesHostDevice\x10\x00\x12\x12\n\x0eSystemRolesApp\x10\x01\x12\x12\n\x0eSystemRolesOrc\x10\x02\x12\x13\n\x0fSystemRolesUser\x10\x03\x62\x06proto3'
)

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(
    DESCRIPTOR, "protos.v1.models.AuthModels_pb2", _globals
)
if not _descriptor._USE_C_DESCRIPTORS:
    DESCRIPTOR._loaded_options = None
    _globals["_SYSTEMROLES"]._serialized_start = 1342
    _globals["_SYSTEMROLES"]._serialized_end = 1443
    _globals["_CREATECLIENTKEYREQUEST"]._serialized_start = 161
    _globals["_CREATECLIENTKEYREQUEST"]._serialized_end = 310
    _globals["_CREATECLIENTKEYRESPONSE"]._serialized_start = 312
    _globals["_CREATECLIENTKEYRESPONSE"]._serialized_end = 424
    _globals["_VALIDATECLIENTKEYREQUEST"]._serialized_start = 426
    _globals["_VALIDATECLIENTKEYREQUEST"]._serialized_end = 490
    _globals["_VALIDATECLIENTKEYRESPONSE"]._serialized_start = 493
    _globals["_VALIDATECLIENTKEYRESPONSE"]._serialized_end = 789
    _globals["_SENDAUTHCODEREQUEST"]._serialized_start = 791
    _globals["_SENDAUTHCODEREQUEST"]._serialized_end = 834
    _globals["_SENDAUTHCODERESPONSE"]._serialized_start = 836
    _globals["_SENDAUTHCODERESPONSE"]._serialized_end = 897
    _globals["_VALIDATEAUTHCODEREQUEST"]._serialized_start = 899
    _globals["_VALIDATEAUTHCODEREQUEST"]._serialized_end = 998
    _globals["_VALIDATEAUTHCODERESPONSE"]._serialized_start = 1001
    _globals["_VALIDATEAUTHCODERESPONSE"]._serialized_end = 1240
    _globals["_GETAUTHENTICATEDUSERREQUEST"]._serialized_start = 1242
    _globals["_GETAUTHENTICATEDUSERREQUEST"]._serialized_end = 1271
    _globals["_GETAUTHENTICATEDUSERRESPONSE"]._serialized_start = 1273
    _globals["_GETAUTHENTICATEDUSERRESPONSE"]._serialized_end = 1340
# @@protoc_insertion_point(module_scope)
