Package org.gluu.oxauth.service
Class GrantService
java.lang.Object
org.gluu.oxauth.service.GrantService
- Version:
- November 28, 2018
- Author:
- Yuriy Zabrovarnyy, Javier Rojas Blum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetCacheTokensEntries(Set<String> tokenHashes) getGrantByCode(String p_code) getGrantsByAuthorizationCode(String p_authorizationCode) getGrantsByGrantId(String p_grantId) getGrantsBySessionDn(String sessionDn) getGrantsOfClient(String p_clientId) voidvoidvoidmergeSilently(TokenLdap p_token) voidvoidvoidremove(AuthorizationGrant p_grant) voidvoidremoveAllByAuthorizationCode(String p_authorizationCode) voidremoveAllByGrantId(String p_grantId) voidremoveAllTokensBySession(String sessionDn, boolean logout) voidvoidremoveByCode(String p_code) Removes grant with particular code.voidremoveSilently(List<TokenLdap> p_entries) voidremoveSilently(TokenLdap token)
-
Constructor Details
-
GrantService
public GrantService()
-
-
Method Details
-
generateGrantId
-
buildDn
-
merge
-
mergeSilently
-
persist
-
remove
-
removeSilently
-
remove
-
removeSilently
-
remove
-
getGrantsOfClient
-
getGrantByCode
-
getGrantsByGrantId
-
getGrantsByAuthorizationCode
-
getGrantsBySessionDn
-
getCacheTokensEntries
-
logout
-
removeAllTokensBySession
-
removeByCode
Removes grant with particular code.- Parameters:
p_code- code
-
removeAuthorizationCode
-
removeAllByAuthorizationCode
-
removeAllByGrantId
-