deactivateOAuthClient()
Deletes/deactivates a client so it can no longer issue new authorization flows.
Usage
The following example shows a basic usage of the backend client from @wacht/nextjs/server.
import { wachtClient } from '@wacht/nextjs/server';export async function example() { const client = await wachtClient(); const oauthAppSlug: string = 'oauthappslug'; const oauthClientId: string = 'oauthclientid-123'; return client.oauth.deactivateOAuthClient(oauthAppSlug, oauthClientId);}Signature
function deactivateOAuthClient( oauthAppSlug: string, oauthClientId: string,): Promise<void>Parameters
›oauthAppSlug: string;
oauthAppSlug: string;OAuth app slug.
›oauthClientId: string;
oauthClientId: string;OAuth client id.