chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -493,6 +493,102 @@ func (x *VerifyTokenResponse) GetSessionId() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type GetAccountRoleLevelRequest struct {
|
||||||
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetAccountRoleLevelRequest) Reset() {
|
||||||
|
*x = GetAccountRoleLevelRequest{}
|
||||||
|
mi := &file_identity_proto_msgTypes[8]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetAccountRoleLevelRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*GetAccountRoleLevelRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *GetAccountRoleLevelRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_identity_proto_msgTypes[8]
|
||||||
|
if x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use GetAccountRoleLevelRequest.ProtoReflect.Descriptor instead.
|
||||||
|
func (*GetAccountRoleLevelRequest) Descriptor() ([]byte, []int) {
|
||||||
|
return file_identity_proto_rawDescGZIP(), []int{8}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetAccountRoleLevelRequest) GetAccountId() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.AccountId
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
type GetAccountRoleLevelResponse struct {
|
||||||
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
|
Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
|
||||||
|
RoleLevel int32 `protobuf:"varint,2,opt,name=role_level,json=roleLevel,proto3" json:"role_level,omitempty"`
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetAccountRoleLevelResponse) Reset() {
|
||||||
|
*x = GetAccountRoleLevelResponse{}
|
||||||
|
mi := &file_identity_proto_msgTypes[9]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetAccountRoleLevelResponse) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*GetAccountRoleLevelResponse) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *GetAccountRoleLevelResponse) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_identity_proto_msgTypes[9]
|
||||||
|
if x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use GetAccountRoleLevelResponse.ProtoReflect.Descriptor instead.
|
||||||
|
func (*GetAccountRoleLevelResponse) Descriptor() ([]byte, []int) {
|
||||||
|
return file_identity_proto_rawDescGZIP(), []int{9}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetAccountRoleLevelResponse) GetFound() bool {
|
||||||
|
if x != nil {
|
||||||
|
return x.Found
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetAccountRoleLevelResponse) GetRoleLevel() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.RoleLevel
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
type UnlockPinRequest struct {
|
type UnlockPinRequest struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
||||||
@@ -503,7 +599,7 @@ type UnlockPinRequest struct {
|
|||||||
|
|
||||||
func (x *UnlockPinRequest) Reset() {
|
func (x *UnlockPinRequest) Reset() {
|
||||||
*x = UnlockPinRequest{}
|
*x = UnlockPinRequest{}
|
||||||
mi := &file_identity_proto_msgTypes[8]
|
mi := &file_identity_proto_msgTypes[10]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -515,7 +611,7 @@ func (x *UnlockPinRequest) String() string {
|
|||||||
func (*UnlockPinRequest) ProtoMessage() {}
|
func (*UnlockPinRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *UnlockPinRequest) ProtoReflect() protoreflect.Message {
|
func (x *UnlockPinRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[8]
|
mi := &file_identity_proto_msgTypes[10]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -528,7 +624,7 @@ func (x *UnlockPinRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use UnlockPinRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use UnlockPinRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*UnlockPinRequest) Descriptor() ([]byte, []int) {
|
func (*UnlockPinRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{8}
|
return file_identity_proto_rawDescGZIP(), []int{10}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UnlockPinRequest) GetAccessToken() string {
|
func (x *UnlockPinRequest) GetAccessToken() string {
|
||||||
@@ -555,7 +651,7 @@ type UnlockPinResponse struct {
|
|||||||
|
|
||||||
func (x *UnlockPinResponse) Reset() {
|
func (x *UnlockPinResponse) Reset() {
|
||||||
*x = UnlockPinResponse{}
|
*x = UnlockPinResponse{}
|
||||||
mi := &file_identity_proto_msgTypes[9]
|
mi := &file_identity_proto_msgTypes[11]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -567,7 +663,7 @@ func (x *UnlockPinResponse) String() string {
|
|||||||
func (*UnlockPinResponse) ProtoMessage() {}
|
func (*UnlockPinResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *UnlockPinResponse) ProtoReflect() protoreflect.Message {
|
func (x *UnlockPinResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[9]
|
mi := &file_identity_proto_msgTypes[11]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -580,7 +676,7 @@ func (x *UnlockPinResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use UnlockPinResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use UnlockPinResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*UnlockPinResponse) Descriptor() ([]byte, []int) {
|
func (*UnlockPinResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{9}
|
return file_identity_proto_rawDescGZIP(), []int{11}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UnlockPinResponse) GetSuccess() bool {
|
func (x *UnlockPinResponse) GetSuccess() bool {
|
||||||
@@ -608,7 +704,7 @@ type Verify2FaRequest struct {
|
|||||||
|
|
||||||
func (x *Verify2FaRequest) Reset() {
|
func (x *Verify2FaRequest) Reset() {
|
||||||
*x = Verify2FaRequest{}
|
*x = Verify2FaRequest{}
|
||||||
mi := &file_identity_proto_msgTypes[10]
|
mi := &file_identity_proto_msgTypes[12]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -620,7 +716,7 @@ func (x *Verify2FaRequest) String() string {
|
|||||||
func (*Verify2FaRequest) ProtoMessage() {}
|
func (*Verify2FaRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *Verify2FaRequest) ProtoReflect() protoreflect.Message {
|
func (x *Verify2FaRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[10]
|
mi := &file_identity_proto_msgTypes[12]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -633,7 +729,7 @@ func (x *Verify2FaRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use Verify2FaRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use Verify2FaRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*Verify2FaRequest) Descriptor() ([]byte, []int) {
|
func (*Verify2FaRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{10}
|
return file_identity_proto_rawDescGZIP(), []int{12}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Verify2FaRequest) GetTempToken() string {
|
func (x *Verify2FaRequest) GetTempToken() string {
|
||||||
@@ -670,7 +766,7 @@ type Verify2FaResponse struct {
|
|||||||
|
|
||||||
func (x *Verify2FaResponse) Reset() {
|
func (x *Verify2FaResponse) Reset() {
|
||||||
*x = Verify2FaResponse{}
|
*x = Verify2FaResponse{}
|
||||||
mi := &file_identity_proto_msgTypes[11]
|
mi := &file_identity_proto_msgTypes[13]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -682,7 +778,7 @@ func (x *Verify2FaResponse) String() string {
|
|||||||
func (*Verify2FaResponse) ProtoMessage() {}
|
func (*Verify2FaResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *Verify2FaResponse) ProtoReflect() protoreflect.Message {
|
func (x *Verify2FaResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[11]
|
mi := &file_identity_proto_msgTypes[13]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -695,7 +791,7 @@ func (x *Verify2FaResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use Verify2FaResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use Verify2FaResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*Verify2FaResponse) Descriptor() ([]byte, []int) {
|
func (*Verify2FaResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{11}
|
return file_identity_proto_rawDescGZIP(), []int{13}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Verify2FaResponse) GetAccessToken() string {
|
func (x *Verify2FaResponse) GetAccessToken() string {
|
||||||
@@ -742,7 +838,7 @@ type AuthenticatedAccessRequest struct {
|
|||||||
|
|
||||||
func (x *AuthenticatedAccessRequest) Reset() {
|
func (x *AuthenticatedAccessRequest) Reset() {
|
||||||
*x = AuthenticatedAccessRequest{}
|
*x = AuthenticatedAccessRequest{}
|
||||||
mi := &file_identity_proto_msgTypes[12]
|
mi := &file_identity_proto_msgTypes[14]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -754,7 +850,7 @@ func (x *AuthenticatedAccessRequest) String() string {
|
|||||||
func (*AuthenticatedAccessRequest) ProtoMessage() {}
|
func (*AuthenticatedAccessRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *AuthenticatedAccessRequest) ProtoReflect() protoreflect.Message {
|
func (x *AuthenticatedAccessRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[12]
|
mi := &file_identity_proto_msgTypes[14]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -767,7 +863,7 @@ func (x *AuthenticatedAccessRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use AuthenticatedAccessRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use AuthenticatedAccessRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*AuthenticatedAccessRequest) Descriptor() ([]byte, []int) {
|
func (*AuthenticatedAccessRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{12}
|
return file_identity_proto_rawDescGZIP(), []int{14}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AuthenticatedAccessRequest) GetAccessToken() string {
|
func (x *AuthenticatedAccessRequest) GetAccessToken() string {
|
||||||
@@ -786,7 +882,7 @@ type GetTwoFaStatusRequest struct {
|
|||||||
|
|
||||||
func (x *GetTwoFaStatusRequest) Reset() {
|
func (x *GetTwoFaStatusRequest) Reset() {
|
||||||
*x = GetTwoFaStatusRequest{}
|
*x = GetTwoFaStatusRequest{}
|
||||||
mi := &file_identity_proto_msgTypes[13]
|
mi := &file_identity_proto_msgTypes[15]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -798,7 +894,7 @@ func (x *GetTwoFaStatusRequest) String() string {
|
|||||||
func (*GetTwoFaStatusRequest) ProtoMessage() {}
|
func (*GetTwoFaStatusRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *GetTwoFaStatusRequest) ProtoReflect() protoreflect.Message {
|
func (x *GetTwoFaStatusRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[13]
|
mi := &file_identity_proto_msgTypes[15]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -811,7 +907,7 @@ func (x *GetTwoFaStatusRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use GetTwoFaStatusRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use GetTwoFaStatusRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*GetTwoFaStatusRequest) Descriptor() ([]byte, []int) {
|
func (*GetTwoFaStatusRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{13}
|
return file_identity_proto_rawDescGZIP(), []int{15}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetTwoFaStatusRequest) GetAccessToken() string {
|
func (x *GetTwoFaStatusRequest) GetAccessToken() string {
|
||||||
@@ -833,7 +929,7 @@ type GetTwoFaStatusResponse struct {
|
|||||||
|
|
||||||
func (x *GetTwoFaStatusResponse) Reset() {
|
func (x *GetTwoFaStatusResponse) Reset() {
|
||||||
*x = GetTwoFaStatusResponse{}
|
*x = GetTwoFaStatusResponse{}
|
||||||
mi := &file_identity_proto_msgTypes[14]
|
mi := &file_identity_proto_msgTypes[16]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -845,7 +941,7 @@ func (x *GetTwoFaStatusResponse) String() string {
|
|||||||
func (*GetTwoFaStatusResponse) ProtoMessage() {}
|
func (*GetTwoFaStatusResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *GetTwoFaStatusResponse) ProtoReflect() protoreflect.Message {
|
func (x *GetTwoFaStatusResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[14]
|
mi := &file_identity_proto_msgTypes[16]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -858,7 +954,7 @@ func (x *GetTwoFaStatusResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use GetTwoFaStatusResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use GetTwoFaStatusResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*GetTwoFaStatusResponse) Descriptor() ([]byte, []int) {
|
func (*GetTwoFaStatusResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{14}
|
return file_identity_proto_rawDescGZIP(), []int{16}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetTwoFaStatusResponse) GetTotpEnabled() bool {
|
func (x *GetTwoFaStatusResponse) GetTotpEnabled() bool {
|
||||||
@@ -901,7 +997,7 @@ type StartTotpEnrollmentResponse struct {
|
|||||||
|
|
||||||
func (x *StartTotpEnrollmentResponse) Reset() {
|
func (x *StartTotpEnrollmentResponse) Reset() {
|
||||||
*x = StartTotpEnrollmentResponse{}
|
*x = StartTotpEnrollmentResponse{}
|
||||||
mi := &file_identity_proto_msgTypes[15]
|
mi := &file_identity_proto_msgTypes[17]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -913,7 +1009,7 @@ func (x *StartTotpEnrollmentResponse) String() string {
|
|||||||
func (*StartTotpEnrollmentResponse) ProtoMessage() {}
|
func (*StartTotpEnrollmentResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *StartTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
func (x *StartTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[15]
|
mi := &file_identity_proto_msgTypes[17]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -926,7 +1022,7 @@ func (x *StartTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use StartTotpEnrollmentResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use StartTotpEnrollmentResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*StartTotpEnrollmentResponse) Descriptor() ([]byte, []int) {
|
func (*StartTotpEnrollmentResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{15}
|
return file_identity_proto_rawDescGZIP(), []int{17}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StartTotpEnrollmentResponse) GetSecretBase32() string {
|
func (x *StartTotpEnrollmentResponse) GetSecretBase32() string {
|
||||||
@@ -967,7 +1063,7 @@ type ConfirmTotpEnrollmentRequest struct {
|
|||||||
|
|
||||||
func (x *ConfirmTotpEnrollmentRequest) Reset() {
|
func (x *ConfirmTotpEnrollmentRequest) Reset() {
|
||||||
*x = ConfirmTotpEnrollmentRequest{}
|
*x = ConfirmTotpEnrollmentRequest{}
|
||||||
mi := &file_identity_proto_msgTypes[16]
|
mi := &file_identity_proto_msgTypes[18]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -979,7 +1075,7 @@ func (x *ConfirmTotpEnrollmentRequest) String() string {
|
|||||||
func (*ConfirmTotpEnrollmentRequest) ProtoMessage() {}
|
func (*ConfirmTotpEnrollmentRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ConfirmTotpEnrollmentRequest) ProtoReflect() protoreflect.Message {
|
func (x *ConfirmTotpEnrollmentRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[16]
|
mi := &file_identity_proto_msgTypes[18]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -992,7 +1088,7 @@ func (x *ConfirmTotpEnrollmentRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ConfirmTotpEnrollmentRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ConfirmTotpEnrollmentRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ConfirmTotpEnrollmentRequest) Descriptor() ([]byte, []int) {
|
func (*ConfirmTotpEnrollmentRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{16}
|
return file_identity_proto_rawDescGZIP(), []int{18}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConfirmTotpEnrollmentRequest) GetAccessToken() string {
|
func (x *ConfirmTotpEnrollmentRequest) GetAccessToken() string {
|
||||||
@@ -1020,7 +1116,7 @@ type ConfirmTotpEnrollmentResponse struct {
|
|||||||
|
|
||||||
func (x *ConfirmTotpEnrollmentResponse) Reset() {
|
func (x *ConfirmTotpEnrollmentResponse) Reset() {
|
||||||
*x = ConfirmTotpEnrollmentResponse{}
|
*x = ConfirmTotpEnrollmentResponse{}
|
||||||
mi := &file_identity_proto_msgTypes[17]
|
mi := &file_identity_proto_msgTypes[19]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -1032,7 +1128,7 @@ func (x *ConfirmTotpEnrollmentResponse) String() string {
|
|||||||
func (*ConfirmTotpEnrollmentResponse) ProtoMessage() {}
|
func (*ConfirmTotpEnrollmentResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ConfirmTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
func (x *ConfirmTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[17]
|
mi := &file_identity_proto_msgTypes[19]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -1045,7 +1141,7 @@ func (x *ConfirmTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ConfirmTotpEnrollmentResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ConfirmTotpEnrollmentResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ConfirmTotpEnrollmentResponse) Descriptor() ([]byte, []int) {
|
func (*ConfirmTotpEnrollmentResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{17}
|
return file_identity_proto_rawDescGZIP(), []int{19}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConfirmTotpEnrollmentResponse) GetStatus() string {
|
func (x *ConfirmTotpEnrollmentResponse) GetStatus() string {
|
||||||
@@ -1079,7 +1175,7 @@ type CancelTotpEnrollmentResponse struct {
|
|||||||
|
|
||||||
func (x *CancelTotpEnrollmentResponse) Reset() {
|
func (x *CancelTotpEnrollmentResponse) Reset() {
|
||||||
*x = CancelTotpEnrollmentResponse{}
|
*x = CancelTotpEnrollmentResponse{}
|
||||||
mi := &file_identity_proto_msgTypes[18]
|
mi := &file_identity_proto_msgTypes[20]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -1091,7 +1187,7 @@ func (x *CancelTotpEnrollmentResponse) String() string {
|
|||||||
func (*CancelTotpEnrollmentResponse) ProtoMessage() {}
|
func (*CancelTotpEnrollmentResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *CancelTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
func (x *CancelTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[18]
|
mi := &file_identity_proto_msgTypes[20]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -1104,7 +1200,7 @@ func (x *CancelTotpEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use CancelTotpEnrollmentResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use CancelTotpEnrollmentResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*CancelTotpEnrollmentResponse) Descriptor() ([]byte, []int) {
|
func (*CancelTotpEnrollmentResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{18}
|
return file_identity_proto_rawDescGZIP(), []int{20}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CancelTotpEnrollmentResponse) GetStatus() string {
|
func (x *CancelTotpEnrollmentResponse) GetStatus() string {
|
||||||
@@ -1132,7 +1228,7 @@ type DisableTotpRequest struct {
|
|||||||
|
|
||||||
func (x *DisableTotpRequest) Reset() {
|
func (x *DisableTotpRequest) Reset() {
|
||||||
*x = DisableTotpRequest{}
|
*x = DisableTotpRequest{}
|
||||||
mi := &file_identity_proto_msgTypes[19]
|
mi := &file_identity_proto_msgTypes[21]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -1144,7 +1240,7 @@ func (x *DisableTotpRequest) String() string {
|
|||||||
func (*DisableTotpRequest) ProtoMessage() {}
|
func (*DisableTotpRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *DisableTotpRequest) ProtoReflect() protoreflect.Message {
|
func (x *DisableTotpRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[19]
|
mi := &file_identity_proto_msgTypes[21]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -1157,7 +1253,7 @@ func (x *DisableTotpRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use DisableTotpRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use DisableTotpRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*DisableTotpRequest) Descriptor() ([]byte, []int) {
|
func (*DisableTotpRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{19}
|
return file_identity_proto_rawDescGZIP(), []int{21}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DisableTotpRequest) GetAccessToken() string {
|
func (x *DisableTotpRequest) GetAccessToken() string {
|
||||||
@@ -1191,7 +1287,7 @@ type DisableTotpResponse struct {
|
|||||||
|
|
||||||
func (x *DisableTotpResponse) Reset() {
|
func (x *DisableTotpResponse) Reset() {
|
||||||
*x = DisableTotpResponse{}
|
*x = DisableTotpResponse{}
|
||||||
mi := &file_identity_proto_msgTypes[20]
|
mi := &file_identity_proto_msgTypes[22]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -1203,7 +1299,7 @@ func (x *DisableTotpResponse) String() string {
|
|||||||
func (*DisableTotpResponse) ProtoMessage() {}
|
func (*DisableTotpResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *DisableTotpResponse) ProtoReflect() protoreflect.Message {
|
func (x *DisableTotpResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[20]
|
mi := &file_identity_proto_msgTypes[22]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -1216,7 +1312,7 @@ func (x *DisableTotpResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use DisableTotpResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use DisableTotpResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*DisableTotpResponse) Descriptor() ([]byte, []int) {
|
func (*DisableTotpResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{20}
|
return file_identity_proto_rawDescGZIP(), []int{22}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DisableTotpResponse) GetStatus() string {
|
func (x *DisableTotpResponse) GetStatus() string {
|
||||||
@@ -1245,7 +1341,7 @@ type StartTelegramEnrollmentResponse struct {
|
|||||||
|
|
||||||
func (x *StartTelegramEnrollmentResponse) Reset() {
|
func (x *StartTelegramEnrollmentResponse) Reset() {
|
||||||
*x = StartTelegramEnrollmentResponse{}
|
*x = StartTelegramEnrollmentResponse{}
|
||||||
mi := &file_identity_proto_msgTypes[21]
|
mi := &file_identity_proto_msgTypes[23]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -1257,7 +1353,7 @@ func (x *StartTelegramEnrollmentResponse) String() string {
|
|||||||
func (*StartTelegramEnrollmentResponse) ProtoMessage() {}
|
func (*StartTelegramEnrollmentResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *StartTelegramEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
func (x *StartTelegramEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[21]
|
mi := &file_identity_proto_msgTypes[23]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -1270,7 +1366,7 @@ func (x *StartTelegramEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use StartTelegramEnrollmentResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use StartTelegramEnrollmentResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*StartTelegramEnrollmentResponse) Descriptor() ([]byte, []int) {
|
func (*StartTelegramEnrollmentResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{21}
|
return file_identity_proto_rawDescGZIP(), []int{23}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StartTelegramEnrollmentResponse) GetEnrollmentToken() string {
|
func (x *StartTelegramEnrollmentResponse) GetEnrollmentToken() string {
|
||||||
@@ -1312,7 +1408,7 @@ type ConfirmTelegramEnrollmentRequest struct {
|
|||||||
|
|
||||||
func (x *ConfirmTelegramEnrollmentRequest) Reset() {
|
func (x *ConfirmTelegramEnrollmentRequest) Reset() {
|
||||||
*x = ConfirmTelegramEnrollmentRequest{}
|
*x = ConfirmTelegramEnrollmentRequest{}
|
||||||
mi := &file_identity_proto_msgTypes[22]
|
mi := &file_identity_proto_msgTypes[24]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -1324,7 +1420,7 @@ func (x *ConfirmTelegramEnrollmentRequest) String() string {
|
|||||||
func (*ConfirmTelegramEnrollmentRequest) ProtoMessage() {}
|
func (*ConfirmTelegramEnrollmentRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ConfirmTelegramEnrollmentRequest) ProtoReflect() protoreflect.Message {
|
func (x *ConfirmTelegramEnrollmentRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[22]
|
mi := &file_identity_proto_msgTypes[24]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -1337,7 +1433,7 @@ func (x *ConfirmTelegramEnrollmentRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use ConfirmTelegramEnrollmentRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ConfirmTelegramEnrollmentRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*ConfirmTelegramEnrollmentRequest) Descriptor() ([]byte, []int) {
|
func (*ConfirmTelegramEnrollmentRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{22}
|
return file_identity_proto_rawDescGZIP(), []int{24}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConfirmTelegramEnrollmentRequest) GetAccessToken() string {
|
func (x *ConfirmTelegramEnrollmentRequest) GetAccessToken() string {
|
||||||
@@ -1372,7 +1468,7 @@ type ConfirmTelegramEnrollmentResponse struct {
|
|||||||
|
|
||||||
func (x *ConfirmTelegramEnrollmentResponse) Reset() {
|
func (x *ConfirmTelegramEnrollmentResponse) Reset() {
|
||||||
*x = ConfirmTelegramEnrollmentResponse{}
|
*x = ConfirmTelegramEnrollmentResponse{}
|
||||||
mi := &file_identity_proto_msgTypes[23]
|
mi := &file_identity_proto_msgTypes[25]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -1384,7 +1480,7 @@ func (x *ConfirmTelegramEnrollmentResponse) String() string {
|
|||||||
func (*ConfirmTelegramEnrollmentResponse) ProtoMessage() {}
|
func (*ConfirmTelegramEnrollmentResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *ConfirmTelegramEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
func (x *ConfirmTelegramEnrollmentResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[23]
|
mi := &file_identity_proto_msgTypes[25]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -1397,7 +1493,7 @@ func (x *ConfirmTelegramEnrollmentResponse) ProtoReflect() protoreflect.Message
|
|||||||
|
|
||||||
// Deprecated: Use ConfirmTelegramEnrollmentResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use ConfirmTelegramEnrollmentResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*ConfirmTelegramEnrollmentResponse) Descriptor() ([]byte, []int) {
|
func (*ConfirmTelegramEnrollmentResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{23}
|
return file_identity_proto_rawDescGZIP(), []int{25}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConfirmTelegramEnrollmentResponse) GetStatus() string {
|
func (x *ConfirmTelegramEnrollmentResponse) GetStatus() string {
|
||||||
@@ -1432,7 +1528,7 @@ type DisableTelegramRequest struct {
|
|||||||
|
|
||||||
func (x *DisableTelegramRequest) Reset() {
|
func (x *DisableTelegramRequest) Reset() {
|
||||||
*x = DisableTelegramRequest{}
|
*x = DisableTelegramRequest{}
|
||||||
mi := &file_identity_proto_msgTypes[24]
|
mi := &file_identity_proto_msgTypes[26]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -1444,7 +1540,7 @@ func (x *DisableTelegramRequest) String() string {
|
|||||||
func (*DisableTelegramRequest) ProtoMessage() {}
|
func (*DisableTelegramRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *DisableTelegramRequest) ProtoReflect() protoreflect.Message {
|
func (x *DisableTelegramRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[24]
|
mi := &file_identity_proto_msgTypes[26]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -1457,7 +1553,7 @@ func (x *DisableTelegramRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use DisableTelegramRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use DisableTelegramRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*DisableTelegramRequest) Descriptor() ([]byte, []int) {
|
func (*DisableTelegramRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{24}
|
return file_identity_proto_rawDescGZIP(), []int{26}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DisableTelegramRequest) GetAccessToken() string {
|
func (x *DisableTelegramRequest) GetAccessToken() string {
|
||||||
@@ -1491,7 +1587,7 @@ type DisableTelegramResponse struct {
|
|||||||
|
|
||||||
func (x *DisableTelegramResponse) Reset() {
|
func (x *DisableTelegramResponse) Reset() {
|
||||||
*x = DisableTelegramResponse{}
|
*x = DisableTelegramResponse{}
|
||||||
mi := &file_identity_proto_msgTypes[25]
|
mi := &file_identity_proto_msgTypes[27]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -1503,7 +1599,7 @@ func (x *DisableTelegramResponse) String() string {
|
|||||||
func (*DisableTelegramResponse) ProtoMessage() {}
|
func (*DisableTelegramResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *DisableTelegramResponse) ProtoReflect() protoreflect.Message {
|
func (x *DisableTelegramResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_identity_proto_msgTypes[25]
|
mi := &file_identity_proto_msgTypes[27]
|
||||||
if x != nil {
|
if x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -1516,7 +1612,7 @@ func (x *DisableTelegramResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use DisableTelegramResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use DisableTelegramResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*DisableTelegramResponse) Descriptor() ([]byte, []int) {
|
func (*DisableTelegramResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_identity_proto_rawDescGZIP(), []int{25}
|
return file_identity_proto_rawDescGZIP(), []int{27}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DisableTelegramResponse) GetStatus() string {
|
func (x *DisableTelegramResponse) GetStatus() string {
|
||||||
@@ -1576,7 +1672,14 @@ const file_identity_proto_rawDesc = "" +
|
|||||||
"role_level\x18\x05 \x01(\x05R\troleLevel\x12 \n" +
|
"role_level\x18\x05 \x01(\x05R\troleLevel\x12 \n" +
|
||||||
"\vpermissions\x18\x06 \x03(\tR\vpermissions\x12\x1d\n" +
|
"\vpermissions\x18\x06 \x03(\tR\vpermissions\x12\x1d\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"session_id\x18\a \x01(\tR\tsessionId\"P\n" +
|
"session_id\x18\a \x01(\tR\tsessionId\";\n" +
|
||||||
|
"\x1aGetAccountRoleLevelRequest\x12\x1d\n" +
|
||||||
|
"\n" +
|
||||||
|
"account_id\x18\x01 \x01(\tR\taccountId\"R\n" +
|
||||||
|
"\x1bGetAccountRoleLevelResponse\x12\x14\n" +
|
||||||
|
"\x05found\x18\x01 \x01(\bR\x05found\x12\x1d\n" +
|
||||||
|
"\n" +
|
||||||
|
"role_level\x18\x02 \x01(\x05R\troleLevel\"P\n" +
|
||||||
"\x10UnlockPinRequest\x12!\n" +
|
"\x10UnlockPinRequest\x12!\n" +
|
||||||
"\faccess_token\x18\x01 \x01(\tR\vaccessToken\x12\x19\n" +
|
"\faccess_token\x18\x01 \x01(\tR\vaccessToken\x12\x19\n" +
|
||||||
"\bpin_code\x18\x02 \x01(\tR\apinCode\"G\n" +
|
"\bpin_code\x18\x02 \x01(\tR\apinCode\"G\n" +
|
||||||
@@ -1651,11 +1754,12 @@ const file_identity_proto_rawDesc = "" +
|
|||||||
"\x12_telegram_otp_code\"K\n" +
|
"\x12_telegram_otp_code\"K\n" +
|
||||||
"\x17DisableTelegramResponse\x12\x16\n" +
|
"\x17DisableTelegramResponse\x12\x16\n" +
|
||||||
"\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n" +
|
"\x06status\x18\x01 \x01(\tR\x06status\x12\x18\n" +
|
||||||
"\amessage\x18\x02 \x01(\tR\amessage2\x9c\x03\n" +
|
"\amessage\x18\x02 \x01(\tR\amessage2\x80\x04\n" +
|
||||||
"\vAuthService\x128\n" +
|
"\vAuthService\x128\n" +
|
||||||
"\x05Login\x12\x16.identity.LoginRequest\x1a\x17.identity.LoginResponse\x12>\n" +
|
"\x05Login\x12\x16.identity.LoginRequest\x1a\x17.identity.LoginResponse\x12>\n" +
|
||||||
"\aRefresh\x12\x18.identity.RefreshRequest\x1a\x19.identity.RefreshResponse\x12J\n" +
|
"\aRefresh\x12\x18.identity.RefreshRequest\x1a\x19.identity.RefreshResponse\x12J\n" +
|
||||||
"\vVerifyToken\x12\x1c.identity.VerifyTokenRequest\x1a\x1d.identity.VerifyTokenResponse\x12;\n" +
|
"\vVerifyToken\x12\x1c.identity.VerifyTokenRequest\x1a\x1d.identity.VerifyTokenResponse\x12b\n" +
|
||||||
|
"\x13GetAccountRoleLevel\x12$.identity.GetAccountRoleLevelRequest\x1a%.identity.GetAccountRoleLevelResponse\x12;\n" +
|
||||||
"\x06Logout\x12\x17.identity.LogoutRequest\x1a\x18.identity.LogoutResponse\x12D\n" +
|
"\x06Logout\x12\x17.identity.LogoutRequest\x1a\x18.identity.LogoutResponse\x12D\n" +
|
||||||
"\tUnlockPin\x12\x1a.identity.UnlockPinRequest\x1a\x1b.identity.UnlockPinResponse\x12D\n" +
|
"\tUnlockPin\x12\x1a.identity.UnlockPinRequest\x1a\x1b.identity.UnlockPinResponse\x12D\n" +
|
||||||
"\tVerify2Fa\x12\x1a.identity.Verify2FaRequest\x1a\x1b.identity.Verify2FaResponse2\x9c\x06\n" +
|
"\tVerify2Fa\x12\x1a.identity.Verify2FaRequest\x1a\x1b.identity.Verify2FaResponse2\x9c\x06\n" +
|
||||||
@@ -1681,7 +1785,7 @@ func file_identity_proto_rawDescGZIP() []byte {
|
|||||||
return file_identity_proto_rawDescData
|
return file_identity_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
|
var file_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
|
||||||
var file_identity_proto_goTypes = []any{
|
var file_identity_proto_goTypes = []any{
|
||||||
(*LoginRequest)(nil), // 0: identity.LoginRequest
|
(*LoginRequest)(nil), // 0: identity.LoginRequest
|
||||||
(*LoginResponse)(nil), // 1: identity.LoginResponse
|
(*LoginResponse)(nil), // 1: identity.LoginResponse
|
||||||
@@ -1691,56 +1795,60 @@ var file_identity_proto_goTypes = []any{
|
|||||||
(*LogoutResponse)(nil), // 5: identity.LogoutResponse
|
(*LogoutResponse)(nil), // 5: identity.LogoutResponse
|
||||||
(*VerifyTokenRequest)(nil), // 6: identity.VerifyTokenRequest
|
(*VerifyTokenRequest)(nil), // 6: identity.VerifyTokenRequest
|
||||||
(*VerifyTokenResponse)(nil), // 7: identity.VerifyTokenResponse
|
(*VerifyTokenResponse)(nil), // 7: identity.VerifyTokenResponse
|
||||||
(*UnlockPinRequest)(nil), // 8: identity.UnlockPinRequest
|
(*GetAccountRoleLevelRequest)(nil), // 8: identity.GetAccountRoleLevelRequest
|
||||||
(*UnlockPinResponse)(nil), // 9: identity.UnlockPinResponse
|
(*GetAccountRoleLevelResponse)(nil), // 9: identity.GetAccountRoleLevelResponse
|
||||||
(*Verify2FaRequest)(nil), // 10: identity.Verify2FaRequest
|
(*UnlockPinRequest)(nil), // 10: identity.UnlockPinRequest
|
||||||
(*Verify2FaResponse)(nil), // 11: identity.Verify2FaResponse
|
(*UnlockPinResponse)(nil), // 11: identity.UnlockPinResponse
|
||||||
(*AuthenticatedAccessRequest)(nil), // 12: identity.AuthenticatedAccessRequest
|
(*Verify2FaRequest)(nil), // 12: identity.Verify2FaRequest
|
||||||
(*GetTwoFaStatusRequest)(nil), // 13: identity.GetTwoFaStatusRequest
|
(*Verify2FaResponse)(nil), // 13: identity.Verify2FaResponse
|
||||||
(*GetTwoFaStatusResponse)(nil), // 14: identity.GetTwoFaStatusResponse
|
(*AuthenticatedAccessRequest)(nil), // 14: identity.AuthenticatedAccessRequest
|
||||||
(*StartTotpEnrollmentResponse)(nil), // 15: identity.StartTotpEnrollmentResponse
|
(*GetTwoFaStatusRequest)(nil), // 15: identity.GetTwoFaStatusRequest
|
||||||
(*ConfirmTotpEnrollmentRequest)(nil), // 16: identity.ConfirmTotpEnrollmentRequest
|
(*GetTwoFaStatusResponse)(nil), // 16: identity.GetTwoFaStatusResponse
|
||||||
(*ConfirmTotpEnrollmentResponse)(nil), // 17: identity.ConfirmTotpEnrollmentResponse
|
(*StartTotpEnrollmentResponse)(nil), // 17: identity.StartTotpEnrollmentResponse
|
||||||
(*CancelTotpEnrollmentResponse)(nil), // 18: identity.CancelTotpEnrollmentResponse
|
(*ConfirmTotpEnrollmentRequest)(nil), // 18: identity.ConfirmTotpEnrollmentRequest
|
||||||
(*DisableTotpRequest)(nil), // 19: identity.DisableTotpRequest
|
(*ConfirmTotpEnrollmentResponse)(nil), // 19: identity.ConfirmTotpEnrollmentResponse
|
||||||
(*DisableTotpResponse)(nil), // 20: identity.DisableTotpResponse
|
(*CancelTotpEnrollmentResponse)(nil), // 20: identity.CancelTotpEnrollmentResponse
|
||||||
(*StartTelegramEnrollmentResponse)(nil), // 21: identity.StartTelegramEnrollmentResponse
|
(*DisableTotpRequest)(nil), // 21: identity.DisableTotpRequest
|
||||||
(*ConfirmTelegramEnrollmentRequest)(nil), // 22: identity.ConfirmTelegramEnrollmentRequest
|
(*DisableTotpResponse)(nil), // 22: identity.DisableTotpResponse
|
||||||
(*ConfirmTelegramEnrollmentResponse)(nil), // 23: identity.ConfirmTelegramEnrollmentResponse
|
(*StartTelegramEnrollmentResponse)(nil), // 23: identity.StartTelegramEnrollmentResponse
|
||||||
(*DisableTelegramRequest)(nil), // 24: identity.DisableTelegramRequest
|
(*ConfirmTelegramEnrollmentRequest)(nil), // 24: identity.ConfirmTelegramEnrollmentRequest
|
||||||
(*DisableTelegramResponse)(nil), // 25: identity.DisableTelegramResponse
|
(*ConfirmTelegramEnrollmentResponse)(nil), // 25: identity.ConfirmTelegramEnrollmentResponse
|
||||||
|
(*DisableTelegramRequest)(nil), // 26: identity.DisableTelegramRequest
|
||||||
|
(*DisableTelegramResponse)(nil), // 27: identity.DisableTelegramResponse
|
||||||
}
|
}
|
||||||
var file_identity_proto_depIdxs = []int32{
|
var file_identity_proto_depIdxs = []int32{
|
||||||
0, // 0: identity.AuthService.Login:input_type -> identity.LoginRequest
|
0, // 0: identity.AuthService.Login:input_type -> identity.LoginRequest
|
||||||
2, // 1: identity.AuthService.Refresh:input_type -> identity.RefreshRequest
|
2, // 1: identity.AuthService.Refresh:input_type -> identity.RefreshRequest
|
||||||
6, // 2: identity.AuthService.VerifyToken:input_type -> identity.VerifyTokenRequest
|
6, // 2: identity.AuthService.VerifyToken:input_type -> identity.VerifyTokenRequest
|
||||||
4, // 3: identity.AuthService.Logout:input_type -> identity.LogoutRequest
|
8, // 3: identity.AuthService.GetAccountRoleLevel:input_type -> identity.GetAccountRoleLevelRequest
|
||||||
8, // 4: identity.AuthService.UnlockPin:input_type -> identity.UnlockPinRequest
|
4, // 4: identity.AuthService.Logout:input_type -> identity.LogoutRequest
|
||||||
10, // 5: identity.AuthService.Verify2Fa:input_type -> identity.Verify2FaRequest
|
10, // 5: identity.AuthService.UnlockPin:input_type -> identity.UnlockPinRequest
|
||||||
13, // 6: identity.TwoFaService.GetTwoFaStatus:input_type -> identity.GetTwoFaStatusRequest
|
12, // 6: identity.AuthService.Verify2Fa:input_type -> identity.Verify2FaRequest
|
||||||
12, // 7: identity.TwoFaService.StartTotpEnrollment:input_type -> identity.AuthenticatedAccessRequest
|
15, // 7: identity.TwoFaService.GetTwoFaStatus:input_type -> identity.GetTwoFaStatusRequest
|
||||||
16, // 8: identity.TwoFaService.ConfirmTotpErollment:input_type -> identity.ConfirmTotpEnrollmentRequest
|
14, // 8: identity.TwoFaService.StartTotpEnrollment:input_type -> identity.AuthenticatedAccessRequest
|
||||||
12, // 9: identity.TwoFaService.CancelTotpEnrollment:input_type -> identity.AuthenticatedAccessRequest
|
18, // 9: identity.TwoFaService.ConfirmTotpErollment:input_type -> identity.ConfirmTotpEnrollmentRequest
|
||||||
19, // 10: identity.TwoFaService.DisableTotp:input_type -> identity.DisableTotpRequest
|
14, // 10: identity.TwoFaService.CancelTotpEnrollment:input_type -> identity.AuthenticatedAccessRequest
|
||||||
12, // 11: identity.TwoFaService.StartTelegramEnrollment:input_type -> identity.AuthenticatedAccessRequest
|
21, // 11: identity.TwoFaService.DisableTotp:input_type -> identity.DisableTotpRequest
|
||||||
22, // 12: identity.TwoFaService.ConfirmTelegramEnrollment:input_type -> identity.ConfirmTelegramEnrollmentRequest
|
14, // 12: identity.TwoFaService.StartTelegramEnrollment:input_type -> identity.AuthenticatedAccessRequest
|
||||||
24, // 13: identity.TwoFaService.DisableTelegram:input_type -> identity.DisableTelegramRequest
|
24, // 13: identity.TwoFaService.ConfirmTelegramEnrollment:input_type -> identity.ConfirmTelegramEnrollmentRequest
|
||||||
1, // 14: identity.AuthService.Login:output_type -> identity.LoginResponse
|
26, // 14: identity.TwoFaService.DisableTelegram:input_type -> identity.DisableTelegramRequest
|
||||||
3, // 15: identity.AuthService.Refresh:output_type -> identity.RefreshResponse
|
1, // 15: identity.AuthService.Login:output_type -> identity.LoginResponse
|
||||||
7, // 16: identity.AuthService.VerifyToken:output_type -> identity.VerifyTokenResponse
|
3, // 16: identity.AuthService.Refresh:output_type -> identity.RefreshResponse
|
||||||
5, // 17: identity.AuthService.Logout:output_type -> identity.LogoutResponse
|
7, // 17: identity.AuthService.VerifyToken:output_type -> identity.VerifyTokenResponse
|
||||||
9, // 18: identity.AuthService.UnlockPin:output_type -> identity.UnlockPinResponse
|
9, // 18: identity.AuthService.GetAccountRoleLevel:output_type -> identity.GetAccountRoleLevelResponse
|
||||||
11, // 19: identity.AuthService.Verify2Fa:output_type -> identity.Verify2FaResponse
|
5, // 19: identity.AuthService.Logout:output_type -> identity.LogoutResponse
|
||||||
14, // 20: identity.TwoFaService.GetTwoFaStatus:output_type -> identity.GetTwoFaStatusResponse
|
11, // 20: identity.AuthService.UnlockPin:output_type -> identity.UnlockPinResponse
|
||||||
15, // 21: identity.TwoFaService.StartTotpEnrollment:output_type -> identity.StartTotpEnrollmentResponse
|
13, // 21: identity.AuthService.Verify2Fa:output_type -> identity.Verify2FaResponse
|
||||||
17, // 22: identity.TwoFaService.ConfirmTotpErollment:output_type -> identity.ConfirmTotpEnrollmentResponse
|
16, // 22: identity.TwoFaService.GetTwoFaStatus:output_type -> identity.GetTwoFaStatusResponse
|
||||||
18, // 23: identity.TwoFaService.CancelTotpEnrollment:output_type -> identity.CancelTotpEnrollmentResponse
|
17, // 23: identity.TwoFaService.StartTotpEnrollment:output_type -> identity.StartTotpEnrollmentResponse
|
||||||
20, // 24: identity.TwoFaService.DisableTotp:output_type -> identity.DisableTotpResponse
|
19, // 24: identity.TwoFaService.ConfirmTotpErollment:output_type -> identity.ConfirmTotpEnrollmentResponse
|
||||||
21, // 25: identity.TwoFaService.StartTelegramEnrollment:output_type -> identity.StartTelegramEnrollmentResponse
|
20, // 25: identity.TwoFaService.CancelTotpEnrollment:output_type -> identity.CancelTotpEnrollmentResponse
|
||||||
23, // 26: identity.TwoFaService.ConfirmTelegramEnrollment:output_type -> identity.ConfirmTelegramEnrollmentResponse
|
22, // 26: identity.TwoFaService.DisableTotp:output_type -> identity.DisableTotpResponse
|
||||||
25, // 27: identity.TwoFaService.DisableTelegram:output_type -> identity.DisableTelegramResponse
|
23, // 27: identity.TwoFaService.StartTelegramEnrollment:output_type -> identity.StartTelegramEnrollmentResponse
|
||||||
14, // [14:28] is the sub-list for method output_type
|
25, // 28: identity.TwoFaService.ConfirmTelegramEnrollment:output_type -> identity.ConfirmTelegramEnrollmentResponse
|
||||||
0, // [0:14] is the sub-list for method input_type
|
27, // 29: identity.TwoFaService.DisableTelegram:output_type -> identity.DisableTelegramResponse
|
||||||
|
15, // [15:30] is the sub-list for method output_type
|
||||||
|
0, // [0:15] is the sub-list for method input_type
|
||||||
0, // [0:0] is the sub-list for extension type_name
|
0, // [0:0] is the sub-list for extension type_name
|
||||||
0, // [0:0] is the sub-list for extension extendee
|
0, // [0:0] is the sub-list for extension extendee
|
||||||
0, // [0:0] is the sub-list for field type_name
|
0, // [0:0] is the sub-list for field type_name
|
||||||
@@ -1752,16 +1860,16 @@ func file_identity_proto_init() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
file_identity_proto_msgTypes[1].OneofWrappers = []any{}
|
file_identity_proto_msgTypes[1].OneofWrappers = []any{}
|
||||||
file_identity_proto_msgTypes[10].OneofWrappers = []any{}
|
file_identity_proto_msgTypes[12].OneofWrappers = []any{}
|
||||||
file_identity_proto_msgTypes[19].OneofWrappers = []any{}
|
file_identity_proto_msgTypes[21].OneofWrappers = []any{}
|
||||||
file_identity_proto_msgTypes[24].OneofWrappers = []any{}
|
file_identity_proto_msgTypes[26].OneofWrappers = []any{}
|
||||||
type x struct{}
|
type x struct{}
|
||||||
out := protoimpl.TypeBuilder{
|
out := protoimpl.TypeBuilder{
|
||||||
File: protoimpl.DescBuilder{
|
File: protoimpl.DescBuilder{
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_identity_proto_rawDesc), len(file_identity_proto_rawDesc)),
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_identity_proto_rawDesc), len(file_identity_proto_rawDesc)),
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 26,
|
NumMessages: 28,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 2,
|
NumServices: 2,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ const (
|
|||||||
AuthService_Login_FullMethodName = "/identity.AuthService/Login"
|
AuthService_Login_FullMethodName = "/identity.AuthService/Login"
|
||||||
AuthService_Refresh_FullMethodName = "/identity.AuthService/Refresh"
|
AuthService_Refresh_FullMethodName = "/identity.AuthService/Refresh"
|
||||||
AuthService_VerifyToken_FullMethodName = "/identity.AuthService/VerifyToken"
|
AuthService_VerifyToken_FullMethodName = "/identity.AuthService/VerifyToken"
|
||||||
|
AuthService_GetAccountRoleLevel_FullMethodName = "/identity.AuthService/GetAccountRoleLevel"
|
||||||
AuthService_Logout_FullMethodName = "/identity.AuthService/Logout"
|
AuthService_Logout_FullMethodName = "/identity.AuthService/Logout"
|
||||||
AuthService_UnlockPin_FullMethodName = "/identity.AuthService/UnlockPin"
|
AuthService_UnlockPin_FullMethodName = "/identity.AuthService/UnlockPin"
|
||||||
AuthService_Verify2Fa_FullMethodName = "/identity.AuthService/Verify2Fa"
|
AuthService_Verify2Fa_FullMethodName = "/identity.AuthService/Verify2Fa"
|
||||||
@@ -34,6 +35,7 @@ type AuthServiceClient interface {
|
|||||||
Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
|
Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
|
||||||
Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*RefreshResponse, error)
|
Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*RefreshResponse, error)
|
||||||
VerifyToken(ctx context.Context, in *VerifyTokenRequest, opts ...grpc.CallOption) (*VerifyTokenResponse, error)
|
VerifyToken(ctx context.Context, in *VerifyTokenRequest, opts ...grpc.CallOption) (*VerifyTokenResponse, error)
|
||||||
|
GetAccountRoleLevel(ctx context.Context, in *GetAccountRoleLevelRequest, opts ...grpc.CallOption) (*GetAccountRoleLevelResponse, error)
|
||||||
Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error)
|
Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error)
|
||||||
UnlockPin(ctx context.Context, in *UnlockPinRequest, opts ...grpc.CallOption) (*UnlockPinResponse, error)
|
UnlockPin(ctx context.Context, in *UnlockPinRequest, opts ...grpc.CallOption) (*UnlockPinResponse, error)
|
||||||
Verify2Fa(ctx context.Context, in *Verify2FaRequest, opts ...grpc.CallOption) (*Verify2FaResponse, error)
|
Verify2Fa(ctx context.Context, in *Verify2FaRequest, opts ...grpc.CallOption) (*Verify2FaResponse, error)
|
||||||
@@ -77,6 +79,16 @@ func (c *authServiceClient) VerifyToken(ctx context.Context, in *VerifyTokenRequ
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *authServiceClient) GetAccountRoleLevel(ctx context.Context, in *GetAccountRoleLevelRequest, opts ...grpc.CallOption) (*GetAccountRoleLevelResponse, error) {
|
||||||
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||||
|
out := new(GetAccountRoleLevelResponse)
|
||||||
|
err := c.cc.Invoke(ctx, AuthService_GetAccountRoleLevel_FullMethodName, in, out, cOpts...)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return out, nil
|
||||||
|
}
|
||||||
|
|
||||||
func (c *authServiceClient) Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error) {
|
func (c *authServiceClient) Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error) {
|
||||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||||
out := new(LogoutResponse)
|
out := new(LogoutResponse)
|
||||||
@@ -114,6 +126,7 @@ type AuthServiceServer interface {
|
|||||||
Login(context.Context, *LoginRequest) (*LoginResponse, error)
|
Login(context.Context, *LoginRequest) (*LoginResponse, error)
|
||||||
Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error)
|
Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error)
|
||||||
VerifyToken(context.Context, *VerifyTokenRequest) (*VerifyTokenResponse, error)
|
VerifyToken(context.Context, *VerifyTokenRequest) (*VerifyTokenResponse, error)
|
||||||
|
GetAccountRoleLevel(context.Context, *GetAccountRoleLevelRequest) (*GetAccountRoleLevelResponse, error)
|
||||||
Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
|
Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
|
||||||
UnlockPin(context.Context, *UnlockPinRequest) (*UnlockPinResponse, error)
|
UnlockPin(context.Context, *UnlockPinRequest) (*UnlockPinResponse, error)
|
||||||
Verify2Fa(context.Context, *Verify2FaRequest) (*Verify2FaResponse, error)
|
Verify2Fa(context.Context, *Verify2FaRequest) (*Verify2FaResponse, error)
|
||||||
@@ -136,6 +149,9 @@ func (UnimplementedAuthServiceServer) Refresh(context.Context, *RefreshRequest)
|
|||||||
func (UnimplementedAuthServiceServer) VerifyToken(context.Context, *VerifyTokenRequest) (*VerifyTokenResponse, error) {
|
func (UnimplementedAuthServiceServer) VerifyToken(context.Context, *VerifyTokenRequest) (*VerifyTokenResponse, error) {
|
||||||
return nil, status.Error(codes.Unimplemented, "method VerifyToken not implemented")
|
return nil, status.Error(codes.Unimplemented, "method VerifyToken not implemented")
|
||||||
}
|
}
|
||||||
|
func (UnimplementedAuthServiceServer) GetAccountRoleLevel(context.Context, *GetAccountRoleLevelRequest) (*GetAccountRoleLevelResponse, error) {
|
||||||
|
return nil, status.Error(codes.Unimplemented, "method GetAccountRoleLevel not implemented")
|
||||||
|
}
|
||||||
func (UnimplementedAuthServiceServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error) {
|
func (UnimplementedAuthServiceServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error) {
|
||||||
return nil, status.Error(codes.Unimplemented, "method Logout not implemented")
|
return nil, status.Error(codes.Unimplemented, "method Logout not implemented")
|
||||||
}
|
}
|
||||||
@@ -220,6 +236,24 @@ func _AuthService_VerifyToken_Handler(srv interface{}, ctx context.Context, dec
|
|||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func _AuthService_GetAccountRoleLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
|
in := new(GetAccountRoleLevelRequest)
|
||||||
|
if err := dec(in); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if interceptor == nil {
|
||||||
|
return srv.(AuthServiceServer).GetAccountRoleLevel(ctx, in)
|
||||||
|
}
|
||||||
|
info := &grpc.UnaryServerInfo{
|
||||||
|
Server: srv,
|
||||||
|
FullMethod: AuthService_GetAccountRoleLevel_FullMethodName,
|
||||||
|
}
|
||||||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
|
return srv.(AuthServiceServer).GetAccountRoleLevel(ctx, req.(*GetAccountRoleLevelRequest))
|
||||||
|
}
|
||||||
|
return interceptor(ctx, in, info, handler)
|
||||||
|
}
|
||||||
|
|
||||||
func _AuthService_Logout_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _AuthService_Logout_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(LogoutRequest)
|
in := new(LogoutRequest)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
@@ -293,6 +327,10 @@ var AuthService_ServiceDesc = grpc.ServiceDesc{
|
|||||||
MethodName: "VerifyToken",
|
MethodName: "VerifyToken",
|
||||||
Handler: _AuthService_VerifyToken_Handler,
|
Handler: _AuthService_VerifyToken_Handler,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
MethodName: "GetAccountRoleLevel",
|
||||||
|
Handler: _AuthService_GetAccountRoleLevel_Handler,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
MethodName: "Logout",
|
MethodName: "Logout",
|
||||||
Handler: _AuthService_Logout_Handler,
|
Handler: _AuthService_Logout_Handler,
|
||||||
|
|||||||
@@ -178,9 +178,7 @@ export interface AuthServiceClient {
|
|||||||
|
|
||||||
verifyToken(request: VerifyTokenRequest): Observable<VerifyTokenResponse>;
|
verifyToken(request: VerifyTokenRequest): Observable<VerifyTokenResponse>;
|
||||||
|
|
||||||
getAccountRoleLevel(
|
getAccountRoleLevel(request: GetAccountRoleLevelRequest): Observable<GetAccountRoleLevelResponse>;
|
||||||
request: GetAccountRoleLevelRequest,
|
|
||||||
): Observable<GetAccountRoleLevelResponse>;
|
|
||||||
|
|
||||||
logout(request: LogoutRequest): Observable<LogoutResponse>;
|
logout(request: LogoutRequest): Observable<LogoutResponse>;
|
||||||
|
|
||||||
@@ -200,10 +198,7 @@ export interface AuthServiceController {
|
|||||||
|
|
||||||
getAccountRoleLevel(
|
getAccountRoleLevel(
|
||||||
request: GetAccountRoleLevelRequest,
|
request: GetAccountRoleLevelRequest,
|
||||||
):
|
): Promise<GetAccountRoleLevelResponse> | Observable<GetAccountRoleLevelResponse> | GetAccountRoleLevelResponse;
|
||||||
| Promise<GetAccountRoleLevelResponse>
|
|
||||||
| Observable<GetAccountRoleLevelResponse>
|
|
||||||
| GetAccountRoleLevelResponse;
|
|
||||||
|
|
||||||
logout(request: LogoutRequest): Promise<LogoutResponse> | Observable<LogoutResponse> | LogoutResponse;
|
logout(request: LogoutRequest): Promise<LogoutResponse> | Observable<LogoutResponse> | LogoutResponse;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user