Class: OmniAuth::Strategies::Yubikey
- Inherits:
-
Object
- Object
- OmniAuth::Strategies::Yubikey
- Includes:
- OmniAuth::Strategy
- Defined in:
- lib/omniauth/strategies/yubikey.rb
Instance Attribute Summary collapse
-
#otp_id ⇒ Object
Returns the value of attribute otp_id.
Instance Method Summary collapse
Instance Attribute Details
#otp_id ⇒ Object
Returns the value of attribute otp_id.
15 16 17 |
# File 'lib/omniauth/strategies/yubikey.rb', line 15 def otp_id @otp_id end |
Instance Method Details
#request_phase ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/omniauth/strategies/yubikey.rb', line 17 def request_phase if env["REQUEST_METHOD"] == "GET" get_credentials else perform end end |