Interface TokenExtractor<T extends Token>

    • Method Detail

      • extract

        T extract​(Response response)
           throws IOException,
                  OAuthException
        Extracts the concrete type of token from the contents of an Http Response
        Parameters:
        response - the whole response
        Returns:
        OAuth access token
        Throws:
        IOException - in case of troubles while getting body from the response
        OAuthException