Function wicrs_server::user::get_id[][src]

pub fn get_id(id: &str, service: &Service) -> ID

Gets a user ID based on their ID from the OAuth service they used to sign up and the name of the OAuth service.

Arguments

  • id - the ID of the user on their selected OAuth service.
  • service - the user’s selected OAuth service.