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
setAuthorities
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.user.OidcUser
getClaims, getIdToken, getUserInfo
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, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled