Packages

object MAuthDirectives extends MAuthDirectives

Linear Supertypes
MAuthDirectives, StrictLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MAuthDirectives
  2. MAuthDirectives
  3. StrictLogging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def authenticate(implicit authenticator: scaladsl.Authenticator[Future], timeout: FiniteDuration, requestValidationTimeout: Duration): Directive0

    Directive to wrap all routes that require MAuth authentication check.

    Directive to wrap all routes that require MAuth authentication check. Should only be used once per route branch, as any HttpEntity is forced to be strict, and serialised into the request.

    authenticator

    MAuth Public Key Provider

    timeout

    request timeout duration, defaults to 10 seconds

    requestValidationTimeout

    request validation timeout duration, defaults to 10 seconds

    returns

    Directive to authenticate the request

    Definition Classes
    MAuthDirectives
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def extractLatestAuthenticationHeaders(v2OnlyAuthenticate: Boolean): Directive1[MauthHeaderValues]

    Extracts the authentication header value of the HTTP request header for latest version of Mauth

    Extracts the authentication header value of the HTTP request header for latest version of Mauth

    v2OnlyAuthenticate

    the flag to specify if Mauth V2 only authenticate or not. If Mauth v2 only authenticate is enabled, extracts the authentication header of MCC-Authentication only. Otherwise, extracts the authentication header of X-MWS-Authentication if MCC-Authentication header is not found.

    returns

    Directive1[MauthHeaderValues] of Mauth authentication header values for V1 or V2 the request is rejected with a MdsolAuthMissingHeaderRejection if the expected header is not present

    Definition Classes
    MAuthDirectives
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def headerValueByTypeMdsol[T](magnet: HeaderMagnet[T]): Directive1[T]
    Definition Classes
    MAuthDirectives
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  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( ... ) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. val extractMAuthHeader: Directive1[AuthHeaderDetail]

    Extracts the detail information of the HTTP request header X-MWS-Authentication

    Extracts the detail information of the HTTP request header X-MWS-Authentication

    returns

    Directive1[AuthHeaderDetail] of Mauth V1 protocol If invalidated, the request is rejected with a MalformedHeaderRejection.

    Definition Classes
    MAuthDirectives
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) This method is for Mauth V1 protocol only

  2. val extractMwsAuthenticationHeader: Directive1[String]
    Definition Classes
    MAuthDirectives
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) This method is for Mauth V1 protocol only

  3. val extractMwsTimeHeader: Directive1[Long]

    Extracts the validated value of the HTTP request header X-MWS-Time

    Extracts the validated value of the HTTP request header X-MWS-Time

    returns

    Directive1[Long] of Mauth V1 protocol If invalidated, the request is rejected with a MalformedHeaderRejection.

    Definition Classes
    MAuthDirectives
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) This method is for Mauth V1 protocol only

  4. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from MAuthDirectives

Inherited from StrictLogging

Inherited from AnyRef

Inherited from Any

Ungrouped