Skip to main content

AgentIdentityProps

Agent Runtimes


Agent Runtimes / components/identity/AgentIdentity / AgentIdentityProps

Interface: AgentIdentityProps

Defined in: identity/AgentIdentity.tsx:491

Props for AgentIdentity component

Properties

allowReconnect?

optional allowReconnect?: boolean

Defined in: identity/AgentIdentity.tsx:511

Allow reconnection


description?

optional description?: string

Defined in: identity/AgentIdentity.tsx:507

Description text


onConnect?

optional onConnect?: (identity) => void

Defined in: identity/AgentIdentity.tsx:513

Callback when identity connects

Parameters

identity

Identity

Returns

void


onDisconnect?

optional onDisconnect?: (provider) => void

Defined in: identity/AgentIdentity.tsx:515

Callback when identity disconnects

Parameters

provider

OAuthProvider

Returns

void


onError?

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

Defined in: identity/AgentIdentity.tsx:517

Callback on error

Parameters

provider

OAuthProvider

error

Error

Returns

void


providers?

optional providers?: object

Defined in: identity/AgentIdentity.tsx:493

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[]


showDescription?

optional showDescription?: boolean

Defined in: identity/AgentIdentity.tsx:505

Show description


showExpirationDetails?

optional showExpirationDetails?: boolean

Defined in: identity/AgentIdentity.tsx:509

Show expiration details


showHeader?

optional showHeader?: boolean

Defined in: identity/AgentIdentity.tsx:503

Show header


title?

optional title?: string

Defined in: identity/AgentIdentity.tsx:501

Title for the section