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
AttributeSource
from the IdP response
-
getUser
- Returns:
- an
Optional
containing theWebAuthUser
if 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
ImmutableCollection
of the user's currentSecurity Level Grants
-