@morojs/moro / CredentialsProvider
Interface: CredentialsProvider
Defined in: src/types/auth.ts:48
Extends
Indexable
[key: string]: any
Properties
authorization?
optionalauthorization:string| {params?:Record<string,any>;url:string; }
Defined in: src/types/auth.ts:8
Inherited from
authorization_params?
optionalauthorization_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?
optionalclaims:Record<string,any>
Defined in: src/types/auth.ts:20
Inherited from
clientId?
optionalclientId:string
Defined in: src/types/auth.ts:15
Inherited from
clientSecret?
optionalclientSecret: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?
optionalissuer:string
Defined in: src/types/auth.ts:11
Inherited from
name
name:
string
Defined in: src/types/auth.ts:4
Inherited from
profile()?
optionalprofile: (profile,tokens) =>any
Defined in: src/types/auth.ts:23
Parameters
profile
any
tokens
any
Returns
any
Inherited from
scope?
optionalscope:string
Defined in: src/types/auth.ts:19
Inherited from
token?
optionaltoken:string| {params?:Record<string,any>;url:string; }
Defined in: src/types/auth.ts:9
Inherited from
token_endpoint_auth_method?
optionaltoken_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?
optionaluserinfo:string| {params?:Record<string,any>;url:string; }
Defined in: src/types/auth.ts:10
Inherited from
wellKnown?
optionalwellKnown:string
Defined in: src/types/auth.ts:12