OptionalbaseCookie base domain used as the SP_ID cookie domain fallback. Example: 'spid.no'.
OptionalclientWhether the client agreement is accepted. Example: true.
OptionalcodeResponse status code. Example: 200.
OptionaldefaultWhether the default agreement is accepted. Example: true.
OptionaldescriptionHuman-readable response description. Example: 'OK'.
OptionaldisplayUser display name. Example: 'batman'.
OptionalexpiresSession response TTL in seconds. Example: 300.
OptionalfamilyUser family name. Example: 'Wayne'.
OptionalgenderUser gender value. Example: 'male', 'female', 'undisclosed'.
OptionalgivenUser given name. Example: 'Bruce'.
OptionalidLegacy session id. Obsolete. Example: '58eca10fdbb9f6df72c3368f'.
OptionalpairPairwise user id for this client. Example: 'b2a23caa...'.
OptionalphotoUser profile photo URL. Example: 'http://www.srv.com/some/picture.jpg' .
Is the user connected to the merchant? This means the merchant id is in the list of merchants connected to this user.
OptionalsdrnUser SDRN. Example: 'sdrn:spid.no:user:12345'.
OptionalserverServer time as a Unix timestamp in seconds. Example: 1506285759.
OptionalsigExample: 'NCdzXaz4ZRb7...' The sig parameter is a concatenation of an HMAC SHA-256 signature string, a dot (.) and a base64url encoded JSON object (session). http://techdocs.spid.no/sdks/js/response-signature-and-validation/
Optionalsp_Session token used for the SP_ID cookie. Example: 'eyJjbGllbnRfaWQ...'.
OptionaltrackingWhether tracking is enabled for this session. Example: true.
OptionaltypeResponse type. Example: 'OK'.
OptionaluserA numeric user id which is unique per realm (country). Example: 37162
OptionaluserConnection status string. Deprecated; use Account.isConnected(). Example: 'connected'.
OptionaluuidGlobally unique user id. Example: 'b3b23aa7-34f2-5d02-a10e-5a3455c6ab2c'
Successful response returned from Account#hasSession.
resultmeans the has-session call itself succeeded.result: truemeans the user is connected to the merchant;result: falsemeans a session may exist, but the user is not connected to this client.