Interface IUserTokenHandler
-
- All Superinterfaces:
IAPIHandler
,IGenericHandler
,Serializable
- All Known Implementing Classes:
UserTokenHandler
public interface IUserTokenHandler extends IGenericHandler
Handler forUserRefreshToken
entities- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserRefreshToken
createRefreshToken(UserContext uc, String userProfileId, String issuer, IClientDescriptor clientDescriptor)
TokenConfiguration
getTokenConfiguration(UserContext uc)
List<UserRefreshToken>
getUserRefreshTokens(UserContext uc, IUser user)
boolean
removeRefreshToken(UserContext uc, UserRefreshToken token)
boolean
removeRefreshToken(UserContext uc, String refreshToken, IClientDescriptor clientDescriptor)
UserRefreshToken
updateRefreshToken(UserContext uc, String refreshToken, IClientDescriptor clientDescriptor)
-
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
-
Methods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
-
-
-
Method Detail
-
getTokenConfiguration
TokenConfiguration getTokenConfiguration(UserContext uc)
-
updateRefreshToken
UserRefreshToken updateRefreshToken(UserContext uc, String refreshToken, IClientDescriptor clientDescriptor) throws InvalidTokenException, UnknownTokenException
-
createRefreshToken
UserRefreshToken createRefreshToken(UserContext uc, String userProfileId, String issuer, IClientDescriptor clientDescriptor) throws TokenCreateException
- Throws:
TokenCreateException
-
removeRefreshToken
boolean removeRefreshToken(UserContext uc, String refreshToken, IClientDescriptor clientDescriptor)
-
removeRefreshToken
boolean removeRefreshToken(UserContext uc, UserRefreshToken token)
-
getUserRefreshTokens
List<UserRefreshToken> getUserRefreshTokens(UserContext uc, IUser user)
-
-