KSC Open API
Kaspersky Security Center API description
AdfsSso::CreateNonceAndStateForUserSession ( wstring  wstrUserSessionId,
[out] wstring  wstrNonce,
[out] wstring  wstrState 
)

Generate new Nonce and State claims for id_token.

Parameters:
wstrUserSessionId(wstring) Unique string that identifies the caller user session.
wstrNonce(wstring) Output string that contains the 'Nonce' value of the id_token claim.
wstrState(wstring) Output string that contains the 'State' value of the id_token claim.
Exceptions:
Throwsexception in case of error.