All URIs are relative to https://api.scrumboard-it.org
Method | HTTP request | Description |
---|---|---|
getAuthorizationConfig | GET /oauth/{provider}/config | Authentication public config |
getAuthorizationToken | GET /oauth/{provider}/token | Authentication token bridge |
InlineResponse2003 getAuthorizationConfig(provider)
Authentication public config
var ScrumBoardIt = require('scrumboard-it-client');
var apiInstance = new ScrumBoardIt.OauthApi();
var provider = "provider_example"; // String | Name of the provider
apiInstance.getAuthorizationConfig(provider).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
provider | String | Name of the provider |
No authorization required
- Content-Type: Not defined
- Accept: application/json
InlineResponse2004 getAuthorizationToken(provider, code)
Authentication token bridge
var ScrumBoardIt = require('scrumboard-it-client');
var apiInstance = new ScrumBoardIt.OauthApi();
var provider = "provider_example"; // String | Name of the provider
var code = "code_example"; // String | Temporary code returned by the provider
apiInstance.getAuthorizationToken(provider, code).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
provider | String | Name of the provider | |
code | String | Temporary code returned by the provider |
No authorization required
- Content-Type: Not defined
- Accept: application/json