Type Alias OAuth2Client

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,
    ): Promise<OAuth2ClientExportInterface>;
    getOAuth2Client(clientId: string): Promise<OAuth2ClientSkeleton>;
    getOAuth2Clients(): Promise<OAuth2ClientSkeleton[]>;
    importFirstOAuth2Client(
        importData: OAuth2ClientExportInterface,
        options?: OAuth2ClientImportOptions,
    ): Promise<OAuth2ClientSkeleton>;
    importOAuth2Client(
        clientId: string,
        importData: OAuth2ClientExportInterface,
        options?: OAuth2ClientImportOptions,
    ): Promise<OAuth2ClientSkeleton>;
    importOAuth2Clients(
        importData: OAuth2ClientExportInterface,
        options?: OAuth2ClientImportOptions,
    ): Promise<OAuth2ClientSkeleton[]>;
    putOAuth2Client(
        clientId: string,
        clientData: OAuth2ClientSkeleton,
    ): Promise<OAuth2ClientSkeleton>;
    readOAuth2Client(clientId: string): Promise<OAuth2ClientSkeleton>;
    readOAuth2Clients(): Promise<OAuth2ClientSkeleton[]>;
    updateOAuth2Client(
        clientId: string,
        clientData: OAuth2ClientSkeleton,
    ): Promise<OAuth2ClientSkeleton>;
}

Type declaration