public abstract class AbstractPromptReceiver implements VerificationCodeReceiverOAuth 2.0 abstract verification code receiver that prompts user to paste the code copied from the browser.
Implementation is thread-safe.
Implements
VerificationCodeReceiverConstructors
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 | |
|---|---|
| Type | Description |
String |
|