Backstage
    Preparing search index...
    • Creates a mocked user token. If a payload is provided it will be encoded into the token and forwarded to the credentials object when authenticated by the mock auth service.

      Parameters

      • OptionaluserEntityRef: string
      • Optionaloptions: { actor?: { subject: string } }

      Returns string