unfiltered.oauth2

TokenStore

trait TokenStore extends AnyRef

The token store controls token-orientated operations. Specifically anything that needs to happen with a token is the responsibility of the incumbant TokenStore as typically it will require interacting with the some kind of storage

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

Abstract Value Members

  1. abstract def exchangeAuthorizationCode(codeToken: Token): Token

    returns

    Create an access token given a code token

    See also

    AccessTokenRequest see also http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-4.1.3

    AuthorizationServer

  2. abstract def generateAuthorizationCode(responseTypes: Seq[String], owner: ResourceOwner, client: Client, scope: Seq[String], redirectUri: String): String

    Not responseTypes is a seq to enable oauth extensions but for most cases, it can be expected to contain one element

    Not responseTypes is a seq to enable oauth extensions but for most cases, it can be expected to contain one element

    returns

    a short lived authorization code bound to a client and redirect uri for a given resource owner.

    See also

    AuthorizationCodeRequest see also http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-4.1

    AuthorizationServer

  3. abstract def generateClientToken(client: Client, scope: Seq[String]): Token

    returns

    an access token for a given client, not tied to a given resource owner

    See also

    ClientCredentialsRequest see also http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-4.4

    AuthorizationServer

  4. abstract def generateImplicitAccessToken(responseTypes: Seq[String], owner: ResourceOwner, client: Client, scope: Seq[String], redirectUri: String): Token

    Note responseTypes is a seq to enable oauth extensions but for most cases, it can be expected to contain one element

    Note responseTypes is a seq to enable oauth extensions but for most cases, it can be expected to contain one element

    returns

    an access token for an implicit client

    See also

    ImplicitAuthorizationRequest see also http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-4.2

    AuthorizationServer

  5. abstract def generatePasswordToken(owner: ResourceOwner, client: Client, scope: Seq[String]): Token

    returns

    an access token for a client, given the resource owner's credentials

    See also

    PasswordRequest see also http://tools.ietf.org/html/draft-ietf-oauth-v2-21#section-4.3.3

    AuthorizationServer

  6. abstract def refresh(other: Token): Token

    returns

    Gives a refreshed or new token given a valid access token

    See also

    RefreshTokenRequest see also http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-6

    AuthorizationServer

  7. abstract def refreshToken(refreshToken: String): Option[Token]

    query for Token by client

    query for Token by client

    returns

    Given the a refresh token gives a new access token

    See also

    RefreshTokenRequest see also http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-6

    AuthorizationServer

  8. abstract def token(code: String): Option[Token]

    returns

    Given a "code" return a resource access token

    See also

    AccessTokenRequest see also http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-4.1.3

    AuthorizationServer

Concrete 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 clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped