Interface OA2TStoreInterface<V extends OA2ServiceTransaction>
-
- All Superinterfaces:
Map<edu.uiuc.ncsa.security.core.Identifier,V>,RefreshTokenStore<V>,RFC8628Store<V>,edu.uiuc.ncsa.security.core.Store<V>,TransactionStore<V>,UsernameFindable<V>
- All Known Implementing Classes:
OA2FSTStore,OA2MTStore,OA2SQLTStore
public interface OA2TStoreInterface<V extends OA2ServiceTransaction> extends edu.uiuc.ncsa.security.core.Store<V>, TransactionStore<V>, RFC8628Store<V>, RefreshTokenStore<V>, UsernameFindable<V>
Created by Jeff Gaynor
on 3/16/22 at 6:58 AM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vget(AccessTokenImpl accessToken, edu.uiuc.ncsa.security.core.Identifier clientID)Vget(RefreshToken refreshToken)List<edu.uiuc.ncsa.security.core.Identifier>getAllClientID()List<edu.uiuc.ncsa.security.core.Identifier>getByClientID(edu.uiuc.ncsa.security.core.Identifier clientID)VgetByIDTokenID(edu.uiuc.ncsa.security.core.Identifier proxyID)Get a transaction by its ID token identifier.VgetByProxyID(edu.uiuc.ncsa.security.core.Identifier proxyID)VgetByUserCode(String userCode)List<V>getByUsername(String username)List<RFC8628State>getPending()TokenInfoRecordMapgetTokenInfo(String username)booleanhasUserCode(String userCode)-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from interface org.oa4mp.server.loader.oauth2.storage.RefreshTokenStore
get
-
Methods inherited from interface edu.uiuc.ncsa.security.core.Store
create, getAll, getMostRecent, getXMLConverter, register, remove, removeByID, save, search, search, search, search, size, update, update
-
Methods inherited from interface org.oa4mp.delegation.common.storage.TransactionStore
get, get, getMapConverter
-
-
-
-
Method Detail
-
get
V get(RefreshToken refreshToken)
- Specified by:
getin interfaceRefreshTokenStore<V extends OA2ServiceTransaction>
-
get
V get(AccessTokenImpl accessToken, edu.uiuc.ncsa.security.core.Identifier clientID)
-
getByUsername
List<V> getByUsername(String username)
- Specified by:
getByUsernamein interfaceUsernameFindable<V extends OA2ServiceTransaction>
-
getTokenInfo
TokenInfoRecordMap getTokenInfo(String username)
-
getPending
List<RFC8628State> getPending()
- Specified by:
getPendingin interfaceRFC8628Store<V extends OA2ServiceTransaction>
-
getByProxyID
V getByProxyID(edu.uiuc.ncsa.security.core.Identifier proxyID)
- Specified by:
getByProxyIDin interfaceTransactionStore<V extends OA2ServiceTransaction>
-
getByUserCode
V getByUserCode(String userCode)
- Specified by:
getByUserCodein interfaceRFC8628Store<V extends OA2ServiceTransaction>
-
hasUserCode
boolean hasUserCode(String userCode)
- Specified by:
hasUserCodein interfaceRFC8628Store<V extends OA2ServiceTransaction>
-
getByClientID
List<edu.uiuc.ncsa.security.core.Identifier> getByClientID(edu.uiuc.ncsa.security.core.Identifier clientID)
-
getAllClientID
List<edu.uiuc.ncsa.security.core.Identifier> getAllClientID()
-
getByIDTokenID
V getByIDTokenID(edu.uiuc.ncsa.security.core.Identifier proxyID)
Get a transaction by its ID token identifier. Note that to get the token itself, you must useOA2ServiceTransaction.getUserMetaData().- Parameters:
proxyID-- Returns:
-
-