UMIS SDK
    Preparing search index...

    Function issueRoleAuthority

    • Issues a root role-authority credential: a role with at least one authority item, and the delegation claim {depth: 0, max_depth: maxDepth} that bounds how far the holder's powers can be handed on.

      Parameters

      • i: Omit<IssueSdJwtVcInput, "vct" | "claims"> & {
            claims: Omit<UmisClaimSet, "authority" | "delegation" | "role"> & {
                authority: AuthorityItem[];
                role: { code: string; name: string };
            };
            maxDepth: number;
        }

      Returns Promise<string>