Optionaloptions: { defaultCredentials?: BackstageCredentials; pluginId?: string }OptionaldefaultCredentials?: BackstageCredentialsThe default credentials to use if there are no credentials present in the incoming request.
By default all requests without credentials are treated as authenticated
as the default mock user as returned from mockCredentials.user().
OptionalpluginId?: string
Creates a mock implementation of the
HttpAuthService.By default all requests without credentials are treated as requests from the default mock user principal. This behavior can be configured with the
defaultCredentialsoption.