Layer 227
InputPasskeyResponseLogin
Web Authn authentication response used when logging in with a passkey, see here for more info on the full flow.
constructor
inputPasskeyResponseLogin#c31fc14a client_data:DataJSON authenticator_data:bytes signature:bytes user_handle:string = InputPasskeyResponse;
Parameters
| Name | Type | Description |
|---|---|---|
| ClientData | DataJSON | Base 64 url-decoded client Data JSON field of an Authenticator Assertion Response, wrapped in data JSON |
| AuthenticatorData | bytes | Base 64 url-decoded authenticator Data field of an Authenticator Assertion Response |
| Signature | bytes | Base 64 url-decoded signature field of an Authenticator Assertion Response |
| UserHandle | string | Base 64 url-decoded user Handle field of an Authenticator Assertion Response. The user handle specified by the server is in <dc_id>:<user_id> format. |
Returns
InputPasskeyResponseGogram Example
// Creating InputPasskeyResponseLogin constructor obj := &tg.InputPasskeyResponseLogin{ ClientData: &tg.DataJson{}, AuthenticatorData: []byte{0x01, 0x02, 0x03}, Signature: []byte{0x01, 0x02, 0x03}, UserHandle: "Hello, World!", }