Skip to content

@camera.ui/sdk / plugin / OAuthProviderDeclaration

Interface: OAuthProviderDeclaration

Defined in: plugin/oauth.ts:59

One provider a plugin integrates with. A single-provider plugin declares exactly one.

Properties

clientId

clientId: string

Defined in: plugin/oauth.ts:65

OAuth client id the plugin authenticates as.


description?

optional description?: string

Defined in: plugin/oauth.ts:71

One-line UI hint shown alongside the connect button.


id

id: string

Defined in: plugin/oauth.ts:61

Plugin-local provider identifier (storage-key dimension for multi-provider plugins).


provider

provider: OAuthProviderConfig

Defined in: plugin/oauth.ts:63

IdP endpoint configuration.


required?

optional required?: boolean

Defined in: plugin/oauth.ts:69

Whether the provider is mandatory for the plugin to function.


scopes

scopes: string[]

Defined in: plugin/oauth.ts:67

Scopes requested for this provider.