Package org.jenkinsci.plugins
Class GithubOAuthUserDetails
java.lang.Object
org.springframework.security.core.userdetails.User
org.jenkinsci.plugins.GithubOAuthUserDetails
- All Implemented Interfaces:
Serializable
,org.springframework.security.core.CredentialsContainer
,org.springframework.security.core.userdetails.UserDetails
public class GithubOAuthUserDetails
extends org.springframework.security.core.userdetails.User
implements org.springframework.security.core.userdetails.UserDetails
- Author:
- Mike
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.security.core.userdetails.User
org.springframework.security.core.userdetails.User.UserBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionGithubOAuthUserDetails
(String login, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) -
Method Summary
Methods inherited from class org.springframework.security.core.userdetails.User
builder, equals, eraseCredentials, getAuthorities, getPassword, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, toString, withDefaultPasswordEncoder, withUserDetails, withUsername
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.security.core.userdetails.UserDetails
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
-
Constructor Details
-
GithubOAuthUserDetails
public GithubOAuthUserDetails(@NonNull String login, @NonNull Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-