Skip to content

kevinsawicki/eclipse-oauth2

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

eclipse-oauth2

Simple plug-in to get an OAuth2 access token for a given site using the Eclipse browser widget in a dialog.

Example

OAuth2Client client = new OAuth2Client();
client.setId("00000000000000000000"); // client_id
client.setSecret("0000000000000000000000000000000000000000"); // client_secret
client.setAccessTokenUrl("https://github.com/login/oauth/access_token");
client.setAuthorizeUrl("https://github.com/login/oauth/authorize");

//Opens the dialog
OAuth2RequestAction request = new OAuth2RequestAction(client, "repo");
request.run();

String token = request.getAccessToken(); // access_token

About

Eclipse plug-in to get an OAuth2 access token

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages