aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/pdsuicommon/auth/AnonymousRequestContext.scala
blob: c677ef882c2e25f2c13e986a37abff695a06d7af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
package xyz.driver.pdsuicommon.auth

class AnonymousRequestContext(val requestId: RequestId) {

  override def equals(that: Any): Boolean = {
    that.getClass == classOf[AnonymousRequestContext] &&
    that.asInstanceOf[AnonymousRequestContext].requestId == requestId
  }

  override def hashCode(): Int = requestId.hashCode()
}