Skip to main content

ExternalProvider

Properties​

NameTypeDescriptionNotes
typeExternalProviderTypeEnum
userIdkotlin.StringThis is the user_id within the provider.
createdGroupedTimestamp
updatedGroupedTimestamp
schemaEmbeddedModelSchema[optional]
accessTokenkotlin.StringThis is optional here, but will be present for BB, Github, and google.[optional]
expiresInkotlin.IntSome providers have an expiration on their access token. IE BB, Google, NOT Github.[optional]
profileDataExternalProviderProfileData[optional]
connectionkotlin.StringThis is an optional field that will be provided onentreprise connections. ie is type == waad then connection might be PiecesApp. However is other cases,you my find your provider and connection is the exact same string. To decifer between the two, you can use the isSocial bool.[optional]
isSocialkotlin.Boolean[optional]