Skip to main content

me_core

Function me_core 

Source
pub async fn me_core(
    state: &AppState,
    rc: &RequestContext,
) -> Result<Value, ParseError>
Expand description

GET /users/me.

The token is validated first, then the user is re-fetched with the caller’s own auth (UsersRouter.js:214-223) so protected fields and CLP apply. Both failures answer Invalid session token, which is a different string from /sessions/me’s.