EndpointPolicyProvider
 mbauer83.zio_http_authorization.EndpointPolicyProvider$.EndpointPolicyProvider
  trait EndpointPolicyProvider
 
Permits effectful retrieval of a matching AuthorizationPolicy given a Request as well as effectful registration of AuthorizationPolicies using a partial function from Request to a policy.
Both the retrieval and registration methods are polymorphic in the types of the User and Resource to which the policy applies.
A default policy is also required. This is used as a fallback when no matching policy is found.
Attributes
- Note
- 
    To fail safe when no matching policy is found, it is strongly recommended to set the provided DenyAllPolicy as the default policy. 
- Graph
- 
    
- Supertypes
- 
    class Objecttrait Matchableclass Any
- Known subtypes
Members list
In this article