0.0.32 • Published 10 years ago
eden-oauth2 v0.0.32
#Oauth v2.0
DESCRIPTION
General
Installation
npm install eden-oauth2Usage
var oauth2 = require('eden-oauth2');Methods
approvalPromptToAuto
this approvalPromptToAuto();Set auth for online access
Parameters
Returns
this
Example
Code
oauth2().approvalPromptToAuto();Outputs
RESULTSautoApprove
this autoApprove();Set auth to auto approve
Parameters
Returns
this
Example
Code
oauth2().autoApprove();Outputs
RESULTSforceApprove
this forceApprove();Set auth for force approve
Parameters
Returns
this
Example
Code
oauth2().forceApprove();Outputs
RESULTSforOffline
this forOffline();Set auth for offline access
Parameters
Returns
this
Example
Code
oauth2().forOffline();Outputs
RESULTSforOnline
this forOnline();Set auth for online access
Parameters
Returns
this
Example
Code
oauth2().forOnline();Outputs
RESULTSgetAccess
array getAccess(String*);Returns website login url
Parameters
- string*
Returns
array
Example
Code
oauth2().getAccess();Outputs
RESULTSgetLoginUrl
url getLoginUrl(String|null, String|null);Returns website login url
Parameters
string|null
string|null
Returns
url
Example
Code
oauth2().getLoginUrl();Outputs
RESULTSsetState
this setState(String);Set state
Parameters
- string
Returns
this
Example
Code
oauth2().setState();Outputs
RESULTSsetScope
this setScope(String|array);Set scope
Parameters
- string|array
Returns
this
Example
Code
oauth2().setScope();Outputs
RESULTSsetDisplay
this setDisplay(String|array);Set display
Parameters
- string|array
Returns
this
Example
Code
oauth2().setDisplay();Outputs
RESULTS0.0.32
10 years ago
0.0.31
11 years ago
0.0.28
11 years ago
0.0.27
11 years ago
0.0.26
11 years ago
0.0.25
11 years ago
0.0.24
11 years ago
0.0.23
11 years ago
0.0.21
11 years ago
0.0.2-0.2
11 years ago
0.0.20
11 years ago
0.0.17
11 years ago
0.0.16
11 years ago
0.0.15
11 years ago
0.0.14
11 years ago
0.0.12
11 years ago
0.0.10
11 years ago
0.0.9
11 years ago
