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.
44 45 46 |
# File 'lib/webauthn/configuration.rb', line 44 def initialize @relying_party = RelyingParty.new end |
Instance Attribute Details
#relying_party ⇒ Object (readonly)
Returns the value of attribute relying_party.
42 43 44 |
# File 'lib/webauthn/configuration.rb', line 42 def @relying_party end |
Instance Method Details
#rp_id ⇒ Object
56 57 58 |
# File 'lib/webauthn/configuration.rb', line 56 def rp_id .id end |
#rp_id=(id) ⇒ Object
60 61 62 |
# File 'lib/webauthn/configuration.rb', line 60 def rp_id=(id) .id = id end |
#rp_name ⇒ Object
48 49 50 |
# File 'lib/webauthn/configuration.rb', line 48 def rp_name .name end |
#rp_name=(name) ⇒ Object
52 53 54 |
# File 'lib/webauthn/configuration.rb', line 52 def rp_name=(name) .name = name end |