com.google.api.client.extensions.java6.auth.oauth2
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
 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 Exception
Returns the redirect URI.

Throws:
Exception

waitForCode

String waitForCode()
                   throws Exception
Waits for a verification code.

Throws:
Exception

stop

void stop()
          throws Exception
Releases any resources and stops any processes started.

Throws:
Exception


Copyright © 2011-2012 Google. All Rights Reserved.