check_token

Function check_token 

Source
pub async fn check_token(
    token: &ApiToken,
    cacher: &Pool<RedisConnectionManager>,
) -> MResult<UserId>
Expand description

Validates the user by token via Redis-like DB.