/** * Fireblocks API * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * A stored OAuth 2.0 client credential set, referenced by webhooks through their `webhookOauthId`. Deliveries for a webhook that references one carry `Authorization: Bearer {token}`, using a token fetched from `url` and cached until it expires, so your authorization server sees far fewer token requests than deliveries. Secret material is never returned: `clientSecret` is absent from this schema entirely, and the `customJwtClaims`, `customBodyParams` and `customHeaders` fields are reduced to their names, without the configured values. * @export * @interface WebhookOauthCredentials */ export interface WebhookOauthCredentials { /** * The id of the OAuth credentials. Pass this as a webhook\'s `webhookOauthId` to attach them. * @type {string} * @memberof WebhookOauthCredentials */ 'id': string; /** * The label given to this credential set. * @type {string} * @memberof WebhookOauthCredentials */ 'name': string; /** * OAuth client ID used to authenticate with the token endpoint. * @type {string} * @memberof WebhookOauthCredentials */ 'clientId': string; /** * Token endpoint URL. * @type {string} * @memberof WebhookOauthCredentials */ 'url': string; /** * How the client credentials are presented to the token endpoint: `client_secret_basic`, `client_secret_post` or `client_secret_jwt`. Credentials created without this field report `client_secret_basic`, which is what they use. * @type {string} * @memberof WebhookOauthCredentials */ 'authMethod': string; /** * The date and time the OAuth credentials were created, in milliseconds. * @type {number} * @memberof WebhookOauthCredentials */ 'createdAt': number; /** * The date and time the OAuth credentials were last updated, in milliseconds. * @type {number} * @memberof WebhookOauthCredentials */ 'updatedAt': number; /** * Names of the additional claims placed in the JWT assertion. Claim values are write-only and are never returned. Absent when no custom claims are configured. * @type {Array} * @memberof WebhookOauthCredentials */ 'customJwtClaims'?: Array; /** * Names of the additional parameters added to the token request body. Parameter values are write-only and are never returned. Absent when no custom parameters are configured. * @type {Array} * @memberof WebhookOauthCredentials */ 'customBodyParams'?: Array; /** * Names of the additional HTTP headers added to **the token request sent to the authorization server** — not to the webhook delivery, which has its own separate `customHeaders`. Header values are write-only and are never returned. Absent when no custom headers are configured. * @type {Array} * @memberof WebhookOauthCredentials */ 'customHeaders'?: Array; /** * The id of the mTLS configuration presented to the token endpoint. Absent when the token request does not use mTLS. Read the certificate from `/v1/webhooks_settings/mtls/{id}`. * @type {string} * @memberof WebhookOauthCredentials */ 'webhookMtlsId'?: string; }