uk.gov.hmrc.play.bootstrap.frontend.filters.deviceid

Members list

Type members

Classlikes

class DefaultDeviceIdFilter(@Named("appName") val appName: String, val configuration: Configuration, val auditConnector: AuditConnector)(implicit val mat: Materializer, val ec: ExecutionContext) extends DeviceIdFilter

Attributes

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
case class DeviceId(uuid: String, timestamp: Long, hash: String)

The DeviceId is a long lived cookie which represents a digital signature composed of a UUID, timestamp in milliseconds and a hash.

The DeviceId is a long lived cookie which represents a digital signature composed of a UUID, timestamp in milliseconds and a hash.

The format of the cookie 'mdtpdi' is...

mdtpdi#UUID#TIMESTAMP_hash

Note the above hash is a one way hash of the value preceding the "_".

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DeviceId

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
DeviceId.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait DeviceIdFilter extends Filter, DeviceIdCookie

Attributes

Supertypes
trait Filter
trait EssentialFilter
class Object
trait Matchable
class Any
Show all
Known subtypes