mockCredentials.service
Home > @backstage/backend-test-utils > mockCredentials > service
Utilities related to service credentials.
Signature:
namespace service
Functions
|
Function |
Description |
|---|---|
|
Returns an authorization header with a mocked service token. The provided options will be encoded into the token and forwarded to the credentials object when authenticated by the mock auth service. | |
|
Creates a mocked service token. The provided options will be encoded into the token and forwarded to the credentials object when authenticated by the mock auth service. |
Type Aliases
|
Type Alias |
Description |
|---|---|
|
Options for the creation of mock service tokens. |