Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
IntrospectionResultAssembler.assembleFrom(OAuth2AccessTokenEntity accessToken,
UserInfo userInfo,
Set<String> authScopes)
Assemble a token introspection result from the given access token and user info.
|
Map<String,Object> |
IntrospectionResultAssembler.assembleFrom(OAuth2RefreshTokenEntity refreshToken,
UserInfo userInfo,
Set<String> authScopes)
Assemble a token introspection result from the given refresh token and user info.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
DefaultIntrospectionResultAssembler.assembleFrom(OAuth2AccessTokenEntity accessToken,
UserInfo userInfo,
Set<String> authScopes) |
Map<String,Object> |
DefaultIntrospectionResultAssembler.assembleFrom(OAuth2RefreshTokenEntity refreshToken,
UserInfo userInfo,
Set<String> authScopes) |
Modifier and Type | Method and Description |
---|---|
protected UserInfo |
UserInfoFetcher.fromJson(com.google.gson.JsonObject userInfoJson) |
UserInfo |
UserInfoFetcher.loadUserInfo(PendingOIDCAuthenticationToken token) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.security.core.Authentication |
OIDCAuthenticationProvider.createAuthenticationToken(PendingOIDCAuthenticationToken token,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities,
UserInfo userInfo)
Override this function to return a different kind of Authentication, processes the authorities differently,
or do post-processing based on the UserInfo object.
|
Collection<? extends org.springframework.security.core.GrantedAuthority> |
NamedAdminAuthoritiesMapper.mapAuthorities(com.nimbusds.jwt.JWT idToken,
UserInfo userInfo) |
Collection<? extends org.springframework.security.core.GrantedAuthority> |
OIDCAuthoritiesMapper.mapAuthorities(com.nimbusds.jwt.JWT idToken,
UserInfo userInfo) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultUserInfo |
Modifier and Type | Method and Description |
---|---|
static UserInfo |
DefaultUserInfo.fromJson(com.google.gson.JsonObject obj)
Parse a JsonObject into a UserInfo.
|
UserInfo |
OIDCAuthenticationToken.getUserInfo() |
Constructor and Description |
---|
OIDCAuthenticationToken(String subject,
String issuer,
UserInfo userInfo,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities,
com.nimbusds.jwt.JWT idToken,
String accessTokenValue,
String refreshTokenValue)
Constructs OIDCAuthenticationToken with a full set of authorities, marking this as authenticated.
|
Modifier and Type | Method and Description |
---|---|
UserInfo |
UserInfoRepository.getByEmailAddress(String email)
Get the UserInfo object by its email field
|
UserInfo |
UserInfoRepository.getByUsername(String username)
Get a UserInfo object by its preferred_username field
|
Modifier and Type | Method and Description |
---|---|
UserInfo |
JpaUserInfoRepository.getByEmailAddress(String email)
Get a single UserInfo object by its email address
|
UserInfo |
JpaUserInfoRepository.getByUsername(String username)
Get a single UserInfo object by its username
|
Modifier and Type | Method and Description |
---|---|
UserInfo |
UserInfoService.getByEmailAddress(String email)
Get the user registered at this server with the given email address.
|
UserInfo |
UserInfoService.getByUsername(String username)
Get the UserInfo for the given username (usually maps to the
preferredUsername field).
|
UserInfo |
UserInfoService.getByUsernameAndClientId(String username,
String clientId)
Get the UserInfo for the given username (usually maps to the
preferredUsername field) and clientId.
|
Modifier and Type | Method and Description |
---|---|
String |
PairwiseIdentiferService.getIdentifier(UserInfo userInfo,
ClientDetailsEntity client)
Calcualtes the pairwise identifier for the given userinfo object and client.
|
Modifier and Type | Method and Description |
---|---|
UserInfo |
DefaultUserInfoService.getByEmailAddress(String email) |
UserInfo |
DefaultUserInfoService.getByUsername(String username) |
UserInfo |
DefaultUserInfoService.getByUsernameAndClientId(String username,
String clientId) |
Modifier and Type | Method and Description |
---|---|
String |
UUIDPairwiseIdentiferService.getIdentifier(UserInfo userInfo,
ClientDetailsEntity client) |
Modifier and Type | Method and Description |
---|---|
Collection<? extends org.springframework.security.core.GrantedAuthority> |
ExternalLoginAuthoritiesMapper.mapAuthorities(com.nimbusds.jwt.JWT idToken,
UserInfo userInfo) |
Copyright © 2018. All rights reserved.