Frodo Library - v5.0.0-47
    Preparing search index...

    Type Alias OAuth2TrustedJwtIssuer

    type OAuth2TrustedJwtIssuer = {
        createOAuth2TrustedJwtIssuer(
            issuerId: string,
            issuerData: OAuth2TrustedJwtIssuerSkeleton,
            leftOutCallback?: OAuth2TrustedJwtIssuerLeftOutAttributesCallback,
        ): Promise<OAuth2TrustedJwtIssuerSkeleton>;
        createOAuth2TrustedJwtIssuerExportTemplate(): OAuth2TrustedJwtIssuerExportInterface;
        deleteOAuth2TrustedJwtIssuer(
            issuerId: string,
        ): Promise<OAuth2TrustedJwtIssuerSkeleton>;
        deleteOAuth2TrustedJwtIssuers(
            resultCallback?: ResultCallback<OAuth2TrustedJwtIssuerSkeleton>,
        ): Promise<OAuth2TrustedJwtIssuerSkeleton[]>;
        exportOAuth2TrustedJwtIssuer(
            issuerId: string,
            options?: OAuth2TrustedJwtIssuerExportOptions,
        ): Promise<OAuth2TrustedJwtIssuerExportInterface>;
        exportOAuth2TrustedJwtIssuers(
            options?: OAuth2TrustedJwtIssuerExportOptions,
            resultCallback?: ResultCallback<OAuth2TrustedJwtIssuerSkeleton>,
        ): Promise<OAuth2TrustedJwtIssuerExportInterface>;
        importFirstOAuth2TrustedJwtIssuer(
            importData: OAuth2TrustedJwtIssuerImportData,
            options?: OAuth2TrustedJwtIssuerImportOptions,
            leftOutCallback?: OAuth2TrustedJwtIssuerLeftOutAttributesCallback,
        ): Promise<OAuth2TrustedJwtIssuerSkeleton>;
        importOAuth2TrustedJwtIssuer(
            issuerId: string,
            importData: OAuth2TrustedJwtIssuerImportData,
            options?: OAuth2TrustedJwtIssuerImportOptions,
            leftOutCallback?: OAuth2TrustedJwtIssuerLeftOutAttributesCallback,
        ): Promise<OAuth2TrustedJwtIssuerSkeleton>;
        importOAuth2TrustedJwtIssuers(
            importData: OAuth2TrustedJwtIssuerImportData,
            options?: OAuth2TrustedJwtIssuerImportOptions,
            resultCallback?: ResultCallback<OAuth2TrustedJwtIssuerSkeleton>,
            leftOutCallback?: OAuth2TrustedJwtIssuerLeftOutAttributesCallback,
        ): Promise<OAuth2TrustedJwtIssuerSkeleton[]>;
        readOAuth2TrustedJwtIssuer(
            issuerId: string,
        ): Promise<OAuth2TrustedJwtIssuerSkeleton>;
        readOAuth2TrustedJwtIssuers(): Promise<OAuth2TrustedJwtIssuerSkeleton[]>;
        updateOAuth2TrustedJwtIssuer(
            issuerId: string,
            issuerData: OAuth2TrustedJwtIssuerSkeleton,
            leftOutCallback?: OAuth2TrustedJwtIssuerLeftOutAttributesCallback,
        ): Promise<OAuth2TrustedJwtIssuerSkeleton>;
    }
    Index
    • Update or create OAuth2 trusted jwt issuer. When the server refuses the body with "Invalid attribute specified." and the body has top-level attributes that the server does not list as valid, only those attributes are left out of a copy of the body, which is sent once more, and a warning names them; the object that was passed in is not changed. When no top-level attribute is unknown, nothing is sent a second time and the error says what the server accepts. A caller that must not store less than it was given passes a leftOutCallback: it is told which attributes were left out.

      Parameters

      Returns Promise<OAuth2TrustedJwtIssuerSkeleton>

      a promise that resolves to an trusted jwt issuer object