Class ArgosOAuth2User

  • All Implemented Interfaces:
    org.springframework.security.core.AuthenticatedPrincipal, org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal, org.springframework.security.oauth2.core.user.OAuth2User

    public class ArgosOAuth2User
    extends Object
    implements org.springframework.security.oauth2.core.user.OAuth2User
    • Constructor Detail

      • ArgosOAuth2User

        public ArgosOAuth2User​(org.springframework.security.oauth2.core.user.OAuth2User oAuth2User,
                               String accountId)
    • Method Detail

      • getAttribute

        public <A> A getAttribute​(String name)
        Specified by:
        getAttribute in interface org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal
      • getAttributes

        public Map<String,​Object> getAttributes()
        Specified by:
        getAttributes in interface org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal
      • getAuthorities

        public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
        Specified by:
        getAuthorities in interface org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal
      • getName

        public String getName()
        Specified by:
        getName in interface org.springframework.security.core.AuthenticatedPrincipal
      • getAccountId

        public String getAccountId()