Constructor
new Authenticate(authopt, apiBaseopt)
Create a Schedule.
- Source:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
auth |
Requestable.auth
|
<optional> |
information required to authenticate to Sphinx |
|
apiBase |
string
|
<optional> |
https://sphinx.bluehack.net |
the base Sphinx API URL |
Methods
authenticate(provideropt, cbopt) → {Promise}
Autheiticate for OAuth provider
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
provider |
string
|
<optional> |
|
cb |
Requestable.callback
|
<optional> |
will receive the list of repositories |
Returns:
- Type:
-
Promise
- the promise for the http request