@morojs/moro / providers
Variable: providers
constproviders:object
Defined in: src/core/middleware/built-in/auth/core.ts:12
Type Declaration
credentials()
credentials: (
options) =>AuthProvider
Parameters
options
authorize
(credentials) => Promise<any>
credentials
Record<string, any>
name?
string
Returns
discord()
discord: (
options) =>AuthProvider
Parameters
options
clientId
string
clientSecret
string
Returns
email()
email: (
options) =>AuthProvider
Parameters
options
from
string
server
string | { auth: any; host: string; port: number; }
Returns
github()
github: (
options) =>AuthProvider
Parameters
options
clientId
string
clientSecret
string
Returns
google()
google: (
options) =>AuthProvider
Parameters
options
clientId
string
clientSecret
string