@morojs/moro


@morojs/moro / AuthProvider

Interface: AuthProvider

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

Extended by

Indexable

[key: string]: any

Properties

authorization?

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

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


authorization_params?

optional authorization_params: Record<string, any>

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


claims?

optional claims: Record<string, any>

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


clientId?

optional clientId: string

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


clientSecret?

optional clientSecret: string

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


id

id: string

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


issuer?

optional issuer: string

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


name

name: string

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


profile()?

optional profile: (profile, tokens) => any

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

Parameters

profile

any

tokens

any

Returns

any


scope?

optional scope: string

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


token?

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

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


token_endpoint_auth_method?

optional token_endpoint_auth_method: "client_secret_post" | "client_secret_basic"

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


type

type: "oauth" | "oidc" | "credentials" | "email"

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


userinfo?

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

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


wellKnown?

optional wellKnown: string

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