@morojs/moro / providers
Variable: providers
const
providers:object
Defined in: src/core/middleware/built-in/auth.ts:19
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