package access
- Alphabetic
- Public
- All
Type Members
-
trait
HeaderAccessControl[A] extends AnyRef
Control access to an API based on the RequestHeader.
Control access to an API based on the RequestHeader.
See StructuredAccessControl for a way to implement access control based on separated authentication and authorization.
Note that access control based on the request body is not supported right now. Consider construction your HeaderAccessControl (using body parameters as necessary) and invoking
runAndCheckin your API body. -
case class
StructuredAccessControl[A](authenticator: Authenticator[A], authorizer: Authorizer[A]) extends HeaderAccessControl[A] with Product with Serializable
Implementation of HeaderAccessControl with more structure, separating the authentication and authorization phases of access control to promote reusability.
Value Members
- object HeaderAccessControl extends AnyOf with And with EitherOf with SuccessfulOf
- object StructuredAccessControl extends Serializable