Authentication methods
Authentication methods
Methods per authentication type
Method
OAUTH2
TOKEN
LOGIN_PASSWORD
NO_AUTH
onCreateOAuthRedirectUrl
onCreateOAuthRedirectUrlprotected onCreateOAuthRedirectUrl(
request: CreateOAuthRedirectUrlRequest
): Promise<CreateOAuthRedirectUrlPluginResponse>Input: CreateOAuthRedirectUrlRequest
CreateOAuthRedirectUrlRequestField
Type
Description
Return: CreateOAuthRedirectUrlPluginResponse
CreateOAuthRedirectUrlPluginResponseField
Type
Description
Code example
onAuthentication
onAuthenticationInput: ExternalSegmentAuthenticationRequest
ExternalSegmentAuthenticationRequestField
Type
Description
Return: ExternalSegmentAuthenticationResponse
ExternalSegmentAuthenticationResponseField
Type
Description
FeedDestinationCredentials structure
FeedDestinationCredentials structureCode example - OAuth2
Code example - Token
onTestAuthentication
onTestAuthenticationInput: TestAuthenticationRequest
TestAuthenticationRequestField
Type
Description
Input: credentials
credentialsReturn: TestAuthenticationPluginResponse
TestAuthenticationPluginResponseCode example
onLogout
onLogoutInput: ExternalSegmentLogoutRequest
ExternalSegmentLogoutRequestField
Type
Description
Return: ExternalSegmentLogoutResponse
ExternalSegmentLogoutResponseField
Type
Description
Code example
SDK helper methods
fetchFeedDestinationCredentials
fetchFeedDestinationCredentialsfetchFeedDestinationCredentialsOptional
fetchFeedDestinationCredentialsOptionalupsertFeedDestinationCredentials
upsertFeedDestinationCredentialsNote on instanceContextBuilder
instanceContextBuilderLast updated
Was this helpful?