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.
        Parameters:
        urlWithToken - The callback URL as it is invoked by the oauth provider
        Returns:
        A OAuthTokenFinish with a token and sometimes a state secret
        Throws:
        java.lang.NoSuchFieldException - Thrown if the URL does not contain a token or a state field (depending on the implementation)