Package com.google.gdata.client

Examples of com.google.gdata.client.GoogleAuthTokenFactory


     */
    public void authenticate(GLoginData data) throws AuthenticationException {
        if (data.isDevMode()) {
            return;
        }
        GoogleAuthTokenFactory factory =
            new GoogleAuthTokenFactory("ah", data.getClientName(), null);
        String token = factory.getAuthToken(
            data.getUserName(),
            data.getPassword(),
            null, null, "ah", data.getClientName());
        data.setAuthenticationToken(token);      
    }
View Full Code Here

TOP

Related Classes of com.google.gdata.client.GoogleAuthTokenFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.