getOAuth2Client: (
clientId: string,
userContext?: Record<string, any>,
) => Promise<
| { client: OAuth2Client; status: "OK" }
| { error: string; errorDescription: string; status: "ERROR" },
> = Wrapper.getOAuth2Client
Type declaration
- (
clientId: string,
userContext?: Record<string, any>,
): Promise<
| { client: OAuth2Client; status: "OK" }
| { error: string; errorDescription: string; status: "ERROR" },
> Parameters
- clientId: string
Optional
userContext: Record<string, any>
Returns Promise<
| { client: OAuth2Client; status: "OK" }
| { error: string; errorDescription: string; status: "ERROR" },
>