@morojs/moro / CredentialsProvider
Interface: CredentialsProvider
Defined in: src/types/auth.ts:48
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
authorization_params?
optional
authorization_params:Record
<string
,any
>
Defined in: src/types/auth.ts:26
Inherited from
AuthProvider
.authorization_params
authorize()
authorize: (
credentials
,req
) =>any
Defined in: src/types/auth.ts:59
Parameters
credentials
Record
<string
, any
>
req
any
Returns
any
claims?
optional
claims:Record
<string
,any
>
Defined in: src/types/auth.ts:20
Inherited from
clientId?
optional
clientId:string
Defined in: src/types/auth.ts:15
Inherited from
clientSecret?
optional
clientSecret:string
Defined in: src/types/auth.ts:16
Inherited from
credentials
credentials:
Record
<string
, {[key
:string
]:any
;label?
:string
;placeholder?
:string
;type?
:string
; }>
Defined in: src/types/auth.ts:50
id
id:
string
Defined in: src/types/auth.ts:3
Inherited from
issuer?
optional
issuer:string
Defined in: src/types/auth.ts:11
Inherited from
name
name:
string
Defined in: src/types/auth.ts:4
Inherited from
profile()?
optional
profile: (profile
,tokens
) =>any
Defined in: src/types/auth.ts:23
Parameters
profile
any
tokens
any
Returns
any
Inherited from
scope?
optional
scope:string
Defined in: src/types/auth.ts:19
Inherited from
token?
optional
token:string
| {params?
:Record
<string
,any
>;url
:string
; }
Defined in: src/types/auth.ts:9
Inherited from
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:
"credentials"
Defined in: src/types/auth.ts:49
Overrides
userinfo?
optional
userinfo:string
| {params?
:Record
<string
,any
>;url
:string
; }
Defined in: src/types/auth.ts:10
Inherited from
wellKnown?
optional
wellKnown:string
Defined in: src/types/auth.ts:12