Class OAuthTokenExtractors.NamedQueryTokenExtractor

    • Method Detail

      • parse

        public OAuthTokenFinish parse​(java.lang.String uriWithToken)
                               throws java.lang.NoSuchFieldException
        Description copied from interface: OAuthTokenExtractor
        Extract a OAuthTokenFinish from a given URL. It has to fail with an exception instead of returning null.
        Specified by:
        parse in interface OAuthTokenExtractor
        uriWithToken - 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)