@maschinenlesbar.org/tagesschau-cli
    Preparing search index...

    Function echoedCredentialForms

    • The forms in which a server may echo the credentials of a userinfo (user:password, as credentialsIn returns it) back in an error body, in this order: the Authorization: Basic value (base64 of the decoded user:password, UTF-8 as the engine sends it), the decoded user:password itself, and the secret alone when it is at least 4 characters long. The secret is the password; in a userinfo without one (TOKEN@host, TOKEN:@host) it is the user name, a token, which the engine sends as Basic TOKEN:. [] for an empty userinfo. None of them has an @ to anchor on, so they are replaced as exact strings (redactSecrets).

      Parameters

      • userinfo: string

      Returns string[]