POST
GetDeviceLogin
GetDeviceLogin returns the safe-to-display details for a user code.
/api.v1.auth.AuthService/GetDeviceLogin Public01
Request
GetDeviceLoginRequest
GetDeviceLoginRequestapi.v1.auth.GetDeviceLoginRequest1 fields
Get Device Login Request message.
userCodestringUser Code value.
{
"userCode": "string"
}02
Response
DeviceLogin
DeviceLoginapi.v1.auth.DeviceLogin6 fields
Device Login message.
statusDeviceLoginStatusStatus value.
deviceTypeDeviceTypeDevice Type value.
deviceNamestringDevice Name value.
userCodestringUser Code value.
expiresAtUnixint64Expires At Unix value.
sameNetworkboolA privacy-preserving hint; false is inconclusive because phones may use mobile data or VPNs.
{
"status": "UNSPECIFIED",
"deviceType": "UNSPECIFIED",
"deviceName": "string value",
"userCode": "string value",
"expiresAtUnix": "1",
"sameNetwork": false
}03
Error handling
Common failure codes
invalid_argumentThe request payload failed validation.
internalThe service could not complete the operation.