DefaultSessionCookieCryptoFilter

uk.gov.hmrc.play.bootstrap.frontend.filters.crypto.DefaultSessionCookieCryptoFilter
class DefaultSessionCookieCryptoFilter(sessionCookieCrypto: SessionCookieCrypto, val sessionBaker: SessionCookieBaker, val cookieHeaderEncoding: CookieHeaderEncoding)(implicit val mat: Materializer, val ec: ExecutionContext) extends SessionCookieCryptoFilter

Attributes

Graph
Supertypes
trait Filter
trait EssentialFilter
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

override def apply(next: RequestHeader => Future[Result])(rh: RequestHeader): Future[Result]

Apply the filter, given the request header and a function to call the next operation.

Apply the filter, given the request header and a function to call the next operation.

Value parameters

f

A function to call the next operation. Call this to continue normally with the current request. You do not need to call this function if you want to generate a result in a different way.

rh

The RequestHeader.

Attributes

Definition Classes
Inherited from:
SessionCookieCryptoFilter
def apply(next: EssentialAction): EssentialAction

Attributes

Inherited from:
Filter
def asJava: EssentialFilter

Attributes

Inherited from:
EssentialFilter

Concrete fields

override val cookieHeaderEncoding: CookieHeaderEncoding
override val sessionBaker: SessionCookieBaker

Inherited fields

protected val decodeCookieHeader: String => Seq[Cookie]

Attributes

Inherited from:
SessionCookieCryptoFilter

Implicits

Implicits

implicit override val ec: ExecutionContext
implicit override val mat: Materializer

Inherited implicits

implicit protected def cryptToString(c: Crypted): String

Attributes

Inherited from:
CryptoImplicits
implicit protected def plainToString(p: PlainText): String

Attributes

Inherited from:
CryptoImplicits
implicit protected def strToCrypt(s: String): Crypted

Attributes

Inherited from:
CryptoImplicits
implicit protected def strToPlain(s: String): PlainContent

Attributes

Inherited from:
CryptoImplicits