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