Interface WebAuthSessionContext
public interface WebAuthSessionContext
A WebAuthSessionContext provides information about the
WebAuthUser and the Security Levels granted
in the WebAuthSession-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableCollection<SecurityLevelConfig>getUser()
-
Method Details
-
getAttributeSource
- Returns:
- the
AttributeSourcefrom the IdP response
-
getUser
- Returns:
- an
Optionalcontaining theWebAuthUserif the user has authenticated from a federated IdP or an empty Optional if the user has not yet successfully authenticated
-
getSecurityLevelGrants
@Nonnull com.google.common.collect.ImmutableCollection<SecurityLevelConfig> getSecurityLevelGrants()- Returns:
- an
ImmutableCollectionof the user's currentSecurity Level Grants
-