IdentityMenuProps
Agent Runtimes / identity/IdentityConnect / IdentityMenuProps
Interface: IdentityMenuProps
Defined in: identity/IdentityConnect.tsx:618
Props for IdentityMenu component
Properties
disabled?
optionaldisabled?:boolean
Defined in: identity/IdentityConnect.tsx:632
Whether the menu is disabled
onConnect?
optionalonConnect?: (identity) =>void
Defined in: identity/IdentityConnect.tsx:628
Callback when any identity connects
Parameters
identity
Returns
void
onDisconnect?
optionalonDisconnect?: (provider) =>void
Defined in: identity/IdentityConnect.tsx:630
Callback when any identity disconnects
Parameters
provider
Returns
void
providers
providers:
object
Defined in: identity/IdentityConnect.tsx:620
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[]