Interface WebAuthStrategyContext


  • public interface WebAuthStrategyContext
    Context in which a WebAuthStrategy runs
    • Method Detail

      • getName

        default java.lang.String getName()
        Returns:
        the name of the IdP associated with the web auth strategy
      • getGatewayContext

        GatewayContext getGatewayContext()
        Returns:
        the GatewayContext where the IdP associated with the web auth strategy runs
      • getTicker

        java.util.function.LongSupplier getTicker()
        A time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time. Usually equivalent to System.nanoTime(), though it could be set to something else for unit testing purposes.

        Warning: this interface can only be used to measure elapsed time, not wall time.