Packages

  • package root
    Definition Classes
    root
  • package play
    Definition Classes
    root
  • package silhouette

    An authentication library for Play Framework applications that supports several authentication methods, including OAuth1, OAuth2, OpenID, Credentials or custom authentication schemes.

    An authentication library for Play Framework applications that supports several authentication methods, including OAuth1, OAuth2, OpenID, Credentials or custom authentication schemes.

    Definition Classes
    play
  • package api

    The collection of traits and utility classes that form the stable API of Silhouette.

    The collection of traits and utility classes that form the stable API of Silhouette.

    Definition Classes
    silhouette
  • package services

    Provides services used by the API to call external or internal services.

    Provides services used by the API to call external or internal services.

    Definition Classes
    api
  • AuthenticatorResult
  • AuthenticatorService
  • AvatarService
  • IdentityService

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, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AuthenticatorResult
  2. Result
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AuthenticatorResult(result: Result)

    result

    The result to wrap.

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. def addAttr[A](key: TypedKey[A], value: A): Result
    Definition Classes
    Result
  5. def addAttrs(entries: TypedEntry[_]*): Result
    Definition Classes
    Result
  6. def addAttrs(e1: TypedEntry[_], e2: TypedEntry[_], e3: TypedEntry[_]): Result
    Definition Classes
    Result
  7. def addAttrs(e1: TypedEntry[_], e2: TypedEntry[_]): Result
    Definition Classes
    Result
  8. def addAttrs(e1: TypedEntry[_]): Result
    Definition Classes
    Result
  9. def addingToSession(values: (String, String)*)(implicit request: RequestHeader): Result
    Definition Classes
    Result
  10. def as(contentType: String): Result
    Definition Classes
    Result
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def asJava: Result
    Definition Classes
    Result
  13. val attrs: TypedMap
    Definition Classes
    Result
  14. def bakeCookies(cookieHeaderEncoding: CookieHeaderEncoding, sessionBaker: CookieBaker[Session], flashBaker: CookieBaker[Flash], requestHasFlash: Boolean): Result
    Definition Classes
    Result
  15. val body: HttpEntity
    Definition Classes
    Result
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  17. def copy(header: ResponseHeader, body: HttpEntity, newSession: Option[Session], newFlash: Option[Flash], newCookies: Seq[Cookie], attrs: TypedMap): 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.

    newSession

    A new session.

    newFlash

    A new flash.

    newCookies

    Some new cookies.

    returns

    A copy of a AuthenticatorResult.

    Definition Classes
    AuthenticatorResult → Result
  18. def discardingCookies(cookies: DiscardingCookie*): Result
    Definition Classes
    Result
  19. def discardingHeader(name: String): Result
    Definition Classes
    Result
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def flashing(values: (String, String)*): Result
    Definition Classes
    Result
  22. def flashing(flash: Flash): Result
    Definition Classes
    Result
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  24. val header: ResponseHeader
    Definition Classes
    Result
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. val newCookies: Seq[Cookie]
    Definition Classes
    Result
  28. val newFlash: Option[Flash]
    Definition Classes
    Result
  29. val newSession: Option[Session]
    Definition Classes
    Result
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  32. def productElementNames: Iterator[String]
    Definition Classes
    Product
  33. def removeAttr(key: TypedKey[_]): Result
    Definition Classes
    Result
  34. def removingFromSession(keys: String*)(implicit request: RequestHeader): Result
    Definition Classes
    Result
  35. def session(implicit request: RequestHeader): Session
    Definition Classes
    Result
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    Result → AnyRef → Any
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. def withAttrs(newAttrs: TypedMap): Result
    Definition Classes
    Result
  42. def withCookies(cookies: Cookie*): Result
    Definition Classes
    Result
  43. def withDateHeaders(headers: (String, ZonedDateTime)*): Result
    Definition Classes
    Result
  44. def withHeaders(headers: (String, String)*): Result
    Definition Classes
    Result
  45. def withNewSession: Result
    Definition Classes
    Result
  46. def withSession(session: (String, String)*): Result
    Definition Classes
    Result
  47. def withSession(session: Session): Result
    Definition Classes
    Result

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 Result

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped