Interface VerificationCodeReceiver (1.36.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
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