Skip to content

OAuthProviderDeclaration

Defined in: core.ts:471

Declares an OAuth provider in the plugin manifest.

Providers must be declared in manifest.oauth.providers[] and require both oauth and oauth.{id} permissions.

id: string

Defined in: core.ts:473

Provider identifier (e.g., “github”, “google”).


scopes: string[]

Defined in: core.ts:475

OAuth scopes to request during authorization.


optional reason?: string

Defined in: core.ts:477

Human-readable reason shown in the permission consent dialog.