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

Generate new Nonce and State claims for id_token.

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