Class: Capybara::Simulated::WebauthnState::Credential
- Inherits:
-
Object
- Object
- Capybara::Simulated::WebauthnState::Credential
- Defined in:
- lib/capybara/simulated/webauthn_state.rb
Instance Attribute Summary collapse
-
#private_key ⇒ Object
Returns the value of attribute private_key.
-
#raw_id ⇒ Object
Returns the value of attribute raw_id.
-
#resident ⇒ Object
Returns the value of attribute resident.
-
#rp_id ⇒ Object
Returns the value of attribute rp_id.
-
#sign_count ⇒ Object
Returns the value of attribute sign_count.
-
#user_handle ⇒ Object
Returns the value of attribute user_handle.
Instance Method Summary collapse
-
#initialize(raw_id:, private_key:, rp_id:, sign_count: 0, resident: false, user_handle: nil) ⇒ Credential
constructor
A new instance of Credential.
Constructor Details
#initialize(raw_id:, private_key:, rp_id:, sign_count: 0, resident: false, user_handle: nil) ⇒ Credential
Returns a new instance of Credential.
356 357 358 359 360 361 362 363 |
# File 'lib/capybara/simulated/webauthn_state.rb', line 356 def initialize(raw_id:, private_key:, rp_id:, sign_count: 0, resident: false, user_handle: nil) @raw_id = raw_id @private_key = private_key @rp_id = rp_id @sign_count = sign_count @resident = resident @user_handle = user_handle end |
Instance Attribute Details
#private_key ⇒ Object
Returns the value of attribute private_key.
354 355 356 |
# File 'lib/capybara/simulated/webauthn_state.rb', line 354 def private_key @private_key end |
#raw_id ⇒ Object
Returns the value of attribute raw_id.
354 355 356 |
# File 'lib/capybara/simulated/webauthn_state.rb', line 354 def raw_id @raw_id end |
#resident ⇒ Object
Returns the value of attribute resident.
354 355 356 |
# File 'lib/capybara/simulated/webauthn_state.rb', line 354 def resident @resident end |
#rp_id ⇒ Object
Returns the value of attribute rp_id.
354 355 356 |
# File 'lib/capybara/simulated/webauthn_state.rb', line 354 def rp_id @rp_id end |
#sign_count ⇒ Object
Returns the value of attribute sign_count.
354 355 356 |
# File 'lib/capybara/simulated/webauthn_state.rb', line 354 def sign_count @sign_count end |
#user_handle ⇒ Object
Returns the value of attribute user_handle.
354 355 356 |
# File 'lib/capybara/simulated/webauthn_state.rb', line 354 def user_handle @user_handle end |