IdentityConnectProps
Agent Runtimes / identity/IdentityConnect / IdentityConnectProps
Interface: IdentityConnectProps
Defined in: identity/IdentityConnect.tsx:414
Props for IdentityConnect component
Properties
disabled?
optionaldisabled?:boolean
Defined in: identity/IdentityConnect.tsx:440
Whether all buttons are disabled
layout?
optionallayout?:"inline"|"list"|"grid"
Defined in: identity/IdentityConnect.tsx:424
Layout variant
onConnect?
optionalonConnect?: (identity) =>void
Defined in: identity/IdentityConnect.tsx:434
Callback when any identity connects
Parameters
identity
Returns
void
onDisconnect?
optionalonDisconnect?: (provider) =>void
Defined in: identity/IdentityConnect.tsx:436
Callback when any identity disconnects
Parameters
provider
Returns
void
onError?
optionalonError?: (provider,error) =>void
Defined in: identity/IdentityConnect.tsx:438
Callback when error occurs
Parameters
provider
error
Error
Returns
void
providers
providers:
object
Defined in: identity/IdentityConnect.tsx:416
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[]
showDescriptions?
optionalshowDescriptions?:boolean
Defined in: identity/IdentityConnect.tsx:432
Whether to show descriptions
showHeader?
optionalshowHeader?:boolean
Defined in: identity/IdentityConnect.tsx:426
Show title/header
size?
optionalsize?:"small"|"medium"|"large"
Defined in: identity/IdentityConnect.tsx:430
Size variant
title?
optionaltitle?:string
Defined in: identity/IdentityConnect.tsx:428
Custom title