| Interface | Description |
|---|---|
| NonceValidator |
a trait for validating a nonce.
|
| OAuthParams.OAuthParamsHelper | |
| Request | |
| Request.ParsedRequestFactory | |
| UnpackedRequest | |
| UnpackedRequest.OAuthRequest |
Both OAuth 1.0a and 2.0 requests have access tokens,
so it's convenient to combine them into a single trait
|
| Unpacker |
An Unpacker takes an Request and optionally a Seq[KeyValueHandler],
and parses the request into an OAuthRequest instance, invoking each KeyValueHandler
for every key/value pair obtained from either the queryString or the request body.
|
| Unpacker.KeyValueCallback | |
| Unpacker.OAuth2Checker | |
| Verifier |
A Verifier takes either
a) an OAuth1 request, a token secret, and a consumer secret
or
b) an OAuth1TwoLegged request and a consumer secret
and validates the request.
|
| Class | Description |
|---|---|
| NonceValidator.ConstNonceValidator |
for testing.
|
| NonceValidator.NoopNonceValidator | |
| Normalizer |
a Normalizer takes the fields that describe an OAuth 1.0a request, and produces
the normalized string that is used for the signature.
|
| Normalizer.StandardNormalizer |
the standard implementation of the Normalizer trait.
|
| OAuthParams | |
| OAuthParams.OAuth1Params |
OAuth1Params is mostly just a container for OAuth 1.0a parameters.
|
| OAuthParams.OAuthParamsBuilder |
A collector for OAuth and other params.
|
| OAuthParams.StandardOAuthParamsHelperImpl |
Provides the default implementation of the OAuthParamsHelper trait
Though stateless and threadsafe, this is a class rather than an object to allow easy
access from Java.
|
| Request.Pair | |
| Request.ParsedRequest | |
| Signer |
A Signer takes a string, a token secret and a consumer secret, and produces a signed string
|
| Signer.ConstSigner |
For testing.
|
| Signer.StandardSigner |
the standard implementation of the Signer trait.
|
| UnpackedRequest.OAuth1Request | |
| UnpackedRequest.OAuth1RequestBase | |
| UnpackedRequest.OAuth1RequestHelper |
The companion object's apply method produces an OAuth1Request instance by
passing the request details into a Normalizer to produce the normalized
request.
|
| UnpackedRequest.OAuth1TwoLeggedRequest |
models an OAuth 1.0a request.
|
| UnpackedRequest.OAuth2Request |
models an OAuth 2.0 rev 25 request.
|
| UnpackedRequest.UnknownRequest | |
| Unpacker.CustomizableUnpacker | |
| Unpacker.StandardUnpacker | |
| Unpacker.StandardUnpackerFactory |
StandardUnpacker constants, and a few more convenience factory methods, for tests
that need to call methods of the StandardUnpacker directly.
|
| UrlCodec | |
| Verifier.StandardVerifier | |
| Verifier.VerifierFactory |
a factory with various convenience constructors for a StandardVerifier
|
| Enum | Description |
|---|---|
| VerifierResult |
| Exception | Description |
|---|---|
| MalformedRequest |
thrown if intent is clear, but the request is malformed
|
| UnpackerException |
If Unpacker encounters an unexpected exception, it will wrap it in an UnpackerException
|
Copyright © 2019. All Rights Reserved.