@morojs/moro / providers
Variable: providers
constproviders:object
Defined in: src/core/middleware/built-in/auth/core.ts:12
Type Declaration
apple
apple: (
options) =>AuthProvider
Parameters
options
clientId
string
clientSecret
string
Returns
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
scope?
string
Returns
email: (
options) =>AuthProvider
Parameters
options
from
string
server
string | { auth: any; host: string; port: number; }
Returns
facebook: (
options) =>AuthProvider
Parameters
options
clientId
string
clientSecret
string
Returns
github
github: (
options) =>AuthProvider
Parameters
options
clientId
string
clientSecret
string
scope?
string
Returns
google: (
options) =>AuthProvider
Parameters
options
clientId
string
clientSecret
string
scope?
string
Returns
linkedin: (
options) =>AuthProvider
Parameters
options
clientId
string
clientSecret
string
Returns
magicLink
magicLink: (
options) =>AuthProvider
Parameters
options
expiresIn?
number
from
string
sendMagicLink?
(email, url) => Promise<void>
Returns
microsoft
microsoft: (
options) =>AuthProvider
Parameters
options
clientId
string
clientSecret
string
tenant?
string
Returns
otp
otp: (
options) =>AuthProvider
Parameters
options
expiresIn?
number
from?
string
length?
number
sendOTP?
(contact, code) => Promise<void>
Returns
passkey
passkey: (
options) =>AuthProvider
Parameters
options
origin?
string
rpId?
string
rpName?
string
Returns
twitter: (
options) =>AuthProvider
Parameters
options
clientId
string
clientSecret
string