Skip to main content
Skip table of contents

SessionModel

Access to data defined within session context.

implements: hash
bundle: online channel standard (oc)
since 4.10.0
Access to data defined within session context.

This model is made accessible by the OCFreemarkerExtensionService with the global access path 'cs.session'.

Defined hash keys

cs.session.authProviders ↦ sequence<AuthProviderModel>
since 4.10.0
Returns a list of available authentication providers.

cs.session.isAttributesAvailable ↦ Boolean
since 2018.2.0
Returns true if attributes cookie is available

cs.session.isLoggedIn ↦ Boolean
since 4.10.0
Returns if current request is from logged in user

cs.session.isLoginAvailable ↦ Boolean
since 2018.2.0
Returns true if login is available

cs.session.isRememberAvailable ↦ Boolean
since 2018.2.0
Returns true if remember is available

cs.session.isSecureAttributesAvailable ↦ Boolean
since 2018.2.0
Returns true if attributes cookie is available

cs.session.partyAssetPersonModel
since 4.10.0
Returns the person asset of logged in user

cs.session.provider ↦ String
since 2019.2.2
Returns id of used login provider if available

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.