Module: Auth0::Api::V2::Blacklists
- Included in:
- Auth0::Api::V2
- Defined in:
- lib/auth0/api/v2/blacklists.rb
Overview
Instance Method Summary collapse
Instance Method Details
#add_token_to_blacklist(jti, aud = nil) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/auth0/api/v2/blacklists.rb', line 13 def add_token_to_blacklist(jti, aud=nil) request_params = { jti: jti, aud: aud } path = "/api/v2/blacklists/tokens" post(path, request_params) end |
#blacklisted_tokens ⇒ Object
7 8 9 10 |
# File 'lib/auth0/api/v2/blacklists.rb', line 7 def blacklisted_tokens path = "/api/v2/blacklists/tokens" get(path) end |