23242526272829
tokenManager = new TokenManager(config); client = new ResteasyClientBuilder().build(); target = client.target(config.getServerUrl()); target.register(new BearerAuthFilter(tokenManager.getAccessTokenString())); }