public interface VerificationCodeReceiverOAuth 2.0 verification code receiver.
Implementation should be thread-safe.
Methods
getRedirectUri()
public abstract String getRedirectUri()Returns the redirect URI.
| Returns | |
|---|---|
| Type | Description |
String |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
stop()
public abstract void stop()Releases any resources and stops any processes started.
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
waitForCode()
public abstract String waitForCode()Waits for a verification code.
| Returns | |
|---|---|
| Type | Description |
String |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|