class AkkaHttpSecurity extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AkkaHttpSecurity
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AkkaHttpSecurity(config: Config, sessionStorage: SessionStorage, sessionCookieName: String = ...)(implicit executionContext: ExecutionContext)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
callback(defaultUrl: String = Pac4jConstants.DEFAULT_URL_VALUE, saveInSession: Boolean = true, multiProfile: Boolean = true, defaultClient: Option[String] = None, enforceFormEncoding: Boolean = false, existingContext: Option[AkkaHttpWebContext] = None, setCsrfCookie: Boolean = true): Route
Callback to finish the login process for indirect clients.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit val executionContext: ExecutionContext
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logout(defaultUrl: String = Pac4jConstants.DEFAULT_URL_VALUE, logoutPatternUrl: String = ..., localLogout: Boolean = true, destroySession: Boolean = true, centralLogout: Boolean = false): Route
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val sessionCookieName: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withAllClientsAuthentication(multiProfile: Boolean = true): Directive1[AuthenticatedRequest]
-
def
withAuthentication(clients: String = null, multiProfile: Boolean = true, authorizers: String = ""): Directive1[AuthenticatedRequest]
Authenticate using the provided pac4j configuration.
Authenticate using the provided pac4j configuration. Delivers an AuthenticationRequest which can be used for further authorization this does not apply any authorization ofr filtering.
-
def
withContext(existingContext: Option[AkkaHttpWebContext] = None, formParams: Map[String, String] = Map.empty): Directive1[AkkaHttpWebContext]
This directive constructs a pac4j context for a route.
This directive constructs a pac4j context for a route. This means the request is interpreted into an AkkaHttpWebContext and any changes to this context are applied when the route returns (e.g. headers/cookies).
- def withFormParameters(enforceFormEncoding: Boolean): Directive1[Map[String, String]]