unfiltered.oauth2

MacAuth

trait MacAuth extends AuthScheme

Represents MAC auth.

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

Abstract Value Members

  1. abstract def algorithm: String

    The algorigm used to sign the request

  2. abstract def tokenSecret(key: String): Option[String]

    Given a token value, returns the associated token secret

Concrete Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. val challenge: String

    The WWW-Authenticate challege returned to the clien tin a 401 response for invalid requests

    The WWW-Authenticate challege returned to the clien tin a 401 response for invalid requests

    Definition Classes
    MacAuthAuthScheme
  6. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  9. def errorHeader(error: Option[String] = None, description: Option[String] = None): String

    An error header, consisting of the challenge and possibly an error and error_description attribute (this depends on the authentication scheme).

    An error header, consisting of the challenge and possibly an error and error_description attribute (this depends on the authentication scheme).

    Definition Classes
    AuthScheme
  10. def errorResponse[T](status: Status, description: String, request: HttpRequest[T]): ResponseFunction[Any]

    Return a function representing an error response

    Return a function representing an error response

    Definition Classes
    AuthScheme
  11. def errorString(status: String, description: String): String

    Definition Classes
    AuthScheme
  12. val failedAuthenticationResponse: (String) ⇒ ResponseFunction[Any]

    Whereas the Bearer token is supposed to return an error code in the error attribute and a human-readable error description in the error_description attribute of the WWW-Authenticate header, for the MAC authentication scheme, a human-readable error message may be supplied in the error attribute (see http://tools.ietf.org/html/draft-ietf-oauth-v2-http-mac-00#section-4.1 )

    Whereas the Bearer token is supposed to return an error code in the error attribute and a human-readable error description in the error_description attribute of the WWW-Authenticate header, for the MAC authentication scheme, a human-readable error message may be supplied in the error attribute (see http://tools.ietf.org/html/draft-ietf-oauth-v2-http-mac-00#section-4.1 )

    Definition Classes
    MacAuthAuthScheme
  13. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  16. def intent(protection: ProtectionLike): PartialFunction[HttpRequest[HttpServletRequest], ResponseFunction[HttpServletResponse]]

    Definition Classes
    MacAuthAuthScheme
  17. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AuthScheme

Inherited from AnyRef

Inherited from Any

Ungrouped