Class TailormapOidcUser

java.lang.Object
org.springframework.security.oauth2.core.user.DefaultOAuth2User
org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser
org.tailormap.api.security.TailormapOidcUser
All Implemented Interfaces:
Serializable, org.springframework.security.core.AuthenticatedPrincipal, org.springframework.security.core.userdetails.UserDetails, org.springframework.security.oauth2.core.ClaimAccessor, org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal, org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor, org.springframework.security.oauth2.core.oidc.StandardClaimAccessor, org.springframework.security.oauth2.core.oidc.user.OidcUser, org.springframework.security.oauth2.core.user.OAuth2User, TailormapUserDetails

public class TailormapOidcUser extends org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser implements TailormapUserDetails
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    TailormapOidcUser(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, org.springframework.security.oauth2.core.oidc.OidcIdToken idToken, org.springframework.security.oauth2.core.oidc.OidcUserInfo userInfo, String nameAttributeKey, String oidcRegistrationName, Collection<TailormapAdditionalProperty> additionalGroupProperties)
     
  • Method Summary

    Methods inherited from class org.springframework.security.oauth2.core.oidc.user.DefaultOidcUser

    getClaims, getIdToken, getUserInfo

    Methods inherited from class org.springframework.security.oauth2.core.user.DefaultOAuth2User

    equals, getAttributes, getAuthorities, getName, hashCode, toString

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.springframework.security.core.AuthenticatedPrincipal

    getName

    Methods inherited from interface org.springframework.security.oauth2.core.ClaimAccessor

    getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, hasClaim

    Methods inherited from interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor

    getAccessTokenHash, getAudience, getAuthenticatedAt, getAuthenticationContextClass, getAuthenticationMethods, getAuthorizationCodeHash, getAuthorizedParty, getExpiresAt, getIssuedAt, getIssuer, getNonce, getSubject

    Methods inherited from interface org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal

    getAttribute, getAttributes, getAuthorities

    Methods inherited from interface org.springframework.security.oauth2.core.oidc.StandardClaimAccessor

    getAddress, getBirthdate, getEmail, getEmailVerified, getFamilyName, getFullName, getGender, getGivenName, getLocale, getMiddleName, getNickName, getPhoneNumber, getPhoneNumberVerified, getPicture, getPreferredUsername, getProfile, getUpdatedAt, getWebsite, getZoneInfo

    Methods inherited from interface org.springframework.security.core.userdetails.UserDetails

    getAuthorities, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
  • Constructor Details

    • TailormapOidcUser

      public TailormapOidcUser(Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, org.springframework.security.oauth2.core.oidc.OidcIdToken idToken, org.springframework.security.oauth2.core.oidc.OidcUserInfo userInfo, String nameAttributeKey, String oidcRegistrationName, Collection<TailormapAdditionalProperty> additionalGroupProperties)
  • Method Details