Methods
oauth2callback(options) → {function}
oauth callback
Parameters:
| Name | Type | Description |
|---|---|---|
options |
object | pass a service name for the name spaced passport authentication oauth callback |
- Source:
Returns:
returns the express middleware for the oauth callback
- Type
- function
use_oauth_client()
sets a name spaced passport authentication strategy based on the service name in the array of oauth clients, if the user exists, it will link the account, if the user is signed in, it will associate accounts, if the user doesnt exist it will recreate a new account
- Source: