Show TOC

getConfiguration( onsuccess, onerror, key ) methodLocate this document in the navigation structure

Get an (JSON serializable) configuration object from the logon based on configuration type.


<static> getConfiguration( onsuccess, onerror, key )

Name Type Description
<onsuccess> sap.Logon~getSuccessCallback The function that is invoked upon success.It is called with the resulting object as a single parameter. This can be null or undefined, if no object is defined for the given type.
<onerror> sap.Logon~errorCallback The function to invoke in case of error.
<key> string The type for the configuration.Currently only valid type is 'authentication', the returned configuration data can be used by authproxy plugin's sendReqeust2 method
var errorCallback = function(errorInfo){
    alert("Error: " + JSON.stringify(errorInfo));
var getSuccess = function(value){
    alert("value retrieved from the store: " + JSON.stringify(value));