Skip to main content

Type Alias: OauthV2ExchangeResponse

type OauthV2ExchangeResponse: WebAPICallResult & object;

Type declaration

access_token?

optional access_token: string;

app_id?

optional app_id: string;

authed_user?

optional authed_user: AuthedUser;

bot_user_id?

optional bot_user_id: string;

enterprise?

optional enterprise: Enterprise;

error?

optional error: string;

expires_in?

optional expires_in: number;

incoming_webhook?

optional incoming_webhook: IncomingWebhook;

is_enterprise_install?

optional is_enterprise_install: boolean;

needed?

optional needed: string;

ok?

optional ok: boolean;

provided?

optional provided: string;

refresh_token?

optional refresh_token: string;

response_metadata?

optional response_metadata: ResponseMetadata;

scope?

optional scope: string;

team?

optional team: Enterprise;

token_type?

optional token_type: string;

warning?

optional warning: string;

Defined in

packages/web-api/src/types/response/OauthV2ExchangeResponse.ts:12