Class: WebAuthn::Configuration
- Inherits:
-
Object
- Object
- WebAuthn::Configuration
- Extended by:
- Forwardable
- Defined in:
- lib/webauthn/configuration.rb
Instance Attribute Summary collapse
-
#relying_party ⇒ Object
readonly
Returns the value of attribute relying_party.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #rp_id ⇒ Object
- #rp_id=(id) ⇒ Object
- #rp_name ⇒ Object
- #rp_name=(name) ⇒ Object
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
42 43 44 |
# File 'lib/webauthn/configuration.rb', line 42 def initialize @relying_party = RelyingParty.new end |
Instance Attribute Details
#relying_party ⇒ Object (readonly)
Returns the value of attribute relying_party.
40 41 42 |
# File 'lib/webauthn/configuration.rb', line 40 def @relying_party end |
Instance Method Details
#rp_id ⇒ Object
54 55 56 |
# File 'lib/webauthn/configuration.rb', line 54 def rp_id .id end |
#rp_id=(id) ⇒ Object
58 59 60 |
# File 'lib/webauthn/configuration.rb', line 58 def rp_id=(id) .id = id end |
#rp_name ⇒ Object
46 47 48 |
# File 'lib/webauthn/configuration.rb', line 46 def rp_name .name end |
#rp_name=(name) ⇒ Object
50 51 52 |
# File 'lib/webauthn/configuration.rb', line 50 def rp_name=(name) .name = name end |