Packages

class DummyAuthenticatorService extends AuthenticatorService[DummyAuthenticator]

The service that handles the dummy token authenticator.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DummyAuthenticatorService
  2. AuthenticatorService
  3. ExecutionContextProvider
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DummyAuthenticatorService()(implicit executionContext: ExecutionContext)

    executionContext

    The execution context to handle the asynchronous operations.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. def create(loginInfo: LoginInfo)(implicit request: RequestHeader): Future[DummyAuthenticator]

    Creates a new authenticator for the specified login info.

    Creates a new authenticator for the specified login info.

    loginInfo

    The login info for which the authenticator should be created.

    request

    The request header.

    returns

    An authenticator.

    Definition Classes
    DummyAuthenticatorServiceAuthenticatorService
  7. def discard(authenticator: DummyAuthenticator, result: Result)(implicit request: RequestHeader): Future[AuthenticatorResult]

    Returns the original request, because we needn't discard the authenticator in the result.

    Returns the original request, because we needn't discard the authenticator in the result.

    authenticator

    The authenticator instance.

    result

    The result to manipulate.

    request

    The request header.

    returns

    The manipulated result.

    Definition Classes
    DummyAuthenticatorServiceAuthenticatorService
  8. def embed(value: Unit, request: RequestHeader): RequestHeader

    Returns the original request, because we needn't add the authenticator to the request.

    Returns the original request, because we needn't add the authenticator to the request.

    value

    The authenticator value to embed.

    request

    The request header.

    returns

    The manipulated request header.

    Definition Classes
    DummyAuthenticatorServiceAuthenticatorService
  9. def embed(value: Unit, result: Result)(implicit request: RequestHeader): Future[AuthenticatorResult]

    Returns the original result, because we needn't add the authenticator to the result.

    Returns the original result, because we needn't add the authenticator to the result.

    value

    The authenticator value to embed.

    result

    The result to manipulate.

    request

    The request header.

    returns

    The manipulated result.

    Definition Classes
    DummyAuthenticatorServiceAuthenticatorService
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. implicit val executionContext: ExecutionContext

    The execution context to handle the asynchronous operations.

    The execution context to handle the asynchronous operations.

    Definition Classes
    DummyAuthenticatorServiceExecutionContextProvider
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. def init(authenticator: DummyAuthenticator)(implicit request: RequestHeader): Future[Unit]

    Returns noting because this authenticator doesn't have a serialized representation.

    Returns noting because this authenticator doesn't have a serialized representation.

    authenticator

    The authenticator instance.

    request

    The request header.

    returns

    The serialized authenticator value.

    Definition Classes
    DummyAuthenticatorServiceAuthenticatorService
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. def renew(authenticator: DummyAuthenticator, result: Result)(implicit request: RequestHeader): Future[AuthenticatorResult]

    Returns the original request, because we needn't renew the authenticator in the result.

    Returns the original request, because we needn't renew the authenticator in the result.

    authenticator

    The authenticator to update.

    result

    The result to manipulate.

    request

    The request header.

    returns

    The original or a manipulated result.

    Definition Classes
    DummyAuthenticatorServiceAuthenticatorService
  21. def renew(authenticator: DummyAuthenticator)(implicit request: RequestHeader): Future[Unit]

    Returns noting because this authenticator doesn't have a serialized representation.

    Returns noting because this authenticator doesn't have a serialized representation.

    authenticator

    The authenticator to renew.

    request

    The request header.

    returns

    The serialized expression of the authenticator.

    Definition Classes
    DummyAuthenticatorServiceAuthenticatorService
  22. def retrieve[B](implicit request: ExtractableRequest[B]): Future[Option[DummyAuthenticator]]

    Retrieves the authenticator from request.

    Retrieves the authenticator from request.

    Doesn't need to return an authenticator here, because this method will not be called if a request provider grants access. If the authentication with a request provider has failed, then this method must return None to not grant access to the resource.

    B

    The type of the request body.

    request

    The request to retrieve the authenticator from.

    returns

    Always None because .

    Definition Classes
    DummyAuthenticatorServiceAuthenticatorService
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def touch(authenticator: DummyAuthenticator): Either[DummyAuthenticator, DummyAuthenticator]

    Touches an authenticator.

    Touches an authenticator.

    An authenticator can use sliding window expiration. This means that the authenticator times out after a certain time if it wasn't used. So to mark an authenticator as used it will be touched on every request to a Silhouette action. If an authenticator should not be touched because of the fact that sliding window expiration is disabled, then it should be returned on the right, otherwise it should be returned on the left. An untouched authenticator needn't be updated later by the update method.

    authenticator

    The authenticator to touch.

    returns

    The touched authenticator on the left or the untouched authenticator on the right.

    Definition Classes
    DummyAuthenticatorServiceAuthenticatorService
  26. def update(authenticator: DummyAuthenticator, result: Result)(implicit request: RequestHeader): Future[AuthenticatorResult]

    Returns the original request, because we needn't update the authenticator in the result.

    Returns the original request, because we needn't update the authenticator in the result.

    authenticator

    The authenticator to update.

    result

    The result to manipulate.

    request

    The request header.

    returns

    The original or a manipulated result.

    Definition Classes
    DummyAuthenticatorServiceAuthenticatorService
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped