インターフェース OidcUser
- すべてのスーパーインターフェース:
AuthenticatedPrincipal
、ClaimAccessor
、IdTokenClaimAccessor
、OAuth2AuthenticatedPrincipal
、OAuth2User
、StandardClaimAccessor
- すべての既知の実装クラス:
DefaultOidcUser
OpenID Connect 1.0 プロバイダーに登録されているユーザー
Principal
の表現。OidcUser
には「クレーム」が含まれています。エンドユーザーの認証について。クレームは、OidcIdToken
および OidcUserInfo
(使用可能な場合)から集約されます。
このインターフェースの実装インスタンスは、Authentication
オブジェクトに関連付けられ、Authentication.getPrincipal()
を介してアクセスできる AuthenticatedPrincipal
を表します。
メソッドのサマリー
インターフェース org.springframework.security.core.AuthenticatedPrincipal から継承されたメソッド
getName
インターフェース org.springframework.security.oauth2.core.ClaimAccessor から継承されたメソッド
getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, hasClaim
インターフェース org.springframework.security.oauth2.core.oidc.IdTokenClaimAccessor から継承されたメソッド
getAccessTokenHash, getAudience, getAuthenticatedAt, getAuthenticationContextClass, getAuthenticationMethods, getAuthorizationCodeHash, getAuthorizedParty, getExpiresAt, getIssuedAt, getIssuer, getNonce, getSubject
インターフェース org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal から継承されたメソッド
getAttribute, getAttributes, getAuthorities
インターフェース 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
メソッドの詳細
getClaims
ユーザーに関するクレームを返します。クレームは、getIdToken()
およびgetUserInfo()
(使用可能な場合)から集約されます。- 次で指定:
- インターフェース
ClaimAccessor
のgetClaims
- 戻り値:
- ユーザーに関するクレームの
Map
getUserInfo
OidcUserInfo getUserInfo()ユーザーに関するクレームを含むUserInfo
を返します。- 戻り値:
- ユーザーに関するクレームを含む
OidcUserInfo
getIdToken
OidcIdToken getIdToken()ユーザーに関するクレームを含むID Token
を返します。- 戻り値:
- ユーザーに関するクレームを含む
OidcIdToken