Layer 231
AuthInitFirebasePnvLogin
Start a login via Firebase phone number verification, returning the nonce and credential payload to pass to the verification API.
method
auth.initFirebasePnvLogin#644f15c0 flags:# except_ids:flags.0?Vector<long> api_id:int api_hash:string = auth.FirebasePnvIntent;
Parameters
| Name | Type | Description |
|---|---|---|
| ExceptIds | Vector<long> | IDs of user accounts already logged in on this device, to exclude |
| ApiId | int | Application identifier (see App configuration) |
| ApiHash | string | Application secret hash (see App configuration) |
Returns
auth.FirebasePnvIntentGogram Example
intent, err := client.AuthInitFirebasePnvLogin(nil, client.AppID(), client.AppHash()) if err != nil { log.Fatal(err) } // pass Nonce/DigitalCredentialPayload to the Android Credential Manager fmt.Println("nonce:", intent.Nonce)