Skip to main content

IdentityConnectProps

Agent Runtimes


Agent Runtimes / identity/IdentityConnect / IdentityConnectProps

Interface: IdentityConnectProps

Defined in: identity/IdentityConnect.tsx:414

Props for IdentityConnect component

Properties

disabled?

optional disabled?: boolean

Defined in: identity/IdentityConnect.tsx:440

Whether all buttons are disabled


layout?

optional layout?: "inline" | "list" | "grid"

Defined in: identity/IdentityConnect.tsx:424

Layout variant


onConnect?

optional onConnect?: (identity) => void

Defined in: identity/IdentityConnect.tsx:434

Callback when any identity connects

Parameters

identity

Identity

Returns

void


onDisconnect?

optional onDisconnect?: (provider) => void

Defined in: identity/IdentityConnect.tsx:436

Callback when any identity disconnects

Parameters

provider

OAuthProvider

Returns

void


onError?

optional onError?: (provider, error) => void

Defined in: identity/IdentityConnect.tsx:438

Callback when error occurs

Parameters

provider

OAuthProvider

error

Error

Returns

void


providers

providers: object

Defined in: identity/IdentityConnect.tsx:416

Provider configurations with client IDs

custom?

optional custom?: object

custom.clientId

clientId: string

custom.config?

optional config?: Partial<OAuthProviderConfig>

custom.scopes?

optional scopes?: string[]

github?

optional github?: object

github.clientId

clientId: string

github.config?

optional config?: Partial<OAuthProviderConfig>

github.scopes?

optional scopes?: string[]

google?

optional google?: object

google.clientId

clientId: string

google.config?

optional config?: Partial<OAuthProviderConfig>

google.scopes?

optional scopes?: string[]

kaggle?

optional kaggle?: object

kaggle.clientId

clientId: string

kaggle.config?

optional config?: Partial<OAuthProviderConfig>

kaggle.scopes?

optional scopes?: string[]

linkedin?

optional linkedin?: object

linkedin.clientId

clientId: string

linkedin.config?

optional config?: Partial<OAuthProviderConfig>

linkedin.scopes?

optional scopes?: string[]

notion?

optional notion?: object

notion.clientId

clientId: string

notion.config?

optional config?: Partial<OAuthProviderConfig>

notion.scopes?

optional scopes?: string[]

slack?

optional slack?: object

slack.clientId

clientId: string

slack.config?

optional config?: Partial<OAuthProviderConfig>

slack.scopes?

optional scopes?: string[]


showDescriptions?

optional showDescriptions?: boolean

Defined in: identity/IdentityConnect.tsx:432

Whether to show descriptions


showHeader?

optional showHeader?: boolean

Defined in: identity/IdentityConnect.tsx:426

Show title/header


size?

optional size?: "small" | "medium" | "large"

Defined in: identity/IdentityConnect.tsx:430

Size variant


title?

optional title?: string

Defined in: identity/IdentityConnect.tsx:428

Custom title