public interface DeviceCodeService
| Modifier and Type | Method and Description |
|---|---|
DeviceCode |
approveDeviceCode(DeviceCode dc,
org.springframework.security.oauth2.provider.OAuth2Authentication o2Auth) |
void |
clearDeviceCode(String deviceCode,
org.springframework.security.oauth2.provider.ClientDetails client) |
void |
clearExpiredDeviceCodes() |
DeviceCode |
createNewDeviceCode(Set<String> requestedScopes,
ClientDetailsEntity client,
Map<String,String> parameters) |
DeviceCode |
findDeviceCode(String deviceCode,
org.springframework.security.oauth2.provider.ClientDetails client) |
DeviceCode |
lookUpByUserCode(String userCode) |
DeviceCode lookUpByUserCode(String userCode)
userCode - DeviceCode approveDeviceCode(DeviceCode dc, org.springframework.security.oauth2.provider.OAuth2Authentication o2Auth)
dc - o2Auth - DeviceCode findDeviceCode(String deviceCode, org.springframework.security.oauth2.provider.ClientDetails client)
deviceCode - client - void clearDeviceCode(String deviceCode, org.springframework.security.oauth2.provider.ClientDetails client)
deviceCode - client - DeviceCode createNewDeviceCode(Set<String> requestedScopes, ClientDetailsEntity client, Map<String,String> parameters) throws DeviceCodeCreationException
deviceCode - userCode - requestedScopes - client - parameters - DeviceCodeCreationExceptionvoid clearExpiredDeviceCodes()
Copyright © 2018. All rights reserved.