com.mohiva.play.silhouette.api.services

AuthenticatorResult

class AuthenticatorResult extends Result

A marker result which indicates that an operation on an authenticator was processed and therefore it shouldn't updated automatically.

Due the fact that the update method gets called on every subsequent request to update the authenticator related data in the backing store and in the result, it isn't possible to discard or renew the authenticator simultaneously. This is because the "update" method would override the result created by the "renew" or "discard" method, because it will be executed as last in the chain.

As example: If we discard the session in a Silhouette action then it will be removed from session. But at the end the update method will embed the session again, because it gets called with the result of the action.

Linear Supertypes
Result, Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AuthenticatorResult
  2. Result
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AuthenticatorResult(result: Result)

    result

    The result to wrap.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addingToSession(values: (String, String)*)(implicit request: RequestHeader): Result

    Definition Classes
    Result
  7. def as(contentType: String): Result

    Definition Classes
    Result
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. val body: Enumerator[Array[Byte]]

    Definition Classes
    Result
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val connection: Connection

    Definition Classes
    Result
  12. def copy(header: ResponseHeader = this.header, body: Enumerator[Array[Byte]] = this.body, connection: Connection = this.connection): AuthenticatorResult

    Creates a new copy of a AuthenticatorResult.

    Creates a new copy of a AuthenticatorResult.

    header

    The response header, which contains status code and HTTP headers.

    body

    The response body.

    connection

    The connection semantics to use.

    returns

    A copy of a AuthenticatorResult.

    Definition Classes
    AuthenticatorResult → Result
  13. def discardingCookies(cookies: DiscardingCookie*): Result

    Definition Classes
    Result
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def flashing(values: (String, String)*): Result

    Definition Classes
    Result
  17. def flashing(flash: Flash): Result

    Definition Classes
    Result
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. val header: ResponseHeader

    Definition Classes
    Result
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def removingFromSession(keys: String*)(implicit request: RequestHeader): Result

    Definition Classes
    Result
  25. def session(implicit request: RequestHeader): Session

    Definition Classes
    Result
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    Result → AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def withCookies(cookies: Cookie*): Result

    Definition Classes
    Result
  32. def withDateHeaders(headers: (String, DateTime)*): Result

    Definition Classes
    Result
  33. def withHeaders(headers: (String, String)*): Result

    Definition Classes
    Result
  34. def withNewSession: Result

    Definition Classes
    Result
  35. def withSession(session: (String, String)*): Result

    Definition Classes
    Result
  36. def withSession(session: Session): Result

    Definition Classes
    Result

Inherited from Result

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped