Class SpazBasicAuth#authorize
SpazBasicAuth
Defined in: spazauth.js.
Constructor Attributes | Constructor Name and Description |
---|---|
SpazBasicAuth#authorize(username, password, onComplete)
Set username and password of account to access service.
|
Class Detail
SpazBasicAuth#authorize(username, password, onComplete)
Set username and password of account to access service.
- Parameters:
- {string} username
- {string} password
- {function} onComplete Optional
- a callback to fire when complete. Currently just passed TRUE all the time; for compatibility with oAuth need for callbacks
- Returns:
- {Boolean} true. ALWAYS returns true!