Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1FederatedUserIdentifier

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/identitytoolkit_v1/classes.rb,
lib/google/apis/identitytoolkit_v1/representations.rb,
lib/google/apis/identitytoolkit_v1/representations.rb

Overview

Federated user identifier at an Identity Provider.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1FederatedUserIdentifier

Returns a new instance of GoogleCloudIdentitytoolkitV1FederatedUserIdentifier.



688
689
690
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 688

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#provider_idString

The ID of supported identity providers. This should be a provider ID enabled for sign-in, which is either from the list of default supported IdPs, or of the format oidc.* or saml.*. Some examples are google.com, facebook.com, oidc.testapp, and saml.testapp. Corresponds to the JSON property providerId

Returns:

  • (String)


680
681
682
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 680

def provider_id
  @provider_id
end

#raw_idString

The user ID of the account at the third-party Identity Provider specified by provider_id. Corresponds to the JSON property rawId

Returns:

  • (String)


686
687
688
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 686

def raw_id
  @raw_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



693
694
695
696
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 693

def update!(**args)
  @provider_id = args[:provider_id] if args.key?(:provider_id)
  @raw_id = args[:raw_id] if args.key?(:raw_id)
end