Struct ferry::User [−][src]
pub struct User { pub raw_data: Value, pub provider: &'static str, pub email: &'static str, pub name: &'static str, pub first_name: &'static str, pub last_name: &'static str, pub nickname: &'static str, pub description: &'static str, pub user_id: &'static str, pub avatar_url: &'static str, pub location: &'static str, pub access_token: &'static str, pub access_token_secret: &'static str, pub refresh_token: &'static str, pub expires_at: DateTime<Utc>, }
User contains the information common amongst most OAuth and OAuth2 providers.
All of the "raw" datafrom the provider can be found in the RawData
field.
Fields
raw_data: Value
provider: &'static str
email: &'static str
name: &'static str
first_name: &'static str
last_name: &'static str
nickname: &'static str
description: &'static str
user_id: &'static str
avatar_url: &'static str
location: &'static str
access_token: &'static str
access_token_secret: &'static str
refresh_token: &'static str
expires_at: DateTime<Utc>