class RequestAuthenticator extends scaladsl.Authenticator[Future]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RequestAuthenticator
- Authenticator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new RequestAuthenticator(publicKeyProvider: ClientPublicKeyProvider[Future], epochTimeProvider: EpochTimeProvider)(implicit executionContext: ExecutionContext)
- new RequestAuthenticator(publicKeyProvider: ClientPublicKeyProvider[Future], epochTimeProvider: EpochTimeProvider, v2OnlyAuthenticate: Boolean)(implicit executionContext: ExecutionContext)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
authenticate(mAuthRequest: MAuthRequest)(implicit requestValidationTimeout: Duration): Future[Boolean]
Performs the validation of an incoming HTTP request.
Performs the validation of an incoming HTTP request.
The validation process consists of recreating the mAuth hashed signature from the request data and comparing it to the decrypted hash signature from the mAuth header.
- mAuthRequest
Data from the incoming HTTP request necessary to perform the validation.
- returns
True or false indicating if the request is valid or not with respect to mAuth.
- Definition Classes
- RequestAuthenticator → Authenticator
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
val
epochTimeProvider: EpochTimeProvider
- Definition Classes
- RequestAuthenticator → Authenticator
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit val executionContext: ExecutionContext
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
isV2OnlyAuthenticate: Boolean
check if mauth v2 only authenticate is enabled or not
check if mauth v2 only authenticate is enabled or not
- returns
True or false identifying if v2 only authenticate is enabled or not.
- Definition Classes
- RequestAuthenticator → Authenticator
- val logger: Logger
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val publicKeyProvider: ClientPublicKeyProvider[Future]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated