Interface VerificationCodeReceiver
-
- All Known Implementing Classes:
AbstractPromptReceiver
public interface VerificationCodeReceiver
OAuth 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 String
getRedirectUri()
Returns the redirect URI.void
stop()
Releases any resources and stops any processes started.String
waitForCode()
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
-
-