class Google::Apis::IdentitytoolkitV3::IdpConfig

Template for a single idp configuration.

Attributes

client_id[RW]

OAuth2 client ID. Corresponds to the JSON property `clientId` @return [String]

enabled[RW]

Whether this IDP is enabled. Corresponds to the JSON property `enabled` @return [Boolean]

enabled?[RW]

Whether this IDP is enabled. Corresponds to the JSON property `enabled` @return [Boolean]

experiment_percent[RW]

Percent of users who will be prompted/redirected federated login for this IDP. Corresponds to the JSON property `experimentPercent` @return [Fixnum]

provider[RW]

OAuth2 provider. Corresponds to the JSON property `provider` @return [String]

secret[RW]

OAuth2 client secret. Corresponds to the JSON property `secret` @return [String]

whitelisted_audiences[RW]

Whitelisted client IDs for audience check. Corresponds to the JSON property `whitelistedAudiences` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/identitytoolkit_v3/classes.rb, line 1681
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 1686
def update!(**args)
  @client_id = args[:client_id] if args.key?(:client_id)
  @enabled = args[:enabled] if args.key?(:enabled)
  @experiment_percent = args[:experiment_percent] if args.key?(:experiment_percent)
  @provider = args[:provider] if args.key?(:provider)
  @secret = args[:secret] if args.key?(:secret)
  @whitelisted_audiences = args[:whitelisted_audiences] if args.key?(:whitelisted_audiences)
end