Module: Auth0::Api::V2::Blacklists

Included in:
Auth0::Api::V2
Defined in:
lib/auth0/api/v2/blacklists.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) add_token_to_blacklist(jti, aud = nil)



11
12
13
14
15
16
17
# File 'lib/auth0/api/v2/blacklists.rb', line 11

def add_token_to_blacklist(jti, aud=nil)
  request_params = {
    jti: jti,
    aud: aud
  }
  post(path, request_params)
end

- (Object) blacklisted_tokens



6
7
8
# File 'lib/auth0/api/v2/blacklists.rb', line 6

def blacklisted_tokens
  get(path)
end