Skip to main content

get_identity

Function get_identity 

Source
pub fn get_identity(id: Id) -> Task<Option<Identity>>
Expand description

Gets the complete compositor-authenticated identity for this window.

Returns None before it arrives, after revocation, for a closed window, or on an unsupported platform. An empty workspace in an existing identity explicitly means the machine plane. Subscribe to Event::IdentityChanged and Event::Closed to invalidate cached attribution.