跳到主要内容

Interface: PluginAuthClient

Defined in: packages/plugin-sdk/src/manifest.ts:76

A public OAuth 2.0 client descriptor (authorization-code + PKCE).

Properties​

authorizationUrl​

authorizationUrl: string

Defined in: packages/plugin-sdk/src/manifest.ts:82

HTTPS authorization endpoint of the service.


clientId​

clientId: string

Defined in: packages/plugin-sdk/src/manifest.ts:86

OAuth client id issued to the application.


name​

name: string

Defined in: packages/plugin-sdk/src/manifest.ts:80

Human-readable service name shown in the host connections UI.


scopes​

scopes: string[]

Defined in: packages/plugin-sdk/src/manifest.ts:88

Scopes requested on connect (must be non-empty).


serviceId​

serviceId: string

Defined in: packages/plugin-sdk/src/manifest.ts:78

Reverse-DNS service id, e.g. "com.example.api".


tokenUrl​

tokenUrl: string

Defined in: packages/plugin-sdk/src/manifest.ts:84

HTTPS token endpoint the server calls to exchange the code.