|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.acegisecurity.providers.AbstractAuthenticationToken
org.jenkinsci.plugins.GithubAuthenticationToken
public class GithubAuthenticationToken
| Constructor Summary | |
|---|---|
GithubAuthenticationToken(String accessToken)
|
|
| Method Summary | |
|---|---|
Object |
getCredentials()
|
Object |
getPrincipal()
|
boolean |
hasOrganizationPermission(String candidateName,
String organization)
For some reason I can't get the github api to tell me for the current user the groups to which he belongs. |
| Methods inherited from class org.acegisecurity.providers.AbstractAuthenticationToken |
|---|
equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GithubAuthenticationToken(String accessToken)
| Method Detail |
|---|
public Object getCredentials()
public Object getPrincipal()
public boolean hasOrganizationPermission(String candidateName,
String organization)
candidateName - organization -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||