Package org.eclipse.orion.server.authentication.oauth.github

Examples of org.eclipse.orion.server.authentication.oauth.github.GitHubOAuthParams


  private OAuthParams getOAuthParams(HttpServletRequest req, String type, boolean login) throws OAuthException{
    if(type.equals("google")){
      oauthParams = new GoogleOAuthParams(req, login);
    }else if(type.equals("github")){
      oauthParams = new GitHubOAuthParams(req, login);
    }else{
      throw new OAuthException("No OAuth provider given");
    }
    return getOAuthParams();
  }
View Full Code Here

TOP

Related Classes of org.eclipse.orion.server.authentication.oauth.github.GitHubOAuthParams

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.