iya-sts
    Preparing search index...
    buildRequest: (
        asked: IssuanceQuestion,
        held: string[],
        fromToken: string[],
        required: string[],
    ) => any = ...

    Type Declaration

      • (
            asked: IssuanceQuestion,
            held: string[],
            fromToken: string[],
            required: string[],
        ): any
      • Builds the XACML request for one issuance question.

        The subject's name, kind, held roles and token roles; the application as a string resource-id with its required roles; the issuance kind as the action; and the risk, authentication and device facts as environment attributes, each only when present. Through the one builder every PEP uses (xacml_request.js, #306).

        Parameters

        • asked: IssuanceQuestion

          the issuance question

        • held: string[]

          the roles the subject holds

        • fromToken: string[]

          the roles read from a token the subject presented

        • required: string[]

          the roles the application requires

        Returns any

        the request, in the shapes of xacml_model.js