next-drupal / isAccessTokenAuth

Function: isAccessTokenAuth()

isAccessTokenAuth(auth): auth is AccessToken

Defined in: packages/next-drupal/src/next-drupal-base.ts:610

Checks if the provided auth configuration is access token auth.

Parameters

auth

NextDrupalAuth

The auth configuration.

Returns

auth is AccessToken

True if the auth configuration is access token auth, false otherwise.