public interface AuthenticatedUserInfoProvider extends Feature
AuthenticatedUserInfoProvider
is capable to extract a UserInfo
from a user claim string.Modifier and Type | Field and Description |
---|---|
static AuthenticatedUserInfoProvider |
INSTANCE
Gives access to the active
AuthenticatedUserInfoProvider |
Modifier and Type | Method and Description |
---|---|
UserInfo |
extract(String authenticatedUserClaim)
Extracts the
UserInfo from the user claim. |
getFeatureName, isActiveFeature
static final AuthenticatedUserInfoProvider INSTANCE
AuthenticatedUserInfoProvider
UserInfo extract(String authenticatedUserClaim) throws IllegalArgumentException
UserInfo
from the user claim.authenticatedUserClaim
- The claim of an authenticated user.UserInfo
instance representing the userIllegalArgumentException
- In case the claim could not be parsed correctlyCopyright © 2020. All rights reserved.