com.mohiva.play.silhouette.api.services
AuthenticatorResult
Companion object 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.
- Alphabetic
- By Inheritance
- AuthenticatorResult
- Result
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addingToSession(values: (String, String)*)(implicit request: RequestHeader): Result
- Definition Classes
- Result
-
def
as(contentType: String): Result
- Definition Classes
- Result
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asJava: Result
- Definition Classes
- Result
-
def
bakeCookies(cookieHeaderEncoding: CookieHeaderEncoding, sessionBaker: CookieBaker[Session], flashBaker: CookieBaker[Flash], requestHasFlash: Boolean): Result
- Definition Classes
- Result
-
val
body: HttpEntity
- Definition Classes
- Result
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
-
def
discardingCookies(cookies: DiscardingCookie*): Result
- Definition Classes
- Result
-
def
discardingHeader(name: String): Result
- Definition Classes
- Result
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flashing(values: (String, String)*): Result
- Definition Classes
- Result
-
def
flashing(flash: Flash): Result
- Definition Classes
- Result
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
header: ResponseHeader
- Definition Classes
- Result
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
newCookies: Seq[Cookie]
- Definition Classes
- Result
-
val
newFlash: Option[Flash]
- Definition Classes
- Result
-
val
newSession: Option[Session]
- Definition Classes
- Result
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
removingFromSession(keys: String*)(implicit request: RequestHeader): Result
- Definition Classes
- Result
-
def
session(implicit request: RequestHeader): Session
- Definition Classes
- Result
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Result → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withCookies(cookies: Cookie*): Result
- Definition Classes
- Result
-
def
withDateHeaders(headers: (String, ZonedDateTime)*): Result
- Definition Classes
- Result
-
def
withHeaders(headers: (String, String)*): Result
- Definition Classes
- Result
-
def
withNewSession: Result
- Definition Classes
- Result
-
def
withSession(session: (String, String)*): Result
- Definition Classes
- Result
-
def
withSession(session: Session): Result
- Definition Classes
- Result