Skip to content

OAuthCredentials

type OAuthCredentials = object;

Defined in: types.ts:95

Possible credentials that can be used when requesting an OAuth token

clientId: string;

Defined in: types.ts:103

The OAuth Client ID


clientSecret: string;

Defined in: types.ts:107

The OAuth Client secret


optional grantType?: "client_credentials" | "password";

Defined in: types.ts:99

The OAuth Grant Type


optional password?: string;

Defined in: types.ts:115

The Drupal account password


optional username?: string;

Defined in: types.ts:111

The Drupal account username or email