Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Update OAuth examples (#30)
Browse files Browse the repository at this point in the history
Update OAuth examples
  • Loading branch information
ssung88 authored Nov 7, 2018
1 parent e7fa142 commit 7f9c9e1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/OAuthApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 7f9c9e1

Please sign in to comment.