@morojs/moro


@morojs/moro / EmailProvider

Interface: EmailProvider

Defined in: src/types/auth.ts:62

Extends

Indexable

[key: string]: any

Properties

authorization?

optional authorization: string | { params?: Record<string, any>; url: string; }

Defined in: src/types/auth.ts:8

Inherited from

AuthProvider.authorization


authorization_params?

optional authorization_params: Record<string, any>

Defined in: src/types/auth.ts:26

Inherited from

AuthProvider.authorization_params


claims?

optional claims: Record<string, any>

Defined in: src/types/auth.ts:20

Inherited from

AuthProvider.claims


clientId?

optional clientId: string

Defined in: src/types/auth.ts:15

Inherited from

AuthProvider.clientId


clientSecret?

optional clientSecret: string

Defined in: src/types/auth.ts:16

Inherited from

AuthProvider.clientSecret


from

from: string

Defined in: src/types/auth.ts:76


id

id: string

Defined in: src/types/auth.ts:3

Inherited from

AuthProvider.id


issuer?

optional issuer: string

Defined in: src/types/auth.ts:11

Inherited from

AuthProvider.issuer


name

name: string

Defined in: src/types/auth.ts:4

Inherited from

AuthProvider.name


profile()?

optional profile: (profile, tokens) => any

Defined in: src/types/auth.ts:23

Parameters

profile

any

tokens

any

Returns

any

Inherited from

AuthProvider.profile


scope?

optional scope: string

Defined in: src/types/auth.ts:19

Inherited from

AuthProvider.scope


sendVerificationRequest()?

optional sendVerificationRequest: (params) => Promise<void>

Defined in: src/types/auth.ts:77

Parameters

params
expires

Date

identifier

string

provider

EmailProvider

request

any

theme

any

token

string

url

string

Returns

Promise<void>


server

server: string | { auth: { pass: string; user: string; }; host: string; port: number; secure?: boolean; tls?: any; }

Defined in: src/types/auth.ts:64


token?

optional token: string | { params?: Record<string, any>; url: string; }

Defined in: src/types/auth.ts:9

Inherited from

AuthProvider.token


token_endpoint_auth_method?

optional token_endpoint_auth_method: "client_secret_post" | "client_secret_basic"

Defined in: src/types/auth.ts:29

Inherited from

AuthProvider.token_endpoint_auth_method


type

type: "email"

Defined in: src/types/auth.ts:63

Overrides

AuthProvider.type


userinfo?

optional userinfo: string | { params?: Record<string, any>; url: string; }

Defined in: src/types/auth.ts:10

Inherited from

AuthProvider.userinfo


wellKnown?

optional wellKnown: string

Defined in: src/types/auth.ts:12

Inherited from

AuthProvider.wellKnown