Skip to main content

OAuth2CredentialSetup

openmolt


openmolt / OAuth2CredentialSetup

Interface: OAuth2CredentialSetup

Defined in: types/index.ts:81

OAuth 2.0 credential setup.

Properties​

authUrl​

authUrl: string

Defined in: types/index.ts:84

URL to obtain an authorisation code.


clientId​

clientId: string

Defined in: types/index.ts:88

Client identifier template ({{ config.clientId }}).


clientSecret​

clientSecret: string

Defined in: types/index.ts:90

Client secret template.


refreshToken​

refreshToken: string

Defined in: types/index.ts:92

Refresh token template.


scopes?​

optional scopes: string[]

Defined in: types/index.ts:94

Scopes required for the token.


tokenUrl​

tokenUrl: string

Defined in: types/index.ts:86

URL used to exchange a refresh token for an access token.


type​

type: "oauth2"

Defined in: types/index.ts:82