Auth provider for connections to the policy service and KASes.
OptionalcryptoOptional custom CryptoService implementation. If not provided, defaults to the browser's native Web Crypto API. This allows injecting HSM-backed or other secure crypto implementations.
OptionaldefaultDefault settings for 'encrypt' type requests.
OptionaldefaultDefault settings for 'decrypt' type requests.
OptionaldisableIf we want to not send a DPoP token.
OptionaldpopOptional keys for DPoP requests to a server. These often must be registered via a DPoP flow with the IdP which is out of the scope of this library.
OptionalplatformPlatform URL.
OptionalpolicyPolicy service endpoint.
Defaults and shared settings that are relevant to creating TDF objects.