Interface VerificationCodeReceiver
-
- All Known Implementing Classes:
AbstractPromptReceiver
public interface VerificationCodeReceiverOAuth 2.0 verification code receiver.Implementation should be thread-safe.
- Since:
- 1.11
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetRedirectUri()Returns the redirect URI.voidstop()Releases any resources and stops any processes started.java.lang.StringwaitForCode()Waits for a verification code.
-
-
-
Method Detail
-
getRedirectUri
java.lang.String getRedirectUri() throws java.io.IOExceptionReturns the redirect URI.- Throws:
java.io.IOException
-
waitForCode
java.lang.String waitForCode() throws java.io.IOExceptionWaits for a verification code.- Throws:
java.io.IOException
-
stop
void stop() throws java.io.IOException
Releases any resources and stops any processes started.- Throws:
java.io.IOException
-
-