pub struct DeviceSignInRequest {
pub device_name: Option<String>,
pub client_name: String,
pub platform: Platform,
pub requested_at: i64,
pub remember: bool,
pub requested_from: Option<DeviceAddress>,
}Expand description
A device waiting to be signed in (P3-07), as the approver sees it.
Fields§
§device_name: Option<String>What the device calls itself (from its Hello).
client_name: StringIts app, e.g. spoolframe-tvos.
platform: PlatformWhat kind of client it runs, as its Hello said: shown beside its
name (Platform::label, “Apple TV app”), so the approver knows
which device asks.
requested_at: i64Unix seconds.
remember: boolThe device asked to be remembered (P4-01): the approval says “This device will be remembered”, ticked, and the approver may untick it.
requested_from: Option<DeviceAddress>Where the device’s BeginDeviceSignIn came from, as the server saw
it (PX-09 finding 27): the one thing on this screen an attacker who
sent the approver a code cannot choose. None if the server could
not tell. The approval shows it, “The TV asked from 192.168.86.20.”,
and for AddressNetwork::Internet warns instead: the device is
not on the approver’s network, so approve only one you can see.