unfiltered.oauth2

Protection

case class Protection(source: AuthSource) extends ProtectionLike with Product with Serializable

After your application has obtained an access token, your app can use it to access APIs by including it in either an access_token query parameter or an Authorization: Beader header.

To call API using HTTP header.

GET /api/1/feeds.js HTTP/1.1 Host: www.example.com Authorization: Bearer vF9dft4qmT

Source
protections.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, ProtectionLike, Plan, InittedFilter, Filter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Protection
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ProtectionLike
  7. Plan
  8. InittedFilter
  9. Filter
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Protection(source: AuthSource)

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 authenticate[T <: HttpServletRequest](token: AccessToken, request: HttpRequest[T])(errorResp: (String) ⇒ ResponseFunction[Any]): ResponseFunction[Any]

    Returns access token response to client

    Returns access token response to client

    Definition Classes
    ProtectionLike
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def config: FilterConfig

    Definition Classes
    InittedFilter
  10. def destroy(): Unit

    Definition Classes
    InittedFilter → Filter
  11. def doFilter(request: ServletRequest, response: ServletResponse, chain: FilterChain): Unit

    Definition Classes
    Plan → Filter
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def fallback: Intent

    If no authentication token is provided at all, demand the first authentication scheme of all that are supported

    If no authentication token is provided at all, demand the first authentication scheme of all that are supported

    Definition Classes
    ProtectionLike
  14. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  16. def init(config: FilterConfig): Unit

    Definition Classes
    InittedFilter → Filter
  17. final def intent: Intent

    Definition Classes
    ProtectionLike → Plan
  18. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  22. val schemes: Seq[AuthScheme]

    List or ResourceServer token schemes.

    List or ResourceServer token schemes. By default, this includes BearerAuth which extracts Bearer tokens for a header, QParamBeaerAuth which extracts Bearer tokens request params and MacAuth which extracts tokens from using the Mac authentication encoding

    Definition Classes
    ProtectionProtectionLike
  23. val source: AuthSource

    Provides a means of verifying a deserialized access token

    Provides a means of verifying a deserialized access token

    Definition Classes
    ProtectionProtectionLike
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ProtectionLike

Inherited from Plan

Inherited from InittedFilter

Inherited from Filter

Inherited from AnyRef

Inherited from Any

Ungrouped