iya-sts
    Preparing search index...

    Variable publicMaterial

    publicMaterial: (
        base: string,
    ) => {
        biscuit: {
            algorithm: string;
            jwk: any;
            revocation_endpoint: string;
            root_public_key: string;
            root_public_keys: string[];
        };
        jwt: {
            alg: string;
            jwks_uri: string;
            kid: any;
            status_list_aggregation_endpoint: any;
            typ: string;
        };
        "jwt-encrypted": { authorization_server: string; resource_server: string };
        macaroon: { root_key: string };
        zcap: { controller: string; cryptosuite: string };
    } = ...

    Type Declaration

      • (
            base: string,
        ): {
            biscuit: {
                algorithm: string;
                jwk: any;
                revocation_endpoint: string;
                root_public_key: string;
                root_public_keys: string[];
            };
            jwt: {
                alg: string;
                jwks_uri: string;
                kid: any;
                status_list_aggregation_endpoint: any;
                typ: string;
            };
            "jwt-encrypted": { authorization_server: string; resource_server: string };
            macaroon: { root_key: string };
            zcap: { controller: string; cryptosuite: string };
        }
      • Returns what GET /gnap/keys publishes: the material a resource server needs to verify the self-contained formats. The macaroon root key is secret and is not in it.

        Parameters

        • base: string

          the realm's base URL

        Returns {
            biscuit: {
                algorithm: string;
                jwk: any;
                revocation_endpoint: string;
                root_public_key: string;
                root_public_keys: string[];
            };
            jwt: {
                alg: string;
                jwks_uri: string;
                kid: any;
                status_list_aggregation_endpoint: any;
                typ: string;
            };
            "jwt-encrypted": { authorization_server: string; resource_server: string };
            macaroon: { root_key: string };
            zcap: { controller: string; cryptosuite: string };
        }

        the public verification material