Skip to main content

get_session

Function get_session 

Source
pub async fn get_session(
    __arg0: State<Arc<OAuthState>>,
    __arg1: Extension<AuthenticatedUser>,
) -> Response
Expand description

Return the current authenticated ATProto session from the native account authority. The bearer/DPoP middleware authenticates the request; this handler revalidates the token and scope before consulting the resolver.