Class: RazorRisk::Cassini::Applications::SecuredMicroservice
- Inherits:
-
SecurableMicroservice
- Object
- Sinatra::Base
- Microservice
- SecurableMicroservice
- RazorRisk::Cassini::Applications::SecuredMicroservice
- Includes:
- RazorRisk::Core::Diagnostics::Logger
- Defined in:
- lib/razor_risk/cassini/applications/secured_microservice.rb
Overview
A refinement of the SecurableMicroservice class that checks authorisation
for every request (in the before handler) and exposes the obtained
credentials (in an authentication scheme-dependent form) in the
credentials attribute
Instance Attribute Summary collapse
-
#credentials ⇒ Object
readonly
Returns the value of attribute credentials.
Method Summary
Methods inherited from SecurableMicroservice
Methods inherited from Microservice
define_catch_all_handlers, full_description, init_base_service, run!
Instance Attribute Details
#credentials ⇒ Object (readonly)
Returns the value of attribute credentials.
51 52 53 |
# File 'lib/razor_risk/cassini/applications/secured_microservice.rb', line 51 def credentials @credentials end |