Skip to main content

@slack/oauth / OAuthV2Response

Interface: OAuthV2Response

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

Extends​

  • WebAPICallResult

Properties​

access_token?​

optional access_token?: string;

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


app_id​

app_id: string;

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


authed_user​

authed_user: object;

Defined in: packages/oauth/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: packages/oauth/src/install-provider.ts:779


enterprise​

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

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


expires_in?​

optional expires_in?: number;

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


incoming_webhook?​

optional incoming_webhook?: object;

Defined in: packages/oauth/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: packages/oauth/src/install-provider.ts:782


ok​

ok: boolean;

Defined in: packages/web-api/dist/WebClient.d.ts:42

Inherited from​

WebAPICallResult.ok

refresh_token?​

optional refresh_token?: string;

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


response_metadata?​

optional response_metadata?: object;

Defined in: packages/web-api/dist/WebClient.d.ts:43

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: packages/oauth/src/install-provider.ts:774


team​

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

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


token_type?​

optional token_type?: "bot";

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