Class AbstractPromptReceiver (1.34.1)

public abstract class AbstractPromptReceiver implements VerificationCodeReceiver

OAuth 2.0 abstract verification code receiver that prompts user to paste the code copied from the browser.

Implementation is thread-safe.

Inheritance

java.lang.Object > AbstractPromptReceiver

Constructors

AbstractPromptReceiver()

public AbstractPromptReceiver()

Methods

stop()

public void stop()

Releases any resources and stops any processes started.

waitForCode()

public String waitForCode()

Waits for a verification code.

Returns
TypeDescription
String