final class UserIdentityService extends AnyRef
Provides HTTP services concerning user principal identity
- Alphabetic
- By Inheritance
- UserIdentityService
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new UserIdentityService(addUser: AddUser, getUser: GetUser, removeUser: RemoveUser, applicationPrincipal: Principal, applicationSecret: () => Future[Array[Byte]], authenticate: Authenticate, authenticateCacheSize: Int, authenticateTimeout: FiniteDuration, authenticateFailureTtl: FiniteDuration, currentTimeMillis: () => Long, getAuthenticatedSecret: GetAuthenticatedSecret, getAuthenticatedSecretCacheSize: Int, getAuthenticatedSecretTimeout: FiniteDuration, getAuthenticatedSecretFailureTtl: FiniteDuration, invalidateAuthenticatedSecretTimeout: FiniteDuration, maxActivePrincipals: Int, putAuthenticatedSecret: PutAuthenticatedSecret, putAuthenticatedSecretTimeout: FiniteDuration, principalIdleTimeout: FiniteDuration, removeAuthenticatedSecret: RemoveAuthenticatedSecret, removeAuthenticatedSecretTimeout: FiniteDuration, system: ActorSystem)
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
- val addUser: AddUser
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def authenticate(username: String, password: String): Future[Option[String]]
Authenticate and, if successful, retain the associated principal.
Authenticate and, if successful, retain the associated principal. Returns the authentication token as an encoded hex string when successful.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val getUser: GetUser
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val removeUser: RemoveUser
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def verifier(providedCredentials: Optional[ProvidedCredentials]): CompletionStage[Optional[Principal]]
Given credentials, given that they remain valid.
Given credentials, given that they remain valid. If they are then return the associated principal.
- def verifier(credentials: Credentials): Future[Option[Principal]]
Given credentials, given that they remain valid.
Given credentials, given that they remain valid. If they are then return the associated principal.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()