---
title: supertokens-node/recipe/thirdparty/types
description: References documentation for the supertokens-node/recipe/thirdparty/types package
sidebar:
  order: 80
---

## Type Aliases

### APIInterface

```ts check=false reason="Generated API signature"
type APIInterface = object;
```

Defined in: [recipe/thirdparty/types.ts:253](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L253)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="appleredirecthandlerpost"></a> `appleRedirectHandlerPOST` | `undefined` \| (`input`) => `Promise`\<`void`\> | [recipe/thirdparty/types.ts:313](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L313) |
| <a id="authorisationurlget"></a> `authorisationUrlGET` | \| `undefined` \| (`input`) => `Promise`\< \| \{ `pkceCodeVerifier?`: `string`; `status`: `"OK"`; `urlWithQueryParams`: `string`; \} \| [`GeneralErrorResponse`](types#generalerrorresponse)\> | [recipe/thirdparty/types.ts:254](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L254) |
| <a id="signinuppost"></a> `signInUpPOST` | \| `undefined` \| (`input`) => `Promise`\< \| \{ `createdNewRecipeUser`: `boolean`; `oAuthTokens`: \{ \[`key`: `string`\]: `any`; \}; `rawUserInfoFromProvider`: \{ `fromIdTokenPayload?`: \{ \[`key`: `string`\]: `any`; \}; `fromUserInfoAPI?`: \{ \[`key`: `string`\]: `any`; \}; \}; `session`: `SessionContainerInterface`; `status`: `"OK"`; `user`: [`User`](types#user); \} \| \{ `status`: `"NO_EMAIL_GIVEN_BY_PROVIDER"`; \} \| \{ `reason`: `string`; `status`: `"SIGN_IN_UP_NOT_ALLOWED"`; \} \| [`GeneralErrorResponse`](types#generalerrorresponse)\> | [recipe/thirdparty/types.ts:271](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L271) |

***

### APIOptions

```ts check=false reason="Generated API signature"
type APIOptions = object;
```

Defined in: [recipe/thirdparty/types.ts:242](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L242)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="appinfo"></a> `appInfo` | [`NormalisedAppinfo`](types#normalisedappinfo) | [recipe/thirdparty/types.ts:250](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L250) |
| <a id="config"></a> `config` | [`TypeNormalisedInput`](#typenormalisedinput) | [recipe/thirdparty/types.ts:244](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L244) |
| <a id="isinserverlessenv"></a> `isInServerlessEnv` | `boolean` | [recipe/thirdparty/types.ts:246](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L246) |
| <a id="providers"></a> `providers` | [`ProviderInput`](#providerinput)[] | [recipe/thirdparty/types.ts:247](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L247) |
| <a id="recipeid"></a> `recipeId` | `string` | [recipe/thirdparty/types.ts:245](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L245) |
| <a id="recipeimplementation"></a> `recipeImplementation` | [`RecipeInterface`](#recipeinterface) | [recipe/thirdparty/types.ts:243](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L243) |
| <a id="req"></a> `req` | `BaseRequest` | [recipe/thirdparty/types.ts:248](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L248) |
| <a id="res"></a> `res` | `BaseResponse` | [recipe/thirdparty/types.ts:249](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L249) |

***

### ProviderClientConfig

```ts check=false reason="Generated API signature"
type ProviderClientConfig = object;
```

Defined in: [recipe/thirdparty/types.ts:42](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L42)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="additionalconfig"></a> `additionalConfig?` | `object` | [recipe/thirdparty/types.ts:48](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L48) |
| <a id="clientid"></a> `clientId` | `string` | [recipe/thirdparty/types.ts:44](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L44) |
| <a id="clientsecret"></a> `clientSecret?` | `string` | [recipe/thirdparty/types.ts:45](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L45) |
| <a id="clienttype"></a> `clientType?` | `string` | [recipe/thirdparty/types.ts:43](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L43) |
| <a id="forcepkce"></a> `forcePKCE?` | `boolean` | [recipe/thirdparty/types.ts:47](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L47) |
| <a id="scope"></a> `scope?` | `string`[] | [recipe/thirdparty/types.ts:46](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L46) |

***

### ProviderConfig

```ts check=false reason="Generated API signature"
type ProviderConfig = CommonProviderConfig & object;
```

Defined in: [recipe/thirdparty/types.ts:119](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L119)

#### Type Declaration

| Name | Type | Defined in |
| ------ | ------ | ------ |
| `clients?` | [`ProviderClientConfig`](#providerclientconfig)[] | [recipe/thirdparty/types.ts:120](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L120) |

***

### ProviderConfigForClientType

```ts check=false reason="Generated API signature"
type ProviderConfigForClientType = ProviderClientConfig & CommonProviderConfig;
```

Defined in: [recipe/thirdparty/types.ts:94](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L94)

***

### ProviderInput

```ts check=false reason="Generated API signature"
type ProviderInput = object;
```

Defined in: [recipe/thirdparty/types.ts:123](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L123)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="config-1"></a> `config` | [`ProviderConfig`](#providerconfig) | [recipe/thirdparty/types.ts:124](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L124) |
| <a id="includeinnonpublictenantsbydefault"></a> `includeInNonPublicTenantsByDefault?` | `boolean` | [recipe/thirdparty/types.ts:125](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L125) |
| <a id="override"></a> `override?` | (`originalImplementation`) => [`TypeProvider`](#typeprovider) | [recipe/thirdparty/types.ts:126](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L126) |

***

### RecipeInterface

```ts check=false reason="Generated API signature"
type RecipeInterface = object;
```

Defined in: [recipe/thirdparty/types.ts:159](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L159)

#### Methods

##### getProvider()

```ts check=false reason="Generated API signature"
getProvider(input): Promise<TypeProvider>;
```

Defined in: [recipe/thirdparty/types.ts:160](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L160)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `input` | \{ `clientType?`: `string`; `tenantId`: `string`; `thirdPartyId`: `string`; `userContext`: [`UserContext`](types#usercontext); \} |
| `input.clientType?` | `string` |
| `input.tenantId` | `string` |
| `input.thirdPartyId` | `string` |
| `input.userContext` | [`UserContext`](types#usercontext) |

###### Returns

`Promise`\<[`TypeProvider`](#typeprovider)\>

##### manuallyCreateOrUpdateUser()

```ts check=false reason="Generated API signature"
manuallyCreateOrUpdateUser(input): Promise<
  | {
  createdNewRecipeUser: boolean;
  recipeUserId: RecipeUserId;
  status: "OK";
  user: User;
}
  | {
  reason: string;
  status: "EMAIL_CHANGE_NOT_ALLOWED_ERROR";
}
  | {
  reason: string;
  status: "SIGN_IN_UP_NOT_ALLOWED";
}
  | {
  reason:   | "EMAIL_VERIFICATION_REQUIRED"
     | "RECIPE_USER_ID_ALREADY_LINKED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"
     | "ACCOUNT_INFO_ALREADY_ASSOCIATED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"
     | "SESSION_USER_ACCOUNT_INFO_ALREADY_ASSOCIATED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR";
  status: "LINKING_TO_SESSION_USER_FAILED";
}>;
```

Defined in: [recipe/thirdparty/types.ts:207](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L207)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `input` | \{ `email`: `string`; `isVerified`: `boolean`; `session`: `SessionContainerInterface` \| `undefined`; `shouldTryLinkingWithSessionUser`: `boolean` \| `undefined`; `tenantId`: `string`; `thirdPartyId`: `string`; `thirdPartyUserId`: `string`; `userContext`: [`UserContext`](types#usercontext); \} |
| `input.email` | `string` |
| `input.isVerified` | `boolean` |
| `input.session` | `SessionContainerInterface` \| `undefined` |
| `input.shouldTryLinkingWithSessionUser` | `boolean` \| `undefined` |
| `input.tenantId` | `string` |
| `input.thirdPartyId` | `string` |
| `input.thirdPartyUserId` | `string` |
| `input.userContext` | [`UserContext`](types#usercontext) |

###### Returns

`Promise`\<
  \| \{
  `createdNewRecipeUser`: `boolean`;
  `recipeUserId`: [`RecipeUserId`](index#recipeuserid-1);
  `status`: `"OK"`;
  `user`: [`User`](types#user);
\}
  \| \{
  `reason`: `string`;
  `status`: `"EMAIL_CHANGE_NOT_ALLOWED_ERROR"`;
\}
  \| \{
  `reason`: `string`;
  `status`: `"SIGN_IN_UP_NOT_ALLOWED"`;
\}
  \| \{
  `reason`:   \| `"EMAIL_VERIFICATION_REQUIRED"`
     \| `"RECIPE_USER_ID_ALREADY_LINKED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"`
     \| `"ACCOUNT_INFO_ALREADY_ASSOCIATED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"`
     \| `"SESSION_USER_ACCOUNT_INFO_ALREADY_ASSOCIATED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"`;
  `status`: `"LINKING_TO_SESSION_USER_FAILED"`;
\}\>

##### signInUp()

```ts check=false reason="Generated API signature"
signInUp(input): Promise<
  | {
  createdNewRecipeUser: boolean;
  oAuthTokens: {
   [key: string]: any;
  };
  rawUserInfoFromProvider: {
     fromIdTokenPayload?: {
      [key: string]: any;
     };
     fromUserInfoAPI?: {
      [key: string]: any;
     };
  };
  recipeUserId: RecipeUserId;
  status: "OK";
  user: User;
}
  | {
  reason: string;
  status: "SIGN_IN_UP_NOT_ALLOWED";
}
  | {
  reason:   | "EMAIL_VERIFICATION_REQUIRED"
     | "RECIPE_USER_ID_ALREADY_LINKED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"
     | "ACCOUNT_INFO_ALREADY_ASSOCIATED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"
     | "SESSION_USER_ACCOUNT_INFO_ALREADY_ASSOCIATED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR";
  status: "LINKING_TO_SESSION_USER_FAILED";
}>;
```

Defined in: [recipe/thirdparty/types.ts:167](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L167)

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `input` | \{ `email`: `string`; `isVerified`: `boolean`; `oAuthTokens`: \{ \[`key`: `string`\]: `any`; \}; `rawUserInfoFromProvider`: \{ `fromIdTokenPayload?`: \{ \[`key`: `string`\]: `any`; \}; `fromUserInfoAPI?`: \{ \[`key`: `string`\]: `any`; \}; \}; `session`: `SessionContainerInterface` \| `undefined`; `shouldTryLinkingWithSessionUser`: `boolean` \| `undefined`; `tenantId`: `string`; `thirdPartyId`: `string`; `thirdPartyUserId`: `string`; `userContext`: [`UserContext`](types#usercontext); \} |
| `input.email` | `string` |
| `input.isVerified` | `boolean` |
| `input.oAuthTokens` | \{ \[`key`: `string`\]: `any`; \} |
| `input.rawUserInfoFromProvider` | \{ `fromIdTokenPayload?`: \{ \[`key`: `string`\]: `any`; \}; `fromUserInfoAPI?`: \{ \[`key`: `string`\]: `any`; \}; \} |
| `input.rawUserInfoFromProvider.fromIdTokenPayload?` | \{ \[`key`: `string`\]: `any`; \} |
| `input.rawUserInfoFromProvider.fromUserInfoAPI?` | \{ \[`key`: `string`\]: `any`; \} |
| `input.session` | `SessionContainerInterface` \| `undefined` |
| `input.shouldTryLinkingWithSessionUser` | `boolean` \| `undefined` |
| `input.tenantId` | `string` |
| `input.thirdPartyId` | `string` |
| `input.thirdPartyUserId` | `string` |
| `input.userContext` | [`UserContext`](types#usercontext) |

###### Returns

`Promise`\<
  \| \{
  `createdNewRecipeUser`: `boolean`;
  `oAuthTokens`: \{
   \[`key`: `string`\]: `any`;
  \};
  `rawUserInfoFromProvider`: \{
     `fromIdTokenPayload?`: \{
      \[`key`: `string`\]: `any`;
     \};
     `fromUserInfoAPI?`: \{
      \[`key`: `string`\]: `any`;
     \};
  \};
  `recipeUserId`: [`RecipeUserId`](index#recipeuserid-1);
  `status`: `"OK"`;
  `user`: [`User`](types#user);
\}
  \| \{
  `reason`: `string`;
  `status`: `"SIGN_IN_UP_NOT_ALLOWED"`;
\}
  \| \{
  `reason`:   \| `"EMAIL_VERIFICATION_REQUIRED"`
     \| `"RECIPE_USER_ID_ALREADY_LINKED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"`
     \| `"ACCOUNT_INFO_ALREADY_ASSOCIATED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"`
     \| `"SESSION_USER_ACCOUNT_INFO_ALREADY_ASSOCIATED_WITH_ANOTHER_PRIMARY_USER_ID_ERROR"`;
  `status`: `"LINKING_TO_SESSION_USER_FAILED"`;
\}\>

***

### TypeInput

```ts check=false reason="Generated API signature"
type TypeInput = object;
```

Defined in: [recipe/thirdparty/types.ts:137](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L137)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="override-1"></a> `override?` | `object` | [recipe/thirdparty/types.ts:139](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L139) |
| `override.apis?` | (`originalImplementation`, `builder`) => [`APIInterface`](#apiinterface) | [recipe/thirdparty/types.ts:144](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L144) |
| `override.functions?` | (`originalImplementation`, `builder`) => [`RecipeInterface`](#recipeinterface) | [recipe/thirdparty/types.ts:140](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L140) |
| <a id="signinandupfeature"></a> `signInAndUpFeature?` | [`TypeInputSignInAndUp`](#typeinputsigninandup) | [recipe/thirdparty/types.ts:138](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L138) |

***

### TypeInputSignInAndUp

```ts check=false reason="Generated API signature"
type TypeInputSignInAndUp = object;
```

Defined in: [recipe/thirdparty/types.ts:129](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L129)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="providers-1"></a> `providers?` | [`ProviderInput`](#providerinput)[] | [recipe/thirdparty/types.ts:130](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L130) |

***

### TypeNormalisedInput

```ts check=false reason="Generated API signature"
type TypeNormalisedInput = object;
```

Defined in: [recipe/thirdparty/types.ts:148](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L148)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="override-2"></a> `override` | `object` | [recipe/thirdparty/types.ts:150](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L150) |
| `override.apis` | (`originalImplementation`, `builder`) => [`APIInterface`](#apiinterface) | [recipe/thirdparty/types.ts:155](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L155) |
| `override.functions` | (`originalImplementation`, `builder`) => [`RecipeInterface`](#recipeinterface) | [recipe/thirdparty/types.ts:151](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L151) |
| <a id="signinandupfeature-1"></a> `signInAndUpFeature` | [`TypeNormalisedInputSignInAndUp`](#typenormalisedinputsigninandup) | [recipe/thirdparty/types.ts:149](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L149) |

***

### TypeNormalisedInputSignInAndUp

```ts check=false reason="Generated API signature"
type TypeNormalisedInputSignInAndUp = object;
```

Defined in: [recipe/thirdparty/types.ts:133](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L133)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="providers-2"></a> `providers` | [`ProviderInput`](#providerinput)[] | [recipe/thirdparty/types.ts:134](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L134) |

***

### TypeProvider

```ts check=false reason="Generated API signature"
type TypeProvider = object;
```

Defined in: [recipe/thirdparty/types.ts:96](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L96)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="config-2"></a> `config` | [`ProviderConfigForClientType`](#providerconfigforclienttype) | [recipe/thirdparty/types.ts:98](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L98) |
| <a id="exchangeauthcodeforoauthtokens"></a> `exchangeAuthCodeForOAuthTokens` | (`input`) => `Promise`\<`any`\> | [recipe/thirdparty/types.ts:108](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L108) |
| <a id="getauthorisationredirecturl"></a> `getAuthorisationRedirectURL` | (`input`) => `Promise`\<\{ `pkceCodeVerifier?`: `string`; `urlWithQueryParams`: `string`; \}\> | [recipe/thirdparty/types.ts:104](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L104) |
| <a id="getconfigforclienttype"></a> `getConfigForClientType` | (`input`) => `Promise`\<[`ProviderConfigForClientType`](#providerconfigforclienttype)\> | [recipe/thirdparty/types.ts:100](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L100) |
| <a id="getuserinfo"></a> `getUserInfo` | (`input`) => `Promise`\<[`UserInfo`](#userinfo)\> | [recipe/thirdparty/types.ts:116](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L116) |
| <a id="id"></a> `id` | `string` | [recipe/thirdparty/types.ts:97](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L97) |

***

### UserInfo

```ts check=false reason="Generated API signature"
type UserInfo = object;
```

Defined in: [recipe/thirdparty/types.ts:23](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L23)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="email"></a> `email?` | `object` | [recipe/thirdparty/types.ts:25](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L25) |
| `email.id` | `string` | [recipe/thirdparty/types.ts:25](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L25) |
| `email.isVerified` | `boolean` | [recipe/thirdparty/types.ts:25](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L25) |
| <a id="rawuserinfofromprovider"></a> `rawUserInfoFromProvider` | `object` | [recipe/thirdparty/types.ts:26](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L26) |
| `rawUserInfoFromProvider.fromIdTokenPayload?` | `object` | [recipe/thirdparty/types.ts:26](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L26) |
| `rawUserInfoFromProvider.fromUserInfoAPI?` | `object` | [recipe/thirdparty/types.ts:26](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L26) |
| <a id="thirdpartyuserid"></a> `thirdPartyUserId` | `string` | [recipe/thirdparty/types.ts:24](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L24) |

***

### UserInfoMap

```ts check=false reason="Generated API signature"
type UserInfoMap = object;
```

Defined in: [recipe/thirdparty/types.ts:29](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L29)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="fromidtokenpayload"></a> `fromIdTokenPayload?` | `object` | [recipe/thirdparty/types.ts:30](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L30) |
| `fromIdTokenPayload.email?` | `string` | [recipe/thirdparty/types.ts:32](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L32) |
| `fromIdTokenPayload.emailVerified?` | `string` | [recipe/thirdparty/types.ts:33](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L33) |
| `fromIdTokenPayload.userId?` | `string` | [recipe/thirdparty/types.ts:31](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L31) |
| <a id="fromuserinfoapi"></a> `fromUserInfoAPI?` | `object` | [recipe/thirdparty/types.ts:35](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L35) |
| `fromUserInfoAPI.email?` | `string` | [recipe/thirdparty/types.ts:37](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L37) |
| `fromUserInfoAPI.emailVerified?` | `string` | [recipe/thirdparty/types.ts:38](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L38) |
| `fromUserInfoAPI.userId?` | `string` | [recipe/thirdparty/types.ts:36](https://github.com/supertokens/supertokens-node/blob/8353a9a70d8b17dd9ff6ffe41201fa2ef0e60218/lib/ts/recipe/thirdparty/types.ts#L36) |
