com.mohiva.play.silhouette.impl.providers.oauth2.state

CookieStateProvider

class CookieStateProvider extends OAuth2StateProvider

Saves the state in a cookie.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CookieStateProvider
  2. OAuth2StateProvider
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CookieStateProvider(settings: CookieStateSettings, idGenerator: IDGenerator, clock: Clock)

    settings

    The state settings.

    idGenerator

    The ID generator used to create the state value.

    clock

    The clock implementation.

    Annotations
    @Inject()

Type Members

  1. type State = CookieState

    The type of the state implementation.

    The type of the state implementation.

    Definition Classes
    CookieStateProviderOAuth2StateProvider

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def build[B](implicit request: ExtractableRequest[B], ec: ExecutionContext): Future[CookieState]

    Builds the state.

    Builds the state.

    B

    The type of the request body.

    request

    The request.

    ec

    The execution context to handle the asynchronous operations.

    returns

    The build state.

    Definition Classes
    CookieStateProviderOAuth2StateProvider
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. def publish[B](result: Result, state: State)(implicit request: ExtractableRequest[B]): Result

    Sends a cookie to the client containing the serialized state.

    Sends a cookie to the client containing the serialized state.

    B

    The type of the request body.

    result

    The result to send to the client.

    state

    The state to publish.

    request

    The request.

    returns

    The result to send to the client.

    Definition Classes
    CookieStateProviderOAuth2StateProvider
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toString(): String

    Definition Classes
    AnyRef → Any
  21. def validate[B](implicit request: ExtractableRequest[B], ec: ExecutionContext): Future[State]

    Validates the provider and the client state.

    Validates the provider and the client state.

    B

    The type of the request body.

    request

    The request.

    ec

    The execution context to handle the asynchronous operations.

    returns

    The state on success, otherwise an failure.

    Definition Classes
    CookieStateProviderOAuth2StateProvider
  22. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from OAuth2StateProvider

Inherited from AnyRef

Inherited from Any

Ungrouped