class Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo

Attributes

display_name[RW]

The user's display name at the IDP. Corresponds to the JSON property `displayName` @return [String]

email[RW]

User's email at IDP. Corresponds to the JSON property `email` @return [String]

federated_id[RW]

User's identifier at IDP. Corresponds to the JSON property `federatedId` @return [String]

phone_number[RW]

User's phone number. Corresponds to the JSON property `phoneNumber` @return [String]

photo_url[RW]

The user's photo url at the IDP. Corresponds to the JSON property `photoUrl` @return [String]

provider_id[RW]

The IdP ID. For white listed IdPs it's a short domain name, e.g., google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP identifier. Corresponds to the JSON property `providerId` @return [String]

raw_id[RW]

User's raw identifier directly returned from IDP. Corresponds to the JSON property `rawId` @return [String]

screen_name[RW]

User's screen name at Twitter or login name at Github. Corresponds to the JSON property `screenName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/identitytoolkit_v3/classes.rb, line 2251
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/identitytoolkit_v3/classes.rb, line 2256
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @email = args[:email] if args.key?(:email)
  @federated_id = args[:federated_id] if args.key?(:federated_id)
  @phone_number = args[:phone_number] if args.key?(:phone_number)
  @photo_url = args[:photo_url] if args.key?(:photo_url)
  @provider_id = args[:provider_id] if args.key?(:provider_id)
  @raw_id = args[:raw_id] if args.key?(:raw_id)
  @screen_name = args[:screen_name] if args.key?(:screen_name)
end