Skip to main content

validate_user

Function validate_user 

Source
pub fn validate_user(services: &Services, token: &str) -> Result<OwnedUserId>
Expand description

Validates a login token and resolves its local user identity.

The configured JWT rules validate the token before its subject becomes a user ID.