@morojs/moro


@morojs/moro / OAuthProvider

Interface: OAuthProvider

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

Extends

Indexable

[key: string]: any

Properties

authorization

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

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

Overrides

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


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


token

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

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

Overrides

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: "oauth"

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

Overrides

AuthProvider.type


userinfo?

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

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

Overrides

AuthProvider.userinfo


wellKnown?

optional wellKnown: string

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

Inherited from

AuthProvider.wellKnown