@ Override public void signRequest ( Token accessToken , OAuthRequest request ) { request . addHeader ( "Authorization" , "Bearer " + accessToken . getToken ( ) ) ; }
Adds an authorization header containing the bearer token to a request . It is intended for use in API calls after getting the access token such as requesting the user s profile .