new Client()
An abstraction for protecting and accessing data using TDF3 services.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
config.keypair |
Object |
<optional> |
keypair generated for signing. Optional, will be generated by sdk if not passed |
config.clientId |
String |
<optional> |
|
config.kasEndpoint |
String |
<optional> |
Key Access Server url |
config.refreshToken |
String |
<optional> |
After logging in to browser OIDC interface user receives fresh token that needed by SDK for auth needs |
config.externalJwt |
String |
<optional> |
JWT from external authority (eg Google) |
config.oidcOrigin |
String |
<optional> |
Endpoint of authentication service |