search_user_by_token

Function search_user_by_token 

Source
pub async fn search_user_by_token(
    token: String,
    client_id: i32,
) -> Result<User, Error>
Expand description

Searches a user by a token from the user’s link

§Arguments

  • token - Token to search for
  • client_id - The client id to send the request to