From 7f9c9e12c225aa596b23552e19eab728a3c227da Mon Sep 17 00:00:00 2001 From: Shao-Fu Sung <20245766+shaofu88@users.noreply.github.com> Date: Wed, 7 Nov 2018 13:04:23 -0800 Subject: [PATCH] Update OAuth examples (#30) Update OAuth examples --- docs/OAuthApi.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/OAuthApi.md b/docs/OAuthApi.md index c7bf73e..e9895a1 100644 --- a/docs/OAuthApi.md +++ b/docs/OAuthApi.md @@ -68,8 +68,7 @@ var defaultClient = SquareConnect.ApiClient.instance; // Configure API key authorization: oauth2ClientSecret var oauth2ClientSecret = defaultClient.authentications['oauth2ClientSecret']; oauth2ClientSecret.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//oauth2ClientSecret.apiKeyPrefix = 'Token'; +oauth2ClientSecret.apiKeyPrefix = 'Client'; var apiInstance = new SquareConnect.OAuthApi(); @@ -121,8 +120,7 @@ var defaultClient = SquareConnect.ApiClient.instance; // Configure API key authorization: oauth2ClientSecret var oauth2ClientSecret = defaultClient.authentications['oauth2ClientSecret']; oauth2ClientSecret.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//oauth2ClientSecret.apiKeyPrefix = 'Token'; +oauth2ClientSecret.apiKeyPrefix = 'Client'; var apiInstance = new SquareConnect.OAuthApi();