Class OAuth2AuthenticationModule
java.lang.Object
com.kingsrook.qqq.backend.core.modules.authentication.implementations.OAuth2AuthenticationModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAutomatedSessionForUser(QInstance qInstance, Serializable userId) createSession(QInstance qInstance, Map<String, String> context) getLoginRedirectUrl(String originalUrl) booleanisSessionValid(QInstance instance, QSession session) boolean
-
Constructor Details
-
OAuth2AuthenticationModule
public OAuth2AuthenticationModule()
-
-
Method Details
-
createSession
public QSession createSession(QInstance qInstance, Map<String, String> context) throws QAuthenticationException- Specified by:
createSessionin interfaceQAuthenticationModuleInterface- Throws:
QAuthenticationException
-
isSessionValid
- Specified by:
isSessionValidin interfaceQAuthenticationModuleInterface
-
getLoginRedirectUrl
- Specified by:
getLoginRedirectUrlin interfaceQAuthenticationModuleInterface- Throws:
QAuthenticationException
-
createAutomatedSessionForUser
public QSession createAutomatedSessionForUser(QInstance qInstance, Serializable userId) throws QAuthenticationException - Specified by:
createAutomatedSessionForUserin interfaceQAuthenticationModuleInterface- Throws:
QAuthenticationException
-
usesSessionIdCookie
public boolean usesSessionIdCookie()- Specified by:
usesSessionIdCookiein interfaceQAuthenticationModuleInterface
-