Attributes
- Companion
- trait
- Source
- SecurityDirectives.scala
- Graph
-
- Supertypes
- Self type
-
SecurityDirectives.type
Members list
Type members
Inherited types
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
The result of an HTTP authentication attempt is either the user object or an HttpChallenge to present to the browser.
The result of an HTTP authentication attempt is either the user object or an HttpChallenge to present to the browser.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
Value members
Inherited methods
Wraps the inner route with Http Basic authentication support using a given Authenticator[T]. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
Wraps the inner route with Http Basic authentication support using a given Authenticator[T]. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
Wraps the inner route with Http Basic authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
Wraps the inner route with Http Basic authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
A directive that wraps the inner route with Http Basic authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
A directive that wraps the inner route with Http Basic authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
A directive that wraps the inner route with Http Basic authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
A directive that wraps the inner route with Http Basic authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
A directive that wraps the inner route with OAuth2 Bearer Token authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
A directive that wraps the inner route with OAuth2 Bearer Token authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
A directive that wraps the inner route with OAuth2 Bearer Token authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
A directive that wraps the inner route with OAuth2 Bearer Token authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
A directive that wraps the inner route with OAuth2 Bearer Token authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
A directive that wraps the inner route with OAuth2 Bearer Token authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
A directive that wraps the inner route with OAuth2 Bearer Token authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
A directive that wraps the inner route with OAuth2 Bearer Token authentication support. The given authenticator determines whether the credentials in the request are valid and, if so, which user object to supply to the inner route.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
Lifts an authenticator function into a directive. Same as authenticateOrRejectWithChallenge but only applies the authenticator function with a certain type of credentials.
Lifts an authenticator function into a directive. Same as authenticateOrRejectWithChallenge but only applies the authenticator function with a certain type of credentials.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
Lifts an authenticator function into a directive. The authenticator function gets passed in credentials from the Authorization header of the request. If the function returns Right(user) the user object is provided to the inner route. If the function returns Left(challenge) the request is rejected with an AuthenticationFailedRejection that contains this challenge to be added to the response.
Lifts an authenticator function into a directive. The authenticator function gets passed in credentials from the Authorization header of the request. If the function returns Right(user) the user object is provided to the inner route. If the function returns Left(challenge) the request is rejected with an AuthenticationFailedRejection that contains this challenge to be added to the response.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
Applies the given authorization check to the request. If the check fails the route is rejected with an AuthorizationFailedRejection.
Applies the given authorization check to the request. If the check fails the route is rejected with an AuthorizationFailedRejection.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
Applies the given authorization check to the request. If the check fails the route is rejected with an AuthorizationFailedRejection.
Applies the given authorization check to the request. If the check fails the route is rejected with an AuthorizationFailedRejection.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
Asynchronous version of authorize. If the IO fails or is completed with false authorization fails and the route is rejected with an AuthorizationFailedRejection.
Asynchronous version of authorize. If the IO fails or is completed with false authorization fails and the route is rejected with an AuthorizationFailedRejection.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
Asynchronous version of authorize. If the IO fails or is completed with false authorization fails and the route is rejected with an AuthorizationFailedRejection.
Asynchronous version of authorize. If the IO fails or is completed with false authorization fails and the route is rejected with an AuthorizationFailedRejection.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala
Extracts the potentially present Credentials provided with the request's Authorization header.
Extracts the potentially present Credentials provided with the request's Authorization header.
Attributes
- Inherited from:
- SecurityDirectives
- Source
- SecurityDirectives.scala