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

    Type Alias OAuth2Client

    type OAuth2Client = {
        createOAuth2Client(
            clientId: string,
            clientData: OAuth2ClientSkeleton,
        ): Promise<OAuth2ClientSkeleton>;
        createOAuth2ClientExportTemplate(): OAuth2ClientExportInterface;
        deleteOAuth2Client(clientId: string): Promise<OAuth2ClientSkeleton>;
        deleteOAuth2Clients(): Promise<OAuth2ClientSkeleton[]>;
        exportOAuth2Client(
            clientId: string,
            options?: OAuth2ClientExportOptions,
        ): Promise<OAuth2ClientExportInterface>;
        exportOAuth2Clients(
            options?: OAuth2ClientExportOptions,
            resultCallback?: ResultCallback<OAuth2ClientSkeleton>,
        ): Promise<OAuth2ClientExportInterface>;
        importFirstOAuth2Client(
            importData: OAuth2ClientExportInterface,
            options?: OAuth2ClientImportOptions,
        ): Promise<OAuth2ClientSkeleton>;
        importOAuth2Client(
            clientId: string,
            importData: OAuth2ClientExportInterface,
            options?: OAuth2ClientImportOptions,
        ): Promise<OAuth2ClientSkeleton>;
        importOAuth2Clients(
            importData: OAuth2ClientExportInterface,
            options?: OAuth2ClientImportOptions,
            resultCallback?: ResultCallback<OAuth2ClientSkeleton>,
        ): Promise<OAuth2ClientSkeleton[]>;
        readOAuth2Client(clientId: string): Promise<OAuth2ClientSkeleton>;
        readOAuth2Clients(): Promise<OAuth2ClientSkeleton[]>;
        updateOAuth2Client(
            clientId: string,
            clientData: OAuth2ClientSkeleton,
        ): Promise<OAuth2ClientSkeleton>;
    }
    Index
    • Delete OAuth2 client

      Parameters

      • clientId: string

        client id

      Returns Promise<OAuth2ClientSkeleton>

      a promise that resolves to an oauth2client object

      If the client id is not one name (it is empty, . or .., or holds a slash, a backslash, ?, #, %, a control character or a lone surrogate, or starts or ends with a blank). Nothing is requested then.

    • Delete all OAuth2 clients

      Returns Promise<OAuth2ClientSkeleton[]>

      a promise that resolves to an array of oauth2client objects

      A client that the tenant lists with an id that is not one name is not deleted and counts as one that failed, as a delete that fails does: no request is sent for it.