Package io.jmix.oidc.user
Interface JmixOidcUser
- All Superinterfaces:
AcceptsGrantedAuthorities,org.springframework.security.core.AuthenticatedPrincipal,org.springframework.security.oauth2.core.ClaimAccessor,org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor,JmixUserDetails,org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal,org.springframework.security.oauth2.core.user.OAuth2User,org.springframework.security.oauth2.core.oidc.user.OidcUser,Serializable,org.springframework.security.oauth2.core.oidc.StandardClaimAccessor,org.springframework.security.core.userdetails.UserDetails
- All Known Implementing Classes:
DefaultJmixOidcUser,JmixOidcUserEntity
public interface JmixOidcUser
extends org.springframework.security.oauth2.core.oidc.user.OidcUser, JmixUserDetails
An interface to be implemented by a user Principal that is registered with an OpenID Connect 1.0 Provider. The
interface extends
UserDetails because Jmix framework requires the user principal put to the SecurityContext to implement it. Implementations of OidcUserMapper
must return instances of this interface.- See Also:
-
Method Summary
Methods inherited from interface io.jmix.security.authentication.AcceptsGrantedAuthorities
setAuthoritiesMethods inherited from interface org.springframework.security.core.AuthenticatedPrincipal
getNameMethods inherited from interface org.springframework.security.oauth2.core.ClaimAccessor
containsClaim, getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, hasClaimMethods inherited from interface org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor
getAccessTokenHash, getAudience, getAuthenticatedAt, getAuthenticationContextClass, getAuthenticationMethods, getAuthorizationCodeHash, getAuthorizedParty, getExpiresAt, getIssuedAt, getIssuer, getNonce, getSubjectMethods inherited from interface org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal
getAttribute, getAttributes, getAuthoritiesMethods inherited from interface org.springframework.security.oauth2.core.oidc.user.OidcUser
getClaims, getIdToken, getUserInfoMethods 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, getZoneInfoMethods inherited from interface org.springframework.security.core.userdetails.UserDetails
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled