Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasskeyConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb
Overview
Configuration for signing in users using passkeys.
Instance Attribute Summary collapse
-
#expected_origins ⇒ Array<String>
Required.
-
#name ⇒ String
Required.
-
#rp_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2PasskeyConfig
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2PasskeyConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2PasskeyConfig
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2PasskeyConfig.
1258 1259 1260 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1258 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expected_origins ⇒ Array<String>
Required. The website or app origins associated with the customer's sites or
apps. Only challenges signed from these origins will be allowed to sign in
with passkeys.
Corresponds to the JSON property expectedOrigins
1245 1246 1247 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1245 def expected_origins @expected_origins end |
#name ⇒ String
Required. The name of the PasskeyConfig resource.
Corresponds to the JSON property name
1250 1251 1252 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1250 def name @name end |
#rp_id ⇒ String
Required. The relying party ID for the purpose of passkeys verifications. This
cannot be changed once created.
Corresponds to the JSON property rpId
1256 1257 1258 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1256 def rp_id @rp_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1263 1264 1265 1266 1267 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1263 def update!(**args) @expected_origins = args[:expected_origins] if args.key?(:expected_origins) @name = args[:name] if args.key?(:name) @rp_id = args[:rp_id] if args.key?(:rp_id) end |