onsuccess : Callback method to invoke when the account page is shown
onerror[optional][nullable] : Callback method to invoke if an error has occurred. It provides the status, error name, and error message.
SecurityError, if the application does not have the privilege to call this method
Exceptions :
WebAPIException
with error type TypeMismatchError, if an input parameter is not compatible with its expected type.
with error type NotSupportedError, if this feature is not supported.
with error type InvalidValuesError, if any input parameter contains an invalid value.
with error type UnknownError, for any other error.
Since : 2.3
Code Example :
var onsuccess = function(result) {
console.log('success : ' + JSON.stringify(result));
};
var onerror = function (error) {
console.log('error : ' + error);
};
webapis.sso.showAccountView("Facebook", onsuccess, onerror);
with error type TypeMismatchError, if an input parameter is not compatible with its expected type.
with error type NotSupportedError, if this feature is not supported.
with error type InvalidValuesError, if any input parameter contains an invalid value.
with error type SecurityError, if the application does not have the privilege to call this method.
with error type UnknownError, for any other error.
Since : 2.3
Code Example :
var result = webapis.sso.getVersion();
getLoginUid
Retrieves the UID.
The UID is considered personally-identifying information and must be handled according to the privacy regulations for each country.
It must not be used for any purpose other than as an input parameter for the Samsung Checkout API.
Whenever the UID value is sent outside the device, a secure protocol, such as HTTPS, must be used.
onsuccess : Callback method to invoke when the CreateAccountPage was closed. User can get number data(0).
onerror[optional][nullable] : Callback method to invoke if an error has occurred. It provides the status, error name, and error message.
SecurityError, if the application does not have the privilege to call this method.
Exceptions :
WebAPIException
with error type TypeMismatchError, if an input parameter is not compatible with its expected type.
with error type NotSupportedError, if this feature is not supported.
with error type InvalidValuesError, if any input parameter contains an invalid value.
with error type UnknownError, for any other error.
Since : 2.3
Code Example :
var onsuccess = function(result) {
console.log('success : ' + result);
};
var onerror = function (error) {
console.log('error : ' + error);
};
webapis.sso.showCreateAccountView(onsuccess, onerror);
We use cookies to improve your experience on our website and to show you relevant
advertising. Manage you settings for our cookies below.
Essential Cookies
These cookies are essential as they enable you to move around the website. This
category cannot be disabled.
Company
Domain
Samsung Electronics
.samsungdeveloperconference.com
Analytical/Performance Cookies
These cookies collect information about how you use our website. for example which
pages you visit most often. All information these cookies collect is used to improve
how the website works.
Company
Domain
LinkedIn
.linkedin.com
Meta (formerly Facebook)
.samsungdeveloperconference.com
Google Inc.
.samsungdeveloperconference.com
Functionality Cookies
These cookies allow our website to remember choices you make (such as your user name, language or the region your are in) and
tailor the website to provide enhanced features and content for you.
Company
Domain
LinkedIn
.ads.linkedin.com, .linkedin.com
Advertising Cookies
These cookies gather information about your browser habits. They remember that
you've visited our website and share this information with other organizations such
as advertisers.
Company
Domain
LinkedIn
.linkedin.com
Meta (formerly Facebook)
.samsungdeveloperconference.com
Google Inc.
.samsungdeveloperconference.com
Preferences Submitted
You have successfully updated your cookie preferences.