Class OAuthServiceDaoImpl
java.lang.Object
com.peterphi.std.guice.hibernate.dao.HibernateDao<OAuthServiceEntity,String>
com.peterphi.usermanager.db.dao.hibernate.OAuthServiceDaoImpl
- All Implemented Interfaces:
Dao<OAuthServiceEntity,
String>
-
Field Summary
Fields inherited from class com.peterphi.std.guice.hibernate.dao.HibernateDao
clazz, isLargeTable, searchExecutor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetByAccessKey
(String key) getByClientIdAndEndpoint
(String id, String redirectUri) getByClientIdAndSecretAndEndpoint
(String id, String secret, String redirectUri) getByClientIdAndSecretOnly
(String id, String secret) void
Methods inherited from class com.peterphi.std.guice.hibernate.dao.HibernateDao
count, createCriteria, createCriteriaQuery, createCriteriaQuery, createQueryBuilder, createReadQuery, createWriteQuery, delete, deleteById, find, find, find, findByUriQuery, findIds, findIdsByUriQuery, getAll, getById, getByIds, getByUniqueProperty, getCriteriaBuilder, getEntityType, getIdList, getIdList, getIdList, getIds, getList, getList, getList, getListById, getListById, getQEntity, getReference, getSession, getSessionFactory, getWriteSession, idProperty, merge, save, saveOrUpdate, setTypeLiteral, uniqueResult, uniqueResult, uniqueResult, update
-
Constructor Details
-
OAuthServiceDaoImpl
public OAuthServiceDaoImpl()
-
-
Method Details
-
getByClientIdAndEndpoint
-
getByClientIdAndSecretAndEndpoint
public OAuthServiceEntity getByClientIdAndSecretAndEndpoint(String id, String secret, String redirectUri) -
getByClientIdAndSecretOnly
-
rotateUserAccessKey
-
getByAccessKey
-