DefaultDeviceIdFilter

uk.gov.hmrc.play.bootstrap.frontend.filters.deviceid.DefaultDeviceIdFilter
class DefaultDeviceIdFilter(@Named("appName") val appName: String, val configuration: Configuration, val auditConnector: AuditConnector)(implicit val mat: Materializer, val ec: ExecutionContext) extends DeviceIdFilter

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
DeviceIdFilter -> Filter
Inherited from:
DeviceIdFilter
def apply(next: EssentialAction): EssentialAction

Attributes

Inherited from:
Filter
def asJava: EssentialFilter

Attributes

Inherited from:
EssentialFilter
def buildNewDeviceIdCookie(): Cookie

Attributes

Inherited from:
DeviceIdCookie
def generateDeviceId(uuid: String): DeviceId

Attributes

Inherited from:
DeviceIdCookie
def generateUUID(): String

Attributes

Inherited from:
DeviceIdCookie
def getTimeStamp(): Long

Attributes

Inherited from:
DeviceIdCookie
def makeCookie(deviceId: DeviceId): Cookie

Attributes

Inherited from:
DeviceIdCookie

Concrete fields

val appName: String
val auditConnector: AuditConnector
val configuration: Configuration
lazy override val previousSecrets: Seq[String]
lazy override val secret: String
lazy override val secure: Boolean

Implicits

Implicits

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