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
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. def asJava: Result

    Permalink
    Definition Classes
    Result
  8. def bakeCookies(cookieHeaderEncoding: CookieHeaderEncoding, sessionBaker: CookieBaker[Session], flashBaker: CookieBaker[Flash], requestHasFlash: Boolean): Result

    Permalink
    Definition Classes
    Result
  9. val body: HttpEntity

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def copy(header: ResponseHeader, body: HttpEntity, newSession: Option[Session], newFlash: Option[Flash], newCookies: Seq[Cookie]): 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.

    newSession

    A new session.

    newFlash

    A new flash.

    newCookies

    Some new cookies.

    returns

    A copy of a AuthenticatorResult.

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

    Permalink
    Definition Classes
    Result
  13. def discardingHeader(name: String): Result

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. val newCookies: Seq[Cookie]

    Permalink
    Definition Classes
    Result
  23. val newFlash: Option[Flash]

    Permalink
    Definition Classes
    Result
  24. val newSession: Option[Session]

    Permalink
    Definition Classes
    Result
  25. final def notify(): Unit

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Result
  35. def withDateHeaders(headers: (String, ZonedDateTime)*): Result

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

    Permalink
    Definition Classes
    Result
  37. def withNewSession: Result

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

    Permalink
    Definition Classes
    Result
  39. 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