DPoPRequestDecorator
object DPoPRequestDecorator
Public convenience API for app developers stamping DPoP/Bearer authorization headers on HTTP requests built outside the SDK's RestClient.
Gating is per-credential via DPoPKeyManager.shouldAttachDPoP, not the global com.salesforce.androidsdk.app.SalesforceSDKManager.useDPoP flag. A DPoP-bound credential carries proofs on every request regardless of that flag.
Functions
Link copied to clipboard
Stamps Authorization and, if the account is DPoP-bound, a DPoP proof header on builder. No-op when UserAccount.getAuthToken is null or empty.
Link copied to clipboard
Returns true if response is a DPoP nonce challenge per RFC 9449 §8: