Function cc_auth::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.
pub async fn check_token(
token: &ApiToken,
cacher: &Pool<RedisConnectionManager>
) -> MResult<UserId>Validates the user by token via Redis-like DB.