// Create an OauthAccess instance
var oauth = new OauthAccess({
callback: ''
, key: ''
, accessTokens: {
token: ''
, tokenSecret: ''
, scope: ''
}
});
// Attach an "Authorization" header to your request
$.ajax({
url: 'someurl.com'
, beforeSend: function(jqXhr, options) {
jqXhr.setRequestHeader('Authorization', oauth.generateHeader(options.type, options.url););
}
});
-
Notifications
You must be signed in to change notification settings - Fork 0
Generates Kiva oauth headers
License
kiva/OauthAccess
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Generates Kiva oauth headers
Resources
License
Code of conduct
Stars
Watchers
Forks
Packages 0
No packages published