play.silhouette.impl.providers.oauth1.secrets
CookieSecretProvider
Companion object CookieSecretProvider
class CookieSecretProvider extends OAuth1TokenSecretProvider
Saves the secret in a cookie.
- Alphabetic
- By Inheritance
- CookieSecretProvider
- OAuth1TokenSecretProvider
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CookieSecretProvider(settings: CookieSecretSettings, signer: Signer, crypter: Crypter, clock: Clock)
- settings
The secret settings.
- signer
The signer implementation.
- crypter
The crypter implementation.
- clock
The clock implementation.
- Annotations
- @Inject()
Type Members
- type Secret = CookieSecret
The type of the secret implementation.
The type of the secret implementation.
- Definition Classes
- CookieSecretProvider → OAuth1TokenSecretProvider
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def build[B](info: OAuth1Info)(implicit request: ExtractableRequest[B], ec: ExecutionContext): Future[CookieSecret]
Builds the secret from OAuth info.
Builds the secret from OAuth info.
- B
The type of the request body.
- info
The OAuth info returned from the provider.
- request
The current request.
- ec
The execution context to handle the asynchronous operations.
- returns
The build secret.
- Definition Classes
- CookieSecretProvider → OAuth1TokenSecretProvider
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def publish[B](result: Result, secret: CookieSecret)(implicit request: ExtractableRequest[B]): Result
Publishes the secret to the client.
Publishes the secret to the client.
- B
The type of the request body.
- result
The result to send to the client.
- secret
The secret to publish.
- request
The current request.
- returns
The result to send to the client.
- Definition Classes
- CookieSecretProvider → OAuth1TokenSecretProvider
- def retrieve[B](implicit request: ExtractableRequest[B], ec: ExecutionContext): Future[Secret]
Retrieves the token secret.
Retrieves the token secret.
- B
The type of the request body.
- request
The current request.
- ec
The execution context to handle the asynchronous operations.
- returns
A secret on success, otherwise an failure.
- Definition Classes
- CookieSecretProvider → OAuth1TokenSecretProvider
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)