Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package mohiva
    Definition Classes
    com
  • package play
    Definition Classes
    mohiva
  • 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 addingToSession(values: (String, String)*)(implicit request: RequestHeader): Result
    Definition Classes
    Result
  5. def as(contentType: String): Result
    Definition Classes
    Result
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asJava: Result
    Definition Classes
    Result
  8. def bakeCookies(cookieHeaderEncoding: CookieHeaderEncoding, sessionBaker: CookieBaker[Session], flashBaker: CookieBaker[Flash], requestHasFlash: Boolean): Result
    Definition Classes
    Result
  9. val body: HttpEntity
    Definition Classes
    Result
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def copy(header: ResponseHeader, body: HttpEntity, newSession: Option[Session], newFlash: Option[Flash], newCookies: Seq[Cookie]): 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
  12. def discardingCookies(cookies: DiscardingCookie*): Result
    Definition Classes
    Result
  13. def discardingHeader(name: String): Result
    Definition Classes
    Result
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[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[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  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. val newCookies: Seq[Cookie]
    Definition Classes
    Result
  23. val newFlash: Option[Flash]
    Definition Classes
    Result
  24. val newSession: Option[Session]
    Definition Classes
    Result
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. def removingFromSession(keys: String*)(implicit request: RequestHeader): Result
    Definition Classes
    Result
  29. def session(implicit request: RequestHeader): Session
    Definition Classes
    Result
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    Result → AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. def withCookies(cookies: Cookie*): Result
    Definition Classes
    Result
  36. def withDateHeaders(headers: (String, ZonedDateTime)*): Result
    Definition Classes
    Result
  37. def withHeaders(headers: (String, String)*): Result
    Definition Classes
    Result
  38. def withNewSession: Result
    Definition Classes
    Result
  39. def withSession(session: (String, String)*): Result
    Definition Classes
    Result
  40. def withSession(session: Session): Result
    Definition Classes
    Result

Inherited from Result

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped