| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v3.18.1 |
| 19 |
// source: google/cloud/identitytoolkit/v2/mfa_info.proto |
| 20 |
|
| 21 |
package identitytoolkit |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 30 |
) |
| 31 |
|
| 32 |
const ( |
| 33 |
// Verify that this generated code is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 35 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 37 |
) |
| 38 |
|
| 39 |
// The information required to auto-retrieve an SMS. |
| 40 |
type AutoRetrievalInfo struct { |
| 41 |
state protoimpl.MessageState |
| 42 |
sizeCache protoimpl.SizeCache |
| 43 |
unknownFields protoimpl.UnknownFields |
| 44 |
|
| 45 |
// The Android app's signature hash for Google Play Service's |
| 46 |
// SMS Retriever API. |
| 47 |
AppSignatureHash string `protobuf:"bytes,1,opt,name=app_signature_hash,json=appSignatureHash,proto3" json:"app_signature_hash,omitempty"` |
| 48 |
} |
| 49 |
|
| 50 |
func (x *AutoRetrievalInfo) Reset() { |
| 51 |
*x = AutoRetrievalInfo{} |
| 52 |
if protoimpl.UnsafeEnabled { |
| 53 |
mi := &file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[0] |
| 54 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 55 |
ms.StoreMessageInfo(mi) |
| 56 |
} |
| 57 |
} |
| 58 |
|
| 59 |
func (x *AutoRetrievalInfo) String() string { |
| 60 |
return protoimpl.X.MessageStringOf(x) |
| 61 |
} |
| 62 |
|
| 63 |
func (*AutoRetrievalInfo) ProtoMessage() {} |
| 64 |
|
| 65 |
func (x *AutoRetrievalInfo) ProtoReflect() protoreflect.Message { |
| 66 |
mi := &file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[0] |
| 67 |
if protoimpl.UnsafeEnabled && x != nil { |
| 68 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 69 |
if ms.LoadMessageInfo() == nil { |
| 70 |
ms.StoreMessageInfo(mi) |
| 71 |
} |
| 72 |
return ms |
| 73 |
} |
| 74 |
return mi.MessageOf(x) |
| 75 |
} |
| 76 |
|
| 77 |
// Deprecated: Use AutoRetrievalInfo.ProtoReflect.Descriptor instead. |
| 78 |
func (*AutoRetrievalInfo) Descriptor() ([]byte, []int) { |
| 79 |
return file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDescGZIP(), []int{0} |
| 80 |
} |
| 81 |
|
| 82 |
func (x *AutoRetrievalInfo) GetAppSignatureHash() string { |
| 83 |
if x != nil { |
| 84 |
return x.AppSignatureHash |
| 85 |
} |
| 86 |
return "" |
| 87 |
} |
| 88 |
|
| 89 |
// App Verification info for a StartMfa request. |
| 90 |
type StartMfaPhoneRequestInfo struct { |
| 91 |
state protoimpl.MessageState |
| 92 |
sizeCache protoimpl.SizeCache |
| 93 |
unknownFields protoimpl.UnknownFields |
| 94 |
|
| 95 |
// Required for enrollment. Phone number to be enrolled as MFA. |
| 96 |
PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` |
| 97 |
// iOS only. Receipt of successful app token validation with APNS. |
| 98 |
IosReceipt string `protobuf:"bytes,2,opt,name=ios_receipt,json=iosReceipt,proto3" json:"ios_receipt,omitempty"` |
| 99 |
// iOS only. Secret delivered to iOS app via APNS. |
| 100 |
IosSecret string `protobuf:"bytes,3,opt,name=ios_secret,json=iosSecret,proto3" json:"ios_secret,omitempty"` |
| 101 |
// Web only. Recaptcha solution. |
| 102 |
RecaptchaToken string `protobuf:"bytes,4,opt,name=recaptcha_token,json=recaptchaToken,proto3" json:"recaptcha_token,omitempty"` |
| 103 |
// Android only. Used by Google Play Services to identify the app for |
| 104 |
// auto-retrieval. |
| 105 |
AutoRetrievalInfo *AutoRetrievalInfo `protobuf:"bytes,5,opt,name=auto_retrieval_info,json=autoRetrievalInfo,proto3" json:"auto_retrieval_info,omitempty"` |
| 106 |
// Android only. Used to assert application identity in place of a |
| 107 |
// recaptcha token. A SafetyNet Token can be generated via the |
| 108 |
// [SafetyNet Android Attestation |
| 109 |
// API](https://developer.android.com/training/safetynet/attestation.html), |
| 110 |
// with the Base64 encoding of the `phone_number` field as the nonce. |
| 111 |
SafetyNetToken string `protobuf:"bytes,6,opt,name=safety_net_token,json=safetyNetToken,proto3" json:"safety_net_token,omitempty"` |
| 112 |
} |
| 113 |
|
| 114 |
func (x *StartMfaPhoneRequestInfo) Reset() { |
| 115 |
*x = StartMfaPhoneRequestInfo{} |
| 116 |
if protoimpl.UnsafeEnabled { |
| 117 |
mi := &file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[1] |
| 118 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 119 |
ms.StoreMessageInfo(mi) |
| 120 |
} |
| 121 |
} |
| 122 |
|
| 123 |
func (x *StartMfaPhoneRequestInfo) String() string { |
| 124 |
return protoimpl.X.MessageStringOf(x) |
| 125 |
} |
| 126 |
|
| 127 |
func (*StartMfaPhoneRequestInfo) ProtoMessage() {} |
| 128 |
|
| 129 |
func (x *StartMfaPhoneRequestInfo) ProtoReflect() protoreflect.Message { |
| 130 |
mi := &file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[1] |
| 131 |
if protoimpl.UnsafeEnabled && x != nil { |
| 132 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 133 |
if ms.LoadMessageInfo() == nil { |
| 134 |
ms.StoreMessageInfo(mi) |
| 135 |
} |
| 136 |
return ms |
| 137 |
} |
| 138 |
return mi.MessageOf(x) |
| 139 |
} |
| 140 |
|
| 141 |
// Deprecated: Use StartMfaPhoneRequestInfo.ProtoReflect.Descriptor instead. |
| 142 |
func (*StartMfaPhoneRequestInfo) Descriptor() ([]byte, []int) { |
| 143 |
return file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDescGZIP(), []int{1} |
| 144 |
} |
| 145 |
|
| 146 |
func (x *StartMfaPhoneRequestInfo) GetPhoneNumber() string { |
| 147 |
if x != nil { |
| 148 |
return x.PhoneNumber |
| 149 |
} |
| 150 |
return "" |
| 151 |
} |
| 152 |
|
| 153 |
func (x *StartMfaPhoneRequestInfo) GetIosReceipt() string { |
| 154 |
if x != nil { |
| 155 |
return x.IosReceipt |
| 156 |
} |
| 157 |
return "" |
| 158 |
} |
| 159 |
|
| 160 |
func (x *StartMfaPhoneRequestInfo) GetIosSecret() string { |
| 161 |
if x != nil { |
| 162 |
return x.IosSecret |
| 163 |
} |
| 164 |
return "" |
| 165 |
} |
| 166 |
|
| 167 |
func (x *StartMfaPhoneRequestInfo) GetRecaptchaToken() string { |
| 168 |
if x != nil { |
| 169 |
return x.RecaptchaToken |
| 170 |
} |
| 171 |
return "" |
| 172 |
} |
| 173 |
|
| 174 |
func (x *StartMfaPhoneRequestInfo) GetAutoRetrievalInfo() *AutoRetrievalInfo { |
| 175 |
if x != nil { |
| 176 |
return x.AutoRetrievalInfo |
| 177 |
} |
| 178 |
return nil |
| 179 |
} |
| 180 |
|
| 181 |
func (x *StartMfaPhoneRequestInfo) GetSafetyNetToken() string { |
| 182 |
if x != nil { |
| 183 |
return x.SafetyNetToken |
| 184 |
} |
| 185 |
return "" |
| 186 |
} |
| 187 |
|
| 188 |
// Phone Verification info for a StartMfa response. |
| 189 |
type StartMfaPhoneResponseInfo struct { |
| 190 |
state protoimpl.MessageState |
| 191 |
sizeCache protoimpl.SizeCache |
| 192 |
unknownFields protoimpl.UnknownFields |
| 193 |
|
| 194 |
// An opaque string that represents the enrollment session. |
| 195 |
SessionInfo string `protobuf:"bytes,1,opt,name=session_info,json=sessionInfo,proto3" json:"session_info,omitempty"` |
| 196 |
} |
| 197 |
|
| 198 |
func (x *StartMfaPhoneResponseInfo) Reset() { |
| 199 |
*x = StartMfaPhoneResponseInfo{} |
| 200 |
if protoimpl.UnsafeEnabled { |
| 201 |
mi := &file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[2] |
| 202 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 203 |
ms.StoreMessageInfo(mi) |
| 204 |
} |
| 205 |
} |
| 206 |
|
| 207 |
func (x *StartMfaPhoneResponseInfo) String() string { |
| 208 |
return protoimpl.X.MessageStringOf(x) |
| 209 |
} |
| 210 |
|
| 211 |
func (*StartMfaPhoneResponseInfo) ProtoMessage() {} |
| 212 |
|
| 213 |
func (x *StartMfaPhoneResponseInfo) ProtoReflect() protoreflect.Message { |
| 214 |
mi := &file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[2] |
| 215 |
if protoimpl.UnsafeEnabled && x != nil { |
| 216 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 217 |
if ms.LoadMessageInfo() == nil { |
| 218 |
ms.StoreMessageInfo(mi) |
| 219 |
} |
| 220 |
return ms |
| 221 |
} |
| 222 |
return mi.MessageOf(x) |
| 223 |
} |
| 224 |
|
| 225 |
// Deprecated: Use StartMfaPhoneResponseInfo.ProtoReflect.Descriptor instead. |
| 226 |
func (*StartMfaPhoneResponseInfo) Descriptor() ([]byte, []int) { |
| 227 |
return file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDescGZIP(), []int{2} |
| 228 |
} |
| 229 |
|
| 230 |
func (x *StartMfaPhoneResponseInfo) GetSessionInfo() string { |
| 231 |
if x != nil { |
| 232 |
return x.SessionInfo |
| 233 |
} |
| 234 |
return "" |
| 235 |
} |
| 236 |
|
| 237 |
// Phone Verification info for a FinalizeMfa request. |
| 238 |
type FinalizeMfaPhoneRequestInfo struct { |
| 239 |
state protoimpl.MessageState |
| 240 |
sizeCache protoimpl.SizeCache |
| 241 |
unknownFields protoimpl.UnknownFields |
| 242 |
|
| 243 |
// An opaque string that represents the enrollment session. |
| 244 |
SessionInfo string `protobuf:"bytes,1,opt,name=session_info,json=sessionInfo,proto3" json:"session_info,omitempty"` |
| 245 |
// User-entered verification code. |
| 246 |
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` |
| 247 |
// Android only. Uses for "instant" phone number verification though GmsCore. |
| 248 |
AndroidVerificationProof string `protobuf:"bytes,3,opt,name=android_verification_proof,json=androidVerificationProof,proto3" json:"android_verification_proof,omitempty"` |
| 249 |
// Required if Android verification proof is presented. |
| 250 |
PhoneNumber string `protobuf:"bytes,4,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` |
| 251 |
} |
| 252 |
|
| 253 |
func (x *FinalizeMfaPhoneRequestInfo) Reset() { |
| 254 |
*x = FinalizeMfaPhoneRequestInfo{} |
| 255 |
if protoimpl.UnsafeEnabled { |
| 256 |
mi := &file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[3] |
| 257 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 258 |
ms.StoreMessageInfo(mi) |
| 259 |
} |
| 260 |
} |
| 261 |
|
| 262 |
func (x *FinalizeMfaPhoneRequestInfo) String() string { |
| 263 |
return protoimpl.X.MessageStringOf(x) |
| 264 |
} |
| 265 |
|
| 266 |
func (*FinalizeMfaPhoneRequestInfo) ProtoMessage() {} |
| 267 |
|
| 268 |
func (x *FinalizeMfaPhoneRequestInfo) ProtoReflect() protoreflect.Message { |
| 269 |
mi := &file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[3] |
| 270 |
if protoimpl.UnsafeEnabled && x != nil { |
| 271 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 272 |
if ms.LoadMessageInfo() == nil { |
| 273 |
ms.StoreMessageInfo(mi) |
| 274 |
} |
| 275 |
return ms |
| 276 |
} |
| 277 |
return mi.MessageOf(x) |
| 278 |
} |
| 279 |
|
| 280 |
// Deprecated: Use FinalizeMfaPhoneRequestInfo.ProtoReflect.Descriptor instead. |
| 281 |
func (*FinalizeMfaPhoneRequestInfo) Descriptor() ([]byte, []int) { |
| 282 |
return file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDescGZIP(), []int{3} |
| 283 |
} |
| 284 |
|
| 285 |
func (x *FinalizeMfaPhoneRequestInfo) GetSessionInfo() string { |
| 286 |
if x != nil { |
| 287 |
return x.SessionInfo |
| 288 |
} |
| 289 |
return "" |
| 290 |
} |
| 291 |
|
| 292 |
func (x *FinalizeMfaPhoneRequestInfo) GetCode() string { |
| 293 |
if x != nil { |
| 294 |
return x.Code |
| 295 |
} |
| 296 |
return "" |
| 297 |
} |
| 298 |
|
| 299 |
func (x *FinalizeMfaPhoneRequestInfo) GetAndroidVerificationProof() string { |
| 300 |
if x != nil { |
| 301 |
return x.AndroidVerificationProof |
| 302 |
} |
| 303 |
return "" |
| 304 |
} |
| 305 |
|
| 306 |
func (x *FinalizeMfaPhoneRequestInfo) GetPhoneNumber() string { |
| 307 |
if x != nil { |
| 308 |
return x.PhoneNumber |
| 309 |
} |
| 310 |
return "" |
| 311 |
} |
| 312 |
|
| 313 |
// Phone Verification info for a FinalizeMfa response. |
| 314 |
type FinalizeMfaPhoneResponseInfo struct { |
| 315 |
state protoimpl.MessageState |
| 316 |
sizeCache protoimpl.SizeCache |
| 317 |
unknownFields protoimpl.UnknownFields |
| 318 |
|
| 319 |
// Android only. Long-lived replacement for valid code tied to android device. |
| 320 |
AndroidVerificationProof string `protobuf:"bytes,1,opt,name=android_verification_proof,json=androidVerificationProof,proto3" json:"android_verification_proof,omitempty"` |
| 321 |
// Android only. Expiration time of verification proof in seconds. |
| 322 |
AndroidVerificationProofExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=android_verification_proof_expire_time,json=androidVerificationProofExpireTime,proto3" json:"android_verification_proof_expire_time,omitempty"` |
| 323 |
// For Android verification proof. |
| 324 |
PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` |
| 325 |
} |
| 326 |
|
| 327 |
func (x *FinalizeMfaPhoneResponseInfo) Reset() { |
| 328 |
*x = FinalizeMfaPhoneResponseInfo{} |
| 329 |
if protoimpl.UnsafeEnabled { |
| 330 |
mi := &file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[4] |
| 331 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 332 |
ms.StoreMessageInfo(mi) |
| 333 |
} |
| 334 |
} |
| 335 |
|
| 336 |
func (x *FinalizeMfaPhoneResponseInfo) String() string { |
| 337 |
return protoimpl.X.MessageStringOf(x) |
| 338 |
} |
| 339 |
|
| 340 |
func (*FinalizeMfaPhoneResponseInfo) ProtoMessage() {} |
| 341 |
|
| 342 |
func (x *FinalizeMfaPhoneResponseInfo) ProtoReflect() protoreflect.Message { |
| 343 |
mi := &file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[4] |
| 344 |
if protoimpl.UnsafeEnabled && x != nil { |
| 345 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 346 |
if ms.LoadMessageInfo() == nil { |
| 347 |
ms.StoreMessageInfo(mi) |
| 348 |
} |
| 349 |
return ms |
| 350 |
} |
| 351 |
return mi.MessageOf(x) |
| 352 |
} |
| 353 |
|
| 354 |
// Deprecated: Use FinalizeMfaPhoneResponseInfo.ProtoReflect.Descriptor instead. |
| 355 |
func (*FinalizeMfaPhoneResponseInfo) Descriptor() ([]byte, []int) { |
| 356 |
return file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDescGZIP(), []int{4} |
| 357 |
} |
| 358 |
|
| 359 |
func (x *FinalizeMfaPhoneResponseInfo) GetAndroidVerificationProof() string { |
| 360 |
if x != nil { |
| 361 |
return x.AndroidVerificationProof |
| 362 |
} |
| 363 |
return "" |
| 364 |
} |
| 365 |
|
| 366 |
func (x *FinalizeMfaPhoneResponseInfo) GetAndroidVerificationProofExpireTime() *timestamppb.Timestamp { |
| 367 |
if x != nil { |
| 368 |
return x.AndroidVerificationProofExpireTime |
| 369 |
} |
| 370 |
return nil |
| 371 |
} |
| 372 |
|
| 373 |
func (x *FinalizeMfaPhoneResponseInfo) GetPhoneNumber() string { |
| 374 |
if x != nil { |
| 375 |
return x.PhoneNumber |
| 376 |
} |
| 377 |
return "" |
| 378 |
} |
| 379 |
|
| 380 |
var File_google_cloud_identitytoolkit_v2_mfa_info_proto protoreflect.FileDescriptor |
| 381 |
|
| 382 |
var file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDesc = []byte{ |
| 383 |
0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x69, |
| 384 |
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x74, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x2f, 0x76, |
| 385 |
0x32, 0x2f, 0x6d, 0x66, 0x61, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 386 |
0x12, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, |
| 387 |
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x74, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x2e, 0x76, |
| 388 |
0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 389 |
0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, |
| 390 |
0x74, 0x6f, 0x22, 0x41, 0x0a, 0x11, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, |
| 391 |
0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x70, 0x70, 0x5f, 0x73, |
| 392 |
0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, |
| 393 |
0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x70, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, |
| 394 |
0x65, 0x48, 0x61, 0x73, 0x68, 0x22, 0xb4, 0x02, 0x0a, 0x18, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, |
| 395 |
0x66, 0x61, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, |
| 396 |
0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, |
| 397 |
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, |
| 398 |
0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6f, 0x73, 0x5f, 0x72, 0x65, 0x63, |
| 399 |
0x65, 0x69, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6f, 0x73, 0x52, |
| 400 |
0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6f, 0x73, 0x5f, 0x73, 0x65, |
| 401 |
0x63, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6f, 0x73, 0x53, |
| 402 |
0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, |
| 403 |
0x68, 0x61, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, |
| 404 |
0x72, 0x65, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x62, |
| 405 |
0x0a, 0x13, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x61, 0x6c, |
| 406 |
0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, |
| 407 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, 0x74, |
| 408 |
0x69, 0x74, 0x79, 0x74, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x75, |
| 409 |
0x74, 0x6f, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x52, |
| 410 |
0x11, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x74, 0x72, 0x69, 0x65, 0x76, 0x61, 0x6c, 0x49, 0x6e, |
| 411 |
0x66, 0x6f, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x61, 0x66, 0x65, 0x74, 0x79, 0x5f, 0x6e, 0x65, 0x74, |
| 412 |
0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x61, |
| 413 |
0x66, 0x65, 0x74, 0x79, 0x4e, 0x65, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x3e, 0x0a, 0x19, |
| 414 |
0x53, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x66, 0x61, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, |
| 415 |
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x73, |
| 416 |
0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 417 |
0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xb5, 0x01, 0x0a, |
| 418 |
0x1b, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x4d, 0x66, 0x61, 0x50, 0x68, 0x6f, 0x6e, |
| 419 |
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x0a, 0x0c, |
| 420 |
0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, |
| 421 |
0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, |
| 422 |
0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, |
| 423 |
0x6f, 0x64, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x5f, 0x76, |
| 424 |
0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x6f, |
| 425 |
0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, |
| 426 |
0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x6f, |
| 427 |
0x66, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, |
| 428 |
0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, |
| 429 |
0x6d, 0x62, 0x65, 0x72, 0x22, 0xef, 0x01, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, |
| 430 |
0x65, 0x4d, 0x66, 0x61, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 431 |
0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3c, 0x0a, 0x1a, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, |
| 432 |
0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, |
| 433 |
0x6f, 0x6f, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x61, 0x6e, 0x64, 0x72, 0x6f, |
| 434 |
0x69, 0x64, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, |
| 435 |
0x6f, 0x6f, 0x66, 0x12, 0x6e, 0x0a, 0x26, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x5f, 0x76, |
| 436 |
0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x6f, |
| 437 |
0x66, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, |
| 438 |
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 439 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, |
| 440 |
0x22, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, |
| 441 |
0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x54, |
| 442 |
0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, |
| 443 |
0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, |
| 444 |
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x42, 0xe0, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, |
| 445 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x69, 0x64, 0x65, 0x6e, |
| 446 |
0x74, 0x69, 0x74, 0x79, 0x74, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x2e, 0x76, 0x32, 0x50, 0x01, |
| 447 |
0x5a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, |
| 448 |
0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, |
| 449 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x69, 0x64, |
| 450 |
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x74, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x2f, 0x76, 0x32, |
| 451 |
0x3b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x74, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, |
| 452 |
0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 453 |
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x2e, |
| 454 |
0x56, 0x32, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, |
| 455 |
0x64, 0x5c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x6f, 0x6f, 0x6c, 0x6b, 0x69, |
| 456 |
0x74, 0x5c, 0x56, 0x32, 0xea, 0x02, 0x22, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, |
| 457 |
0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x6f, |
| 458 |
0x6f, 0x6c, 0x6b, 0x69, 0x74, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 459 |
0x33, |
| 460 |
} |
| 461 |
|
| 462 |
var ( |
| 463 |
file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDescOnce sync.Once |
| 464 |
file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDescData = file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDesc |
| 465 |
) |
| 466 |
|
| 467 |
func file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDescGZIP() []byte { |
| 468 |
file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDescOnce.Do(func() { |
| 469 |
file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDescData) |
| 470 |
}) |
| 471 |
return file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDescData |
| 472 |
} |
| 473 |
|
| 474 |
var file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 475 |
var file_google_cloud_identitytoolkit_v2_mfa_info_proto_goTypes = []interface{}{ |
| 476 |
(*AutoRetrievalInfo)(nil), // 0: google.cloud.identitytoolkit.v2.AutoRetrievalInfo |
| 477 |
(*StartMfaPhoneRequestInfo)(nil), // 1: google.cloud.identitytoolkit.v2.StartMfaPhoneRequestInfo |
| 478 |
(*StartMfaPhoneResponseInfo)(nil), // 2: google.cloud.identitytoolkit.v2.StartMfaPhoneResponseInfo |
| 479 |
(*FinalizeMfaPhoneRequestInfo)(nil), // 3: google.cloud.identitytoolkit.v2.FinalizeMfaPhoneRequestInfo |
| 480 |
(*FinalizeMfaPhoneResponseInfo)(nil), // 4: google.cloud.identitytoolkit.v2.FinalizeMfaPhoneResponseInfo |
| 481 |
(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp |
| 482 |
} |
| 483 |
var file_google_cloud_identitytoolkit_v2_mfa_info_proto_depIdxs = []int32{ |
| 484 |
0, // 0: google.cloud.identitytoolkit.v2.StartMfaPhoneRequestInfo.auto_retrieval_info:type_name -> google.cloud.identitytoolkit.v2.AutoRetrievalInfo |
| 485 |
5, // 1: google.cloud.identitytoolkit.v2.FinalizeMfaPhoneResponseInfo.android_verification_proof_expire_time:type_name -> google.protobuf.Timestamp |
| 486 |
2, // [2:2] is the sub-list for method output_type |
| 487 |
2, // [2:2] is the sub-list for method input_type |
| 488 |
2, // [2:2] is the sub-list for extension type_name |
| 489 |
2, // [2:2] is the sub-list for extension extendee |
| 490 |
0, // [0:2] is the sub-list for field type_name |
| 491 |
} |
| 492 |
|
| 493 |
func init() { file_google_cloud_identitytoolkit_v2_mfa_info_proto_init() } |
| 494 |
func file_google_cloud_identitytoolkit_v2_mfa_info_proto_init() { |
| 495 |
if File_google_cloud_identitytoolkit_v2_mfa_info_proto != nil { |
| 496 |
return |
| 497 |
} |
| 498 |
if !protoimpl.UnsafeEnabled { |
| 499 |
file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 500 |
switch v := v.(*AutoRetrievalInfo); i { |
| 501 |
case 0: |
| 502 |
return &v.state |
| 503 |
case 1: |
| 504 |
return &v.sizeCache |
| 505 |
case 2: |
| 506 |
return &v.unknownFields |
| 507 |
default: |
| 508 |
return nil |
| 509 |
} |
| 510 |
} |
| 511 |
file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 512 |
switch v := v.(*StartMfaPhoneRequestInfo); i { |
| 513 |
case 0: |
| 514 |
return &v.state |
| 515 |
case 1: |
| 516 |
return &v.sizeCache |
| 517 |
case 2: |
| 518 |
return &v.unknownFields |
| 519 |
default: |
| 520 |
return nil |
| 521 |
} |
| 522 |
} |
| 523 |
file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 524 |
switch v := v.(*StartMfaPhoneResponseInfo); i { |
| 525 |
case 0: |
| 526 |
return &v.state |
| 527 |
case 1: |
| 528 |
return &v.sizeCache |
| 529 |
case 2: |
| 530 |
return &v.unknownFields |
| 531 |
default: |
| 532 |
return nil |
| 533 |
} |
| 534 |
} |
| 535 |
file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 536 |
switch v := v.(*FinalizeMfaPhoneRequestInfo); i { |
| 537 |
case 0: |
| 538 |
return &v.state |
| 539 |
case 1: |
| 540 |
return &v.sizeCache |
| 541 |
case 2: |
| 542 |
return &v.unknownFields |
| 543 |
default: |
| 544 |
return nil |
| 545 |
} |
| 546 |
} |
| 547 |
file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 548 |
switch v := v.(*FinalizeMfaPhoneResponseInfo); i { |
| 549 |
case 0: |
| 550 |
return &v.state |
| 551 |
case 1: |
| 552 |
return &v.sizeCache |
| 553 |
case 2: |
| 554 |
return &v.unknownFields |
| 555 |
default: |
| 556 |
return nil |
| 557 |
} |
| 558 |
} |
| 559 |
} |
| 560 |
type x struct{} |
| 561 |
out := protoimpl.TypeBuilder{ |
| 562 |
File: protoimpl.DescBuilder{ |
| 563 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 564 |
RawDescriptor: file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDesc, |
| 565 |
NumEnums: 0, |
| 566 |
NumMessages: 5, |
| 567 |
NumExtensions: 0, |
| 568 |
NumServices: 0, |
| 569 |
}, |
| 570 |
GoTypes: file_google_cloud_identitytoolkit_v2_mfa_info_proto_goTypes, |
| 571 |
DependencyIndexes: file_google_cloud_identitytoolkit_v2_mfa_info_proto_depIdxs, |
| 572 |
MessageInfos: file_google_cloud_identitytoolkit_v2_mfa_info_proto_msgTypes, |
| 573 |
}.Build() |
| 574 |
File_google_cloud_identitytoolkit_v2_mfa_info_proto = out.File |
| 575 |
file_google_cloud_identitytoolkit_v2_mfa_info_proto_rawDesc = nil |
| 576 |
file_google_cloud_identitytoolkit_v2_mfa_info_proto_goTypes = nil |
| 577 |
file_google_cloud_identitytoolkit_v2_mfa_info_proto_depIdxs = nil |
| 578 |
} |