Skip to main content

Interface: OAuthAccessArguments

Extends

  • OAuthCredentials

Properties

client_id

client_id: string;

Description

Issued when you created your application.

Inherited from

OAuthCredentials.client_id

Defined in

packages/web-api/src/types/request/common.ts:138


client_secret

client_secret: string;

Description

Issued when you created your application.

Inherited from

OAuthCredentials.client_secret

Defined in

packages/web-api/src/types/request/common.ts:140


code?

optional code: string;

Description

The code parameter returned via the OAuth callback.

Inherited from

OAuthCredentials.code

Defined in

packages/web-api/src/types/request/common.ts:142


redirect_uri?

optional redirect_uri: string;

Description

While optional, it is required if your app passed it as a parameter to the OpenID/OAuth flow's first step and must match the originally submitted URI.

Inherited from

OAuthCredentials.redirect_uri

Defined in

packages/web-api/src/types/request/common.ts:147


single_channel?

optional single_channel: boolean;

Description

Request the user to add your app only to a single channel. Only valid with a legacy workspace app. Defaults to false.

Defined in

packages/web-api/src/types/request/oauth.ts:6