Skip to main content

whoami

Function whoami 

Source
pub async fn whoami(
    __arg0: State<Arc<OAuthState>>,
    headers: HeaderMap,
) -> Response
Expand description

Return the viewer authority derived from the opaque server-side session. Missing, invalid, expired, or non-ATProto sessions all collapse to the same public unauthenticated floor.