class Google::Apis::IdentitytoolkitV3::IdpConfig
Template for a single idp configuration.
Attributes
OAuth2 client ID. Corresponds to the JSON property `clientId` @return [String]
Whether this IDP is enabled. Corresponds to the JSON property `enabled` @return [Boolean]
Whether this IDP is enabled. Corresponds to the JSON property `enabled` @return [Boolean]
Percent of users who will be prompted/redirected federated login for this IDP. Corresponds to the JSON property `experimentPercent` @return [Fixnum]
OAuth2 provider. Corresponds to the JSON property `provider` @return [String]
OAuth2 client secret. Corresponds to the JSON property `secret` @return [String]
Whitelisted client IDs for audience check. Corresponds to the JSON property `whitelistedAudiences` @return [Array<String>]
Public Class Methods
# File lib/google/apis/identitytoolkit_v3/classes.rb, line 1681 def initialize(**args) update!(**args) end
Public Instance Methods
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