Type alias BasicAuthValidator

BasicAuthValidator: ((username, password, request) => boolean | PromiseLike<boolean>)

Type declaration

    • (username, password, request): boolean | PromiseLike<boolean>
    • Validator, that checks for username and password.

      Parameters

      • username: Nilable<string>

        The username.

      • password: Nullable<string>

        The password.

      • request: IHttpRequest

        The request context.

      Returns boolean | PromiseLike<boolean>

      A truely value, that indicates, if criteria do match, or the promise with it.

Generated using TypeDoc