public interface DeviceCodeRepository
Modifier and Type | Method and Description |
---|---|
DeviceCode |
getByDeviceCode(String deviceCode) |
DeviceCode |
getById(Long id) |
DeviceCode |
getByUserCode(String userCode) |
Collection<DeviceCode> |
getExpiredCodes() |
void |
remove(DeviceCode scope) |
DeviceCode |
save(DeviceCode scope) |
DeviceCode getById(Long id)
id
- DeviceCode getByDeviceCode(String deviceCode)
deviceCode
- void remove(DeviceCode scope)
scope
- DeviceCode save(DeviceCode scope)
scope
- DeviceCode getByUserCode(String userCode)
userCode
- Collection<DeviceCode> getExpiredCodes()
Copyright © 2018. All rights reserved.