Module: Wso2Toolbox::TokenManager::ApiManagerService
- Defined in:
- lib/wso2_toolbox/token_manager/api_manager_service.rb
Class Method Summary collapse
Class Method Details
.create_token ⇒ Object
10 11 12 |
# File 'lib/wso2_toolbox/token_manager/api_manager_service.rb', line 10 def create_token post(config.token_url, build_params) end |
.refresh_token(token) ⇒ Object
14 15 16 |
# File 'lib/wso2_toolbox/token_manager/api_manager_service.rb', line 14 def refresh_token(token) post(config.refresh_token_url, token: token) end |
.revoke_token(token) ⇒ Object
18 19 20 |
# File 'lib/wso2_toolbox/token_manager/api_manager_service.rb', line 18 def revoke_token(token) post(config.revoke_token_url, token: token) end |