From a43c23e6efd7ee8fadcfe3b1cbc8d799e632ab51 Mon Sep 17 00:00:00 2001 From: "Jayakrishnan (JK)" Date: Mon, 13 Jan 2020 14:29:56 +0530 Subject: [PATCH] updated OAuthapi.md : code formatting error --- docs/OAuthApi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/OAuthApi.md b/docs/OAuthApi.md index ede5976..ba3651a 100644 --- a/docs/OAuthApi.md +++ b/docs/OAuthApi.md @@ -59,7 +59,7 @@ No authorization required RenewToken -`RenewToken` is deprecated. For information about refreshing OAuth access tokens, see [Renew OAuth Token](https://developer.squareup.com/docs/oauth-api/cookbook/renew-oauth-tokens). Renews an OAuth access token before it expires. OAuth access tokens besides your application's personal access token expire after __30 days__. You can also renew expired tokens within __15 days__ of their expiration. You cannot renew an access token that has been expired for more than 15 days. Instead, the associated user must re-complete the OAuth flow from the beginning. __Important:__ The `Authorization` header for this endpoint must have the following format: ``` Authorization: Client APPLICATION_SECRET ``` Replace `APPLICATION_SECRET` with the application secret on the Credentials page in the [application dashboard](https://connect.squareup.com/apps). +`RenewToken` is deprecated. For information about refreshing OAuth access tokens, see [Renew OAuth Token](https://developer.squareup.com/docs/oauth-api/cookbook/renew-oauth-tokens). Renews an OAuth access token before it expires. OAuth access tokens besides your application's personal access token expire after __30 days__. You can also renew expired tokens within __15 days__ of their expiration. You cannot renew an access token that has been expired for more than 15 days. Instead, the associated user must re-complete the OAuth flow from the beginning. __Important:__ The `Authorization` header for this endpoint must have the following format: `Authorization: Client APPLICATION_SECRET` Replace `APPLICATION_SECRET` with the application secret on the Credentials page in the [application dashboard](https://connect.squareup.com/apps). ### Example ```javascript