Class DpopAuthPlugin
java.lang.Object
software.amazon.awssdk.services.signin.internal.DpopAuthPlugin
- All Implemented Interfaces:
AutoCloseable,SdkPlugin,SdkAutoCloseable
An SDK plugin that will use DPoP auth for requests by adding the
DpopAuthScheme and overriding the
AuthSchemeProvider with a custom provider that will always return Dpop.
The auth scheme uses the DpopSigner to add the required DPoP header to the request.-
Method Summary
Modifier and TypeMethodDescriptionvoidModify the provided client configuration.static DpopAuthPluginCreate an instance of the DpopAuthPlugin using the dpopKey from theLoginAccessToken
-
Method Details
-
create
Create an instance of the DpopAuthPlugin using the dpopKey from theLoginAccessToken- Parameters:
dpopKeyPem- - PEM file contents containing the base64-encoding of the ECPrivateKey format defined by RFC5915: Elliptic Curve Private Key Structure. It MUST include the public key coordinates.- Returns:
- dpopAuthPlugin
-
configureClient
Description copied from interface:SdkPluginModify the provided client configuration.- Specified by:
configureClientin interfaceSdkPlugin
-