Class AbstractPromptReceiver
java.lang.Object
com.google.api.client.extensions.java6.auth.oauth2.AbstractPromptReceiver
- All Implemented Interfaces:
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstop()Releases any resources and stops any processes started.Waits for a verification code.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface VerificationCodeReceiver
getRedirectUri
-
Constructor Details
-
AbstractPromptReceiver
public AbstractPromptReceiver()
-
-
Method Details
-
waitForCode
Description copied from interface:VerificationCodeReceiverWaits for a verification code.- Specified by:
waitForCodein interfaceVerificationCodeReceiver
-
stop
public void stop()Description copied from interface:VerificationCodeReceiverReleases any resources and stops any processes started.- Specified by:
stopin interfaceVerificationCodeReceiver
-