@ApplicationScoped public class MemoryTokenStore extends Object implements SSOTokenStore
| Constructor and Description |
|---|
MemoryTokenStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLoginFromClient(be.atbash.ee.security.octopus.subject.UserPrincipal userPrincipal,
String cookieToken,
String userAgent,
String remoteHost,
OIDCStoreData oidcStoreData) |
List<OIDCStoreData> |
getLoggedInClients(be.atbash.ee.security.octopus.subject.UserPrincipal userPrincipal) |
OIDCStoreData |
getOIDCDataByAccessToken(String accessCode) |
OIDCStoreData |
getOIDCDataByAuthorizationCode(com.nimbusds.oauth2.sdk.AuthorizationCode authorizationCode,
com.nimbusds.oauth2.sdk.id.ClientID clientId) |
be.atbash.ee.security.octopus.subject.UserPrincipal |
getUserByAccessCode(String accessCode) |
TokenStoreInfo |
getUserByCookieToken(String cookieToken) |
void |
removeUser(be.atbash.ee.security.octopus.subject.UserPrincipal userPrincipal) |
public be.atbash.ee.security.octopus.subject.UserPrincipal getUserByAccessCode(String accessCode)
getUserByAccessCode in interface SSOTokenStorepublic OIDCStoreData getOIDCDataByAccessToken(String accessCode)
getOIDCDataByAccessToken in interface SSOTokenStorepublic TokenStoreInfo getUserByCookieToken(String cookieToken)
getUserByCookieToken in interface SSOTokenStorepublic void removeUser(be.atbash.ee.security.octopus.subject.UserPrincipal userPrincipal)
removeUser in interface SSOTokenStorepublic void addLoginFromClient(be.atbash.ee.security.octopus.subject.UserPrincipal userPrincipal, String cookieToken, String userAgent, String remoteHost, OIDCStoreData oidcStoreData)
addLoginFromClient in interface SSOTokenStorepublic OIDCStoreData getOIDCDataByAuthorizationCode(com.nimbusds.oauth2.sdk.AuthorizationCode authorizationCode, com.nimbusds.oauth2.sdk.id.ClientID clientId)
getOIDCDataByAuthorizationCode in interface SSOTokenStorepublic List<OIDCStoreData> getLoggedInClients(be.atbash.ee.security.octopus.subject.UserPrincipal userPrincipal)
getLoggedInClients in interface SSOTokenStoreCopyright © 2014–2019. All rights reserved.