gleetube/model/auth

Types

OAuth2 access token response from Google.

pub type AccessToken {
  AccessToken(
    access_token: String,
    token_type: option.Option(String),
    expires_in: option.Option(Int),
    refresh_token: option.Option(String),
    scope: option.Option(String),
  )
}

Constructors

Authenticated user profile from Google OAuth2.

pub type UserProfile {
  UserProfile(
    id: option.Option(String),
    name: option.Option(String),
    given_name: option.Option(String),
    family_name: option.Option(String),
    picture: option.Option(String),
    locale: option.Option(String),
  )
}

Constructors

Search Document