GitHubConnector
Extends:
OAuth2ConnectorBase → GitHubConnector
A Hoist Connector for connecting to GitHub
Constructor Summary
Public Constructor | ||
public |
constructor(configuration: object) create a new connector
|
Method Summary
Public Methods | ||
public |
delete(path: *): * |
|
public |
get(path: *): * |
|
public |
patch(path: *, body: *): * |
|
public |
post(path: *, body: *): * |
Public Constructors
public constructor(configuration: object) source
create a new connector
Params:
Name | Type | Attribute | Description |
configuration | object | the configuration properties to use |
|
configuration.clientId | string | the OAuth2 client id |
|
configuration.clientSecret | string | the OAuth2 client secret |
|
configuration.scope | string |
|
a comma separated list of scopes to use https://developer.github.com/v3/oauth/#scopes |