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 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