Skip to main content
Version: Next

mockCredentials.none

Home > @backstage/backend-test-utils > mockCredentials > none

Utilities related to none credentials.

Signature:

namespace none 

Functions

Function

Description

header()

Returns an authorization header that translates to unauthenticated credentials.

This is useful when one wants to explicitly test unauthenticated requests while still using the default behavior of the mock HttpAuthService where it defaults to user credentials.