AgentIdentityProps
Agent Runtimes / components/identity/AgentIdentity / AgentIdentityProps
Interface: AgentIdentityProps
Defined in: identity/AgentIdentity.tsx:491
Props for AgentIdentity component
Properties
allowReconnect?
optionalallowReconnect?:boolean
Defined in: identity/AgentIdentity.tsx:511
Allow reconnection
description?
optionaldescription?:string
Defined in: identity/AgentIdentity.tsx:507
Description text
onConnect?
optionalonConnect?: (identity) =>void
Defined in: identity/AgentIdentity.tsx:513
Callback when identity connects
Parameters
identity
Returns
void
onDisconnect?
optionalonDisconnect?: (provider) =>void
Defined in: identity/AgentIdentity.tsx:515
Callback when identity disconnects
Parameters
provider
Returns
void
onError?
optionalonError?: (provider,error) =>void
Defined in: identity/AgentIdentity.tsx:517
Callback on error
Parameters
provider
error
Error
Returns
void
providers?
optionalproviders?:object
Defined in: identity/AgentIdentity.tsx:493
Provider configurations with client IDs
custom?
optionalcustom?:object
custom.clientId
clientId:
string
custom.config?
optionalconfig?:Partial<OAuthProviderConfig>
custom.scopes?
optionalscopes?:string[]
github?
optionalgithub?:object
github.clientId
clientId:
string
github.config?
optionalconfig?:Partial<OAuthProviderConfig>
github.scopes?
optionalscopes?:string[]
google?
optionalgoogle?:object
google.clientId
clientId:
string
google.config?
optionalconfig?:Partial<OAuthProviderConfig>
google.scopes?
optionalscopes?:string[]
kaggle?
optionalkaggle?:object
kaggle.clientId
clientId:
string
kaggle.config?
optionalconfig?:Partial<OAuthProviderConfig>
kaggle.scopes?
optionalscopes?:string[]
linkedin?
optionallinkedin?:object
linkedin.clientId
clientId:
string
linkedin.config?
optionalconfig?:Partial<OAuthProviderConfig>
linkedin.scopes?
optionalscopes?:string[]
notion?
optionalnotion?:object
notion.clientId
clientId:
string
notion.config?
optionalconfig?:Partial<OAuthProviderConfig>
notion.scopes?
optionalscopes?:string[]
slack?
optionalslack?:object
slack.clientId
clientId:
string
slack.config?
optionalconfig?:Partial<OAuthProviderConfig>
slack.scopes?
optionalscopes?:string[]
showDescription?
optionalshowDescription?:boolean
Defined in: identity/AgentIdentity.tsx:505
Show description
showExpirationDetails?
optionalshowExpirationDetails?:boolean
Defined in: identity/AgentIdentity.tsx:509
Show expiration details
showHeader?
optionalshowHeader?:boolean
Defined in: identity/AgentIdentity.tsx:503
Show header
title?
optionaltitle?:string
Defined in: identity/AgentIdentity.tsx:501
Title for the section