next-drupal / isBasicAuth

Function: isBasicAuth()

isBasicAuth(auth): auth is NextDrupalAuthUsernamePassword

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

Checks if the provided auth configuration is basic auth.

Parameters

auth

NextDrupalAuth

The auth configuration.

Returns

auth is NextDrupalAuthUsernamePassword

True if the auth configuration is basic auth, false otherwise.