pub async fn authenticated<S: AuthSchema>(
ctx: &AuthContext<S>,
request: &impl SessionRequest,
direct: bool,
) -> AuthResult<Option<AuthenticatedRead<S>>>Expand description
Shared direct/nested get-session lifecycle for the explicitly migrated guards. Nested reads behave as GET even when their parent endpoint is POST.