Interface VerificationCodeReceiver (1.34.0)

public interface VerificationCodeReceiver

OAuth 2.0 verification code receiver.

Implementation should be thread-safe.

Methods

getRedirectUri()

public abstract String getRedirectUri()

Returns the redirect URI.

Returns
TypeDescription
String
Exceptions
TypeDescription
IOException

stop()

public abstract void stop()

Releases any resources and stops any processes started.

Exceptions
TypeDescription
IOException

waitForCode()

public abstract String waitForCode()

Waits for a verification code.

Returns
TypeDescription
String
Exceptions
TypeDescription
IOException