Class/Object

com.mohiva.play.silhouette.api.services

AuthenticatorResult

Related Docs: object AuthenticatorResult | package services

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AuthenticatorResult(result: Result)

    Permalink

    result

    The result to wrap.

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addingToSession(values: (String, String)*)(implicit request: RequestHeader): Result

    Permalink
    Definition Classes
    Result
  5. def as(contentType: String): Result

    Permalink
    Definition Classes
    Result
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    Result
  8. def clone(): AnyRef

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

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

    Permalink

    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
  11. def discardingCookies(cookies: DiscardingCookie*): Result

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

    Permalink
    Definition Classes
    AnyRef
  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    Result
  15. def flashing(flash: Flash): Result

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. val header: ResponseHeader

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

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

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

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

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

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

    Permalink
    Definition Classes
    Result
  32. def withNewSession: Result

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

    Permalink
    Definition Classes
    Result
  34. def withSession(session: Session): Result

    Permalink
    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