class AkkaHttpSecurity extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AkkaHttpSecurity
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new AkkaHttpSecurity(config: Config, sessionStorage: SessionStorage, sessionCookieName: String = AkkaHttpWebContext.DEFAULT_COOKIE_NAME)(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, 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(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit val executionContext: ExecutionContext
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logout(defaultUrl: String = Pac4jConstants.DEFAULT_URL_VALUE, logoutPatternUrl: String = Pac4jConstants.DEFAULT_LOGOUT_URL_PATTERN_VALUE, 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val sessionCookieName: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withAllClientsAuthentication(): Directive1[AuthenticatedRequest]
- def withAuthentication(clients: String = null, 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.
- Annotations
- @SuppressWarnings()
- 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]]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated