Class SpazOAuth#authorize
SpazOAuth
Defined in: spazauth.js.
Constructor Attributes | Constructor Name and Description |
---|---|
SpazOAuth#authorize(username, password, onComplete)
Authorize access to the service by fetching an OAuth access token.
|
Class Detail
SpazOAuth#authorize(username, password, onComplete)
Authorize access to the service by fetching an OAuth access token.
- Parameters:
- {string} username
- {string} password
- {function} onComplete Optional
- a callback to fire on complete. If this is set, the request is asynchronous
- Returns:
- {boolean} true if authorization successful, otherwise false