net.shmin.auth.client.impl.ClientManager Maven / Gradle / Ivy
package net.shmin.auth.client.impl;
import net.shmin.auth.client.IClientManager;
/**
* Created by benjamin on 9/15/14.
*/
public class ClientManager implements IClientManager {
@Override
public void registClient(String client) {
}
@Override
public boolean checkClientId(String client) {
if (client == null || client.isEmpty()) {
return false;
} else {
//TODO check clientId
return client.equals("12345");
}
}
@Override
public void revokeClientId(String client) {
}
}