Interface IUserTokenHandler
- 
- All Superinterfaces:
 IAPIHandler,IGenericHandler,Serializable
- All Known Implementing Classes:
 UserTokenHandler
public interface IUserTokenHandler extends IGenericHandler
Handler forUserRefreshTokenentities- Since:
 - 8.0.0
 - Author:
 - XIMA Media GmbH
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserRefreshTokencreateRefreshToken(UserContext uc, String userProfileId, String issuer, IClientDescriptor clientDescriptor)TokenConfigurationgetTokenConfiguration(UserContext uc)List<UserRefreshToken>getUserRefreshTokens(UserContext uc, IUser user)booleanremoveRefreshToken(UserContext uc, UserRefreshToken token)booleanremoveRefreshToken(UserContext uc, String refreshToken, IClientDescriptor clientDescriptor)UserRefreshTokenupdateRefreshToken(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)
 
 - 
 
 -