Class AbstractPromptReceiver

  • All Implemented Interfaces:
    VerificationCodeReceiver

    public abstract class AbstractPromptReceiver
    extends java.lang.Object
    implements VerificationCodeReceiver
    OAuth 2.0 abstract verification code receiver that prompts user to paste the code copied from the browser.

    Implementation is thread-safe.

    Since:
    1.11
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void stop()
      Releases any resources and stops any processes started.
      java.lang.String waitForCode()
      Waits for a verification code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait