iya-sts
    Preparing search index...

    Variable challenges

    challenges: (req?: AuthRequest) => string[] = ...

    Type Declaration

      • (req?: AuthRequest): string[]
      • Returns the WWW-Authenticate challenges a 401 offers, in this service's order of preference: Bearer, then Basic when offered, then GNAP when offered and a request is given (its as_uri needs the request's base).

        Parameters

        • Optionalreq: AuthRequest

          the request, when there is one

        Returns string[]

        the challenge strings