| oauth |
Object
| name | type | description |
| version |
string |
Version of OAuth, 1.0 , 1.0a , 2 |
| request |
url |
Path of the first leg of OAuth 1 |
| auth |
url |
Path of the authorization URL, second leg of OAuth 1 |
| token |
url |
Path to get the Access token, OAuth 1 only, third leg of flow |
| grant |
url |
Path to get the Access token, OAuth2 only |
| response_type |
string |
Implicit (token) or Explicit (code) Grant flow |
|
required |
|
| login |
function |
|
A function to augment the login request. |
optional |
|
| refresh |
Boolean |
|
Indicate that the providers supports silent signin, aka display=none, however if a refresh_token was proffered at signin, then an attempt will be made with that. |
optional |
false |
| scope |
Object |
|
A dictionary of key and value (the providers sudonym or name of comparative scope) |
optional |
|
| scope_delim |
string |
, , |
Overrides the default delmiter between multiple scopes |
optional |
, |
| base |
url |
|
Prefix for all API requests |
required |
|
| get,post,put,del |
Object |
|
Map of standardized pathnames to an alternative path, or path rendering function, the key 'default' will be used where the path is unrecognised, see examples |
optional |
|
| wrap |
Object |
|
Map containing response processing handlers, the key 'default' will be used where the path is unrecognised. |
optional |
|
| xhr, jsonp, form |
function |
|
A function called if the browser supports the method requests. Use this function to augment the request. Return truthy value to proceed or false to fallback to another method. |
optional |
true |