Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface ISimpleSignInService

interface ISimpleSignInService
Extends com.amazon.apmf.IStandard Amazon Simple Sign-In APIs to create and use 3P app account link with Amazon for seamless sign in experience to apps.

Methods

registerResponseListener()

void registerResponseListener(ISimpleSignInResponseListener* responseListener)
Registers the response listener to receive callback for other SDK APIs. This method should be invoked before calling any other API/method in the service.

Parameters

responseListener
ISimpleSignInResponseListener* — Required to be used for triggering the response callback.

Throws


string getUserAndLinks(string identityProviderName)
Method exposed for the getUserAndLinks API. Initiates a request to retrieve the link data available at Amazon of the currently logged-in Amazon user. When the response is available, callback method onGetUserAndLinksResponse is invoked.

Parameters

identityProviderName
string — Required IDP name used by the app

Returns

string unique request id generated for the request

Throws


linkUserAccount()

string linkUserAccount(LinkUserAccountRequest* request)
Method exposed for the linkUserAccount API. Initiates a request to link the user’s 3P account with Amazon account. When the response is available, callback method onLinkUserAccountResponse is invoked

Parameters

request
LinkUserAccountRequest* — Required object to link user’s 3p account with Amazon account

Returns

string unique request id generated for the request

Throws


showLoginSelection()

string showLoginSelection(LoginName[] loginNames)
Method exposed for the showLoginSelection API. Initiates a request to show list of links available and allow the user to choose from. When the user makes a selection, callback method onShowLoginSelectionResponse is invoked

Parameters

loginNames
LoginName[] — Required map contains the user recognisable identifier and corresponding linkId

Returns

string unique request id generated for the request

Throws


recordMetricEvent()

string recordMetricEvent(SSIEventRequest* request)
This API will be triggered in the case of any event that needs to be recorded for metric publishing. Before calling this API, you should register the app context and response listener implementation by calling

Parameters

request
SSIEventRequest* — Required object for recordMetricEvent API

Returns

string unique request id generated for the request

Throws


Last modified on October 29, 2026