Version 2021
openBadgeSession
Opens a session with Identity Server that a user can log in to.
Web applications are "stateless" in nature, but for the login process to function properly, the UsherSessionInformation
must be persisted (serialized) at the initial login request time and restored (deserialized) to verify whether a user logged on.
Returns
Depending on the needImage
parameter, the QR code is returned as an image in base64-encoded .png
format (TRUE) or as a string (FALSE).
Method signature
public UsherSessionInformation openBadgeSession(boolean needImage);