Class OAuth2AccessTokenExtractor

    • Constructor Detail

      • OAuth2AccessTokenExtractor

        protected OAuth2AccessTokenExtractor()
    • Method Detail

      • extract

        public OAuth2AccessToken extract​(Response response)
                                  throws java.io.IOException
        Extracts the concrete type of token from the contents of an Http Response
        Specified by:
        extract in interface TokenExtractor<OAuth2AccessToken>
        Parameters:
        response - the whole response
        Returns:
        OAuth access token
        Throws:
        java.io.IOException - in case of troubles while getting body from the response