Class: Shaf::Spec::Authenticator
- Inherits:
-
Authenticator::Base
- Object
- Authenticator::Base
- Shaf::Spec::Authenticator
- Defined in:
- lib/shaf/spec/authenticator.rb
Class Method Summary collapse
Methods inherited from Authenticator::Base
challenges_for, inherited, param, params, restricted, scheme, scheme?, user
Class Method Details
.credentials(authorization, _request) ⇒ Object
8 9 10 |
# File 'lib/shaf/spec/authenticator.rb', line 8 def self.credentials(, _request) { id: &.to_i } end |