Interface QAuthenticationModuleInterface
- All Known Implementing Classes:
Auth0AuthenticationModule,FullyAnonymousAuthenticationModule,MockAuthenticationModule,OAuth2AuthenticationModule,TableBasedAuthenticationModule
public interface QAuthenticationModuleInterface
Interface that a QAuthenticationModule must implement.
-
Method Summary
Modifier and TypeMethodDescriptiondefault QSessioncreateAutomatedSessionForUser(QInstance qInstance, Serializable userId) createSession(QInstance qInstance, Map<String, String> context) default StringgetLoginRedirectUrl(String originalUrl) booleanisSessionValid(QInstance instance, QSession session) default boolean
-
Method Details
-
createSession
QSession createSession(QInstance qInstance, Map<String, String> context) throws QAuthenticationException- Throws:
QAuthenticationException
-
isSessionValid
-
createAutomatedSessionForUser
default QSession createAutomatedSessionForUser(QInstance qInstance, Serializable userId) throws QAuthenticationException - Throws:
QAuthenticationException
-
usesSessionIdCookie
default boolean usesSessionIdCookie() -
getLoginRedirectUrl
- Throws:
QAuthenticationException
-