Skip to main content

@slack/oauth / OAuthV2TokenRefreshResponse

Interface: OAuthV2TokenRefreshResponse

Defined in: src/install-provider.ts:791

Extends

  • WebAPICallResult

Properties

access_token

access_token: string;

Defined in: src/install-provider.ts:795


app_id

app_id: string;

Defined in: src/install-provider.ts:792


bot_user_id?

optional bot_user_id: string;

Defined in: src/install-provider.ts:798


enterprise

enterprise: 
| null
| {
id: string;
name: string;
};

Defined in: src/install-provider.ts:800


error?

optional error: string;

Defined in: node_modules/@slack/web-api/dist/WebClient.d.ts:64

Inherited from

WebAPICallResult.error

expires_in

expires_in: number;

Defined in: src/install-provider.ts:797


is_enterprise_install

is_enterprise_install: boolean;

Defined in: src/install-provider.ts:801


ok

ok: boolean;

Defined in: node_modules/@slack/web-api/dist/WebClient.d.ts:63

Inherited from

WebAPICallResult.ok

refresh_token

refresh_token: string;

Defined in: src/install-provider.ts:796


response_metadata?

optional response_metadata: object;

Defined in: node_modules/@slack/web-api/dist/WebClient.d.ts:65

acceptedScopes?

optional acceptedScopes: string[];

messages?

optional messages: string[];

next_cursor?

optional next_cursor: string;

retryAfter?

optional retryAfter: number;

scopes?

optional scopes: string[];

warnings?

optional warnings: string[];

Inherited from

WebAPICallResult.response_metadata

scope

scope: string;

Defined in: src/install-provider.ts:793


team

team: object;

Defined in: src/install-provider.ts:799

id

id: string;

name

name: string;

token_type

token_type: "bot" | "user";

Defined in: src/install-provider.ts:794