All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.shmin.auth.client.impl.ClientManager Maven / Gradle / Ivy

There is a newer version: 2.3.1-RELEASE
Show newest version
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) {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy