UMIS SDK
    Preparing search index...

    Interface CreateRequestInput

    The input of createRequestQr and createRequestFrame.

    interface CreateRequestInput {
        audience: string;
        authority?: AuthorityRequest;
        claims: readonly (
            "org"
            | "org_unit"
            | "role"
            | "display"
            | "authority"
            | "delegation"
        )[];
        crypto?: CryptoProvider;
        deviceSigner: Signer;
        mutual?: {
            disclose: readonly (
                "org"
                | "org_unit"
                | "role"
                | "display"
                | "authority"
                | "delegation"
            )[];
            holderSigner: Signer;
            sdJwtVc: string;
        };
        now: number;
        policy?: {
            id: string;
            risk: "low"
            | "medium"
            | "high"
            | "highest";
            v: number;
        };
        ttlSeconds?: number;
        vct?: readonly string[];
        verifier?: { name: string; org?: string };
    }
    Index
    audience: string

    Who asks: urn:umis:verifier:<id> or urn:umis:wallet:<id>. The answer is bound to it.

    authority?: AuthorityRequest
    claims: readonly (
        "org"
        | "org_unit"
        | "role"
        | "display"
        | "authority"
        | "delegation"
    )[]
    deviceSigner: Signer

    Signs the request; for a mutual exchange the holder key signs instead (see mutual).

    mutual?: {
        disclose: readonly (
            "org"
            | "org_unit"
            | "role"
            | "display"
            | "authority"
            | "delegation"
        )[];
        holderSigner: Signer;
        sdJwtVc: string;
    }

    Turns the request into the opening of a mutual exchange: the asker shows its own credential too.

    now: number
    policy?: { id: string; risk: "low" | "medium" | "high" | "highest"; v: number }
    ttlSeconds?: number
    vct?: readonly string[]

    Credential types asked for; both UMIS types when absent.

    verifier?: { name: string; org?: string }