Type alias AuthValidatorWithoutScheme

AuthValidatorWithoutScheme: ((value, request) => boolean | PromiseLike<boolean>)

Type declaration

    • (value, request): boolean | PromiseLike<boolean>
    • Validator, that checks value of an 'Authorization' header.

      Parameters

      • value: string

        The value of the Authorization header.

      • 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