| Package | Description |
|---|---|
| org.mitre.oauth2.service | |
| org.mitre.openid.connect.model | |
| org.mitre.openid.connect.repository | |
| org.mitre.openid.connect.service |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
IntrospectionResultAssembler.assembleFrom(OAuth2AccessTokenEntity accessToken,
UserInfo userInfo)
Assemble a token introspection result from the given access token and user info.
|
Map<String,Object> |
IntrospectionResultAssembler.assembleFrom(OAuth2RefreshTokenEntity refreshToken,
UserInfo userInfo)
Assemble a token introspection result from the given refresh token and user info.
|
| 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,
String idTokenValue,
String accessTokenValue,
String refreshTokenValue)
Constructs OIDCAuthenticationToken with a full set of authorities, marking this as authenticated.
|
| Modifier and Type | Method and Description |
|---|---|
UserInfo |
UserInfoRepository.getBySubject(String sub)
Returns the UserInfo for the given subject
|
UserInfo |
UserInfoRepository.getByUsername(String username)
Get a UserInfo object by its preferred_username field
|
UserInfo |
UserInfoRepository.save(UserInfo userInfo)
Persists a UserInfo
|
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends UserInfo> |
UserInfoRepository.getAll()
Return a collection of all UserInfos managed by this repository
|
| Modifier and Type | Method and Description |
|---|---|
void |
UserInfoRepository.remove(UserInfo userInfo)
Removes the given UserInfo from the repository
|
UserInfo |
UserInfoRepository.save(UserInfo userInfo)
Persists a UserInfo
|
| Modifier and Type | Method and Description |
|---|---|
UserInfo |
UserInfoService.getBySubject(String userId)
Get UserInfo for the Subject
|
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.
|
void |
UserInfoService.remove(UserInfo userInfo)
Remove the UserInfo
|
void |
UserInfoService.save(UserInfo userInfo)
Save an UserInfo
|
Copyright © 2015. All Rights Reserved.