README.md in wso2_toolbox-0.2.3 vs README.md in wso2_toolbox-0.3.0
- old
+ new
@@ -25,9 +25,11 @@
Firstly, need set credentials to generate token. Create `config/initializers/wso2_toolbox.rb` file and
fill in the attributes:
```
Wso2Toolbox.configure do |config|
config.token_url = ENV['GENERATE_TOKEN_DEV_URL']
+ config.refresh_token_url = ENV['REFRESH_TOKEN_DEV_URL']
+ config.revoke_token_url = ENV['REVOKE_TOKEN_DEV_URL']
config.token_username = ENV['GENERATE_TOKEN_DEV_USERNAME']
config.token_password = ENV['GENERATE_TOKEN_DEV_PASSWORD']
end
Then, you can generate a token calling `Wso2Toolbox::TokenManager.generate_token`,