Interface VerificationCodeReceiver
-
- All Known Implementing Classes:
AbstractPromptReceiver
public interface VerificationCodeReceiver
OAuth 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.String
getRedirectUri()
Returns the redirect URI.void
stop()
Releases any resources and stops any processes started.java.lang.String
waitForCode()
Waits for a verification code.
-
-
-
Method Detail
-
getRedirectUri
java.lang.String getRedirectUri() throws java.io.IOException
Returns the redirect URI.- Throws:
java.io.IOException
-
waitForCode
java.lang.String waitForCode() throws java.io.IOException
Waits 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
-
-