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) boolean
isSessionValid
(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:
createSession
in interfaceQAuthenticationModuleInterface
- Throws:
QAuthenticationException
-
isSessionValid
- Specified by:
isSessionValid
in interfaceQAuthenticationModuleInterface
-
getLoginRedirectUrl
- Specified by:
getLoginRedirectUrl
in interfaceQAuthenticationModuleInterface
- Throws:
QAuthenticationException
-
createAutomatedSessionForUser
public QSession createAutomatedSessionForUser(QInstance qInstance, Serializable userId) throws QAuthenticationException - Specified by:
createAutomatedSessionForUser
in interfaceQAuthenticationModuleInterface
- Throws:
QAuthenticationException
-
usesSessionIdCookie
public boolean usesSessionIdCookie()- Specified by:
usesSessionIdCookie
in interfaceQAuthenticationModuleInterface
-