Interface OAuthTokenExtractor

    • Method Detail

      • parse

        OAuthTokenFinish parse​(java.lang.String urlWithToken)
                        throws java.lang.NoSuchFieldException
        Extract a OAuthTokenFinish from a given URL. It has to fail with an exception instead of returning null.
        urlWithToken - The callback URL as it is invoked by the oauth provider
        A OAuthTokenFinish with a token and sometimes a state secret
        java.lang.NoSuchFieldException - Thrown if the URL does not contain a token or a state field (depending on the implementation)