private void addAuthorization ( HttpRequest request , RedditToken rToken ) { request . addHeader ( "Authorization" , rToken . getTokenType ( ) + " " + rToken . getAccessToken ( ) ) ; }
Add authorization to the HTTP request .