Interface WebAuthSession

    • Method Detail

      • startup

        void startup​(@Nonnull
                     java.lang.Runnable listener)
        Start up the session. May only be called once. The given listener is called for any changes to the WebAuthSessionContext
        Parameters:
        listener - the Runnable which will be called when the WebAuthSessionContext changes
        Throws:
        java.lang.IllegalStateException - if the session was already started or shut down
      • shutdown

        void shutdown()
        Shut down the session. May only be called once after startup. The listener passed into startup(Runnable) will no longer be called when the WebAuthSessionContext changes and the listener's reference will be released.
        Throws:
        java.lang.IllegalStateException - if the session was already shut down or if it was never started
      • getIdpId

        @Nonnull
        java.util.Optional<java.lang.String> getIdpId()
        Returns:
        an Optional containing the IdP Adapter ID associated with this session or an empty Optional if the IdP Adapter ID is null