Skip to content

OAuthCredentials

type OAuthCredentials: object;

Possible credentials that can be used when requesting an OAuth token

Type declaration

clientId

clientId: string;

The OAuth Client ID

clientSecret

clientSecret: string;

The OAuth Client secret

grantType?

optional grantType: "client_credentials" | "password";

The OAuth Grant Type

password?

optional password: string;

The Drupal account password

username?

optional username: string;

The Drupal account username or email

Source

types.ts:95