Interface WebAuthSessionContext


  • public interface WebAuthSessionContext
    A WebAuthCWebAuthSessionContext provides information about the WebAuthUser and the Security Levels granted in the WebAuthSession
    • Method Detail

      • getUser

        @Nonnull
        java.util.Optional<WebAuthUser> getUser()
        Returns:
        an Optional containing the WebAuthUser 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 current Security Level Grants