Skip to content

manalotoj/oauthwrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oauth-wrap

Provides a function to retrieve OAuth WRAP security tokens.

oauth-wrap.getAuthHeader(url, uid, pwd, scope) ⇒ function

Get an OAuth WRAP header value from an STS.

Kind: static method of oauth-wrap
Returns: function - A promise. The promise will resolve with the the OAuth WRAP security token formatted as an http header value. Any response with a status code that is not 2xx will result in a rejected promise.

Param Type Description
url string STS url.
uid string WRAP name/username/user id.
pwd string WRAP password.
scope string WRAP scope.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published