Package org.jenkinsci.plugins
Class GithubOAuthUserDetails
java.lang.Object
org.acegisecurity.userdetails.User
org.jenkinsci.plugins.GithubOAuthUserDetails
- All Implemented Interfaces:
Serializable
,UserDetails
- Author:
- Mike
- See Also:
-
Constructor Summary
ConstructorDescriptionGithubOAuthUserDetails
(String login, GrantedAuthority[] authorities) GithubOAuthUserDetails
(String login, GithubAuthenticationToken authenticationToken) -
Method Summary
Methods inherited from class org.acegisecurity.userdetails.User
equals, getPassword, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, setAuthorities, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.acegisecurity.userdetails.UserDetails
getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, toSpring
-
Constructor Details
-
GithubOAuthUserDetails
-
GithubOAuthUserDetails
public GithubOAuthUserDetails(@NonNull String login, @NonNull GithubAuthenticationToken authenticationToken)
-
-
Method Details
-
getAuthorities
- Specified by:
getAuthorities
in interfaceUserDetails
- Overrides:
getAuthorities
in classUser
-