Skip to main content

@slack/oauth / OAuthV2Response

Interface: OAuthV2Response

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

Extends

  • WebAPICallResult

Properties

access_token?

optional access_token: string;

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


app_id

app_id: string;

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


authed_user

authed_user: object;

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

access_token?

optional access_token: string;

expires_in?

optional expires_in: number;

id

id: string;

refresh_token?

optional refresh_token: string;

scope?

optional scope: string;

token_type?

optional token_type: string;

bot_user_id?

optional bot_user_id: string;

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


enterprise

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

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


error?

optional error: string;

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

Inherited from

WebAPICallResult.error

expires_in?

optional expires_in: number;

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


incoming_webhook?

optional incoming_webhook: object;

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

channel

channel: string;

channel_id

channel_id: string;

configuration_url

configuration_url: string;

url

url: string;

is_enterprise_install

is_enterprise_install: boolean;

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


ok

ok: boolean;

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

Inherited from

WebAPICallResult.ok

refresh_token?

optional refresh_token: string;

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


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?

optional scope: string;

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


team

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

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


token_type?

optional token_type: "bot";

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