|
|
@ -63,7 +63,6 @@ public class GatewayOAuthRegister implements DeviceRegister {
|
|
|
|
JSONObject client = provider.getClientInfo(clientId);
|
|
|
|
JSONObject client = provider.getClientInfo(clientId);
|
|
|
|
auth.put("client_moniker", client.getString("client_moniker"));
|
|
|
|
auth.put("client_moniker", client.getString("client_moniker"));
|
|
|
|
auth.put("client", client);
|
|
|
|
auth.put("client", client);
|
|
|
|
logger.debug("dev info:{}", auth.toJSONString());
|
|
|
|
|
|
|
|
return auth;
|
|
|
|
return auth;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -92,7 +91,7 @@ public class GatewayOAuthRegister implements DeviceRegister {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private String authDetailCacheKey(String authId) {
|
|
|
|
private String authDetailCacheKey(String authId) {
|
|
|
|
return prefix + ":oauth:auth_detail_cache:" + authId;
|
|
|
|
return prefix + ":oauth:auth_dev_detail_cache:" + authId;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|