mockCredentials
Home > @backstage/backend-test-utils
> mockCredentials
Signature:
namespace mockCredentials
Functions
Function |
Description |
---|---|
Creates a mocked credentials object for a user principal with limited access. The default user entity reference is 'user:default/mock'. | |
Creates a mocked credentials object for a unauthenticated principal. | |
Creates a mocked credentials object for a service principal. The default subject is 'external:test-service', and no access restrictions. | |
Creates a mocked credentials object for a user principal. The default user entity reference is 'user:default/mock'. |
Namespaces
Namespace |
Description |
---|---|
Utilities related to limited user credentials. | |
Utilities related to none credentials. | |
Utilities related to service credentials. | |
Utilities related to user credentials. |