Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions openapi-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8317,10 +8317,10 @@ components:
description: 'The token provided when you got the expired access token.'
type: string
client_id:
description: 'The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
description: 'The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
type: string
client_secret:
description: 'The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
description: 'The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
type: string
type: object
ReportCreateRequest:
Expand Down
4 changes: 2 additions & 2 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8202,10 +8202,10 @@ components:
description: 'The token provided when you got the expired access token.'
type: string
client_id:
description: 'The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
description: 'The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
type: string
client_secret:
description: 'The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
description: 'The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
type: string
type: object
ReportCreateRequest:
Expand Down
2 changes: 1 addition & 1 deletion sdks/dotnet/docs/OAuthTokenRefreshRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**GrantType** | **string** | When refreshing an existing token use `refresh_token`. | [default to "refresh_token"]**RefreshToken** | **string** | The token provided when you got the expired access token. | **ClientId** | **string** | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled. | [optional] **ClientSecret** | **string** | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled. | [optional]
**GrantType** | **string** | When refreshing an existing token use `refresh_token`. | [default to "refresh_token"]**RefreshToken** | **string** | The token provided when you got the expired access token. | **ClientId** | **string** | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | [optional] **ClientSecret** | **string** | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

12 changes: 6 additions & 6 deletions sdks/dotnet/src/Dropbox.Sign/Model/OAuthTokenRefreshRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ protected OAuthTokenRefreshRequest() { }
/// </summary>
/// <param name="grantType">When refreshing an existing token use &#x60;refresh_token&#x60;. (required) (default to &quot;refresh_token&quot;).</param>
/// <param name="refreshToken">The token provided when you got the expired access token. (required).</param>
/// <param name="clientId">The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled..</param>
/// <param name="clientSecret">The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled..</param>
/// <param name="clientId">The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings..</param>
/// <param name="clientSecret">The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings..</param>
public OAuthTokenRefreshRequest(string grantType = @"refresh_token", string refreshToken = default(string), string clientId = default(string), string clientSecret = default(string))
{

Expand Down Expand Up @@ -95,16 +95,16 @@ public static OAuthTokenRefreshRequest Init(string jsonData)
public string RefreshToken { get; set; }

/// <summary>
/// The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.
/// The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
/// </summary>
/// <value>The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.</value>
/// <value>The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.</value>
[DataMember(Name = "client_id", EmitDefaultValue = true)]
public string ClientId { get; set; }

/// <summary>
/// The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.
/// The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
/// </summary>
/// <value>The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.</value>
/// <value>The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.</value>
[DataMember(Name = "client_secret", EmitDefaultValue = true)]
public string ClientSecret { get; set; }

Expand Down
4 changes: 2 additions & 2 deletions sdks/java-v1/docs/OAuthTokenRefreshRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
|------------ | ------------- | ------------- | -------------|
| `grantType`<sup>*_required_</sup> | ```String``` | When refreshing an existing token use `refresh_token`. | |
| `refreshToken`<sup>*_required_</sup> | ```String``` | The token provided when you got the expired access token. | |
| `clientId` | ```String``` | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `clientSecret` | ```String``` | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `clientId` | ```String``` | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
| `clientSecret` | ```String``` | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |



Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,8 @@ public OAuthTokenRefreshRequest clientId(@javax.annotation.Nullable String clien
}

/**
* The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the
* \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if
* disabled.
* The client ID for your API app. Required for new API apps. To enhance security, we recommend
* making it required for existing apps in your app settings.
*
* @return clientId
*/
Expand All @@ -141,9 +140,8 @@ public OAuthTokenRefreshRequest clientSecret(@javax.annotation.Nullable String c
}

/**
* The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if
* the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional
* if disabled.
* The client secret for your API app. Required for new API apps. To enhance security, we
* recommend making it required for existing apps in your app settings.
*
* @return clientSecret
*/
Expand Down
4 changes: 2 additions & 2 deletions sdks/java-v2/docs/OAuthTokenRefreshRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
|------------ | ------------- | ------------- | -------------|
| `grantType`<sup>*_required_</sup> | ```String``` | When refreshing an existing token use `refresh_token`. | |
| `refreshToken`<sup>*_required_</sup> | ```String``` | The token provided when you got the expired access token. | |
| `clientId` | ```String``` | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `clientSecret` | ```String``` | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `clientId` | ```String``` | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
| `clientSecret` | ```String``` | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |



Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public OAuthTokenRefreshRequest clientId(@jakarta.annotation.Nullable String cli
}

/**
* The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.
* The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
* @return clientId
*/
@jakarta.annotation.Nullable
Expand All @@ -156,7 +156,7 @@ public OAuthTokenRefreshRequest clientSecret(@jakarta.annotation.Nullable String
}

/**
* The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.
* The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
* @return clientSecret
*/
@jakarta.annotation.Nullable
Expand Down
4 changes: 2 additions & 2 deletions sdks/node/docs/model/OAuthTokenRefreshRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `grantType`<sup>*_required_</sup> | ```string``` | When refreshing an existing token use `refresh_token`. | [default to 'refresh_token'] |
| `refreshToken`<sup>*_required_</sup> | ```string``` | The token provided when you got the expired access token. | |
| `clientId` | ```string``` | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `clientSecret` | ```string``` | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `clientId` | ```string``` | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
| `clientSecret` | ```string``` | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
4 changes: 2 additions & 2 deletions sdks/node/model/oAuthTokenRefreshRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ export class OAuthTokenRefreshRequest {
*/
"refreshToken": string;
/**
* The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \"Client Credentials Required\" setting is enabled for token refresh; optional if disabled.
* The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
*/
"clientId"?: string;
/**
* The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \"Client Credentials Required\" setting is enabled for token refresh; optional if disabled.
* The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
*/
"clientSecret"?: string;

Expand Down
4 changes: 2 additions & 2 deletions sdks/php/docs/Model/OAuthTokenRefreshRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `grant_type`<sup>*_required_</sup> | ```string``` | When refreshing an existing token use `refresh_token`. | [default to 'refresh_token'] |
| `refresh_token`<sup>*_required_</sup> | ```string``` | The token provided when you got the expired access token. | |
| `client_id` | ```string``` | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `client_secret` | ```string``` | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `client_id` | ```string``` | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
| `client_secret` | ```string``` | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
4 changes: 2 additions & 2 deletions sdks/php/src/Model/OAuthTokenRefreshRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public function getClientId()
/**
* Sets client_id
*
* @param string|null $client_id The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \"Client Credentials Required\" setting is enabled for token refresh; optional if disabled.
* @param string|null $client_id The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
*
* @return self
*/
Expand All @@ -418,7 +418,7 @@ public function getClientSecret()
/**
* Sets client_secret
*
* @param string|null $client_secret The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \"Client Credentials Required\" setting is enabled for token refresh; optional if disabled.
* @param string|null $client_secret The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
*
* @return self
*/
Expand Down
4 changes: 2 additions & 2 deletions sdks/python/docs/OAuthTokenRefreshRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
| `grant_type`<sup>*_required_</sup> | ```str``` | When refreshing an existing token use `refresh_token`. | [default to 'refresh_token'] |
| `refresh_token`<sup>*_required_</sup> | ```str``` | The token provided when you got the expired access token. | |
| `client_id` | ```str``` | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `client_secret` | ```str``` | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `client_id` | ```str``` | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
| `client_secret` | ```str``` | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ class OAuthTokenRefreshRequest(BaseModel):
)
client_id: Optional[StrictStr] = Field(
default=None,
description='The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.',
description="The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.",
)
client_secret: Optional[StrictStr] = Field(
default=None,
description='The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.',
description="The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.",
)
__properties: ClassVar[List[str]] = [
"grant_type",
Expand Down
4 changes: 2 additions & 2 deletions sdks/ruby/docs/OAuthTokenRefreshRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
| ---- | ---- | ----------- | ----- |
| `grant_type`<sup>*_required_</sup> | ```String``` | When refreshing an existing token use `refresh_token`. | [default to 'refresh_token'] |
| `refresh_token`<sup>*_required_</sup> | ```String``` | The token provided when you got the expired access token. | |
| `client_id` | ```String``` | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `client_secret` | ```String``` | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `client_id` | ```String``` | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
| `client_secret` | ```String``` | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |

Loading