parent
d9bad2bc9d
commit
223b126de5
|
@ -19,7 +19,6 @@ import org.springframework.security.core.AuthenticatedPrincipal;
|
||||||
import org.springframework.security.core.Authentication;
|
import org.springframework.security.core.Authentication;
|
||||||
import org.springframework.security.core.GrantedAuthority;
|
import org.springframework.security.core.GrantedAuthority;
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
@ -47,7 +46,7 @@ import java.util.Map;
|
||||||
* @see DefaultOAuth2User
|
* @see DefaultOAuth2User
|
||||||
* @see AuthenticatedPrincipal
|
* @see AuthenticatedPrincipal
|
||||||
*/
|
*/
|
||||||
public interface OAuth2User extends AuthenticatedPrincipal, Serializable {
|
public interface OAuth2User extends AuthenticatedPrincipal {
|
||||||
|
|
||||||
Collection<? extends GrantedAuthority> getAuthorities();
|
Collection<? extends GrantedAuthority> getAuthorities();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue