Class UserPreferenceRequestContext
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.preferences.UserPreferenceRequestContext
Provider context bound to the signed-in user.
-
Constructor Summary
ConstructorsConstructorDescriptionUserPreferenceRequestContext(UserPreferenceSectionMetaData section, QSession session) Bind the provider to the authenticated session; identity is never request data. -
Method Summary
Modifier and TypeMethodDescriptionGet the section.Get the original session, including its client channel.Prefer the OAuth frontend user email, then an email-shaped session identity.Get the identity from the session user only.
-
Constructor Details
-
UserPreferenceRequestContext
Bind the provider to the authenticated session; identity is never request data.
-
-
Method Details
-
getSection
Get the section. -
getSession
Get the original session, including its client channel. -
getUserId
Get the identity from the session user only. -
getUserEmailAddress
Prefer the OAuth frontend user email, then an email-shaped session identity. Neither value comes from the preference request.
-