Sha256: 335f91d130e00c9facfac788af31af21e9a90fdf84799125cfb57f938c2d613a
Contents?: true
Size: 605 Bytes
Versions: 10
Compression:
Stored size: 605 Bytes
Contents
module Auth0 module Api module V2 # https://auth0.com/docs/apiv2#!/blacklists module Blacklists # https://auth0.com/docs/apiv2#!/blacklists/get_tokens def blacklisted_tokens path = "/api/v2/blacklists/tokens" get(path) end # https://auth0.com/docs/apiv2#!/blacklists/post_tokens def add_token_to_blacklist(jti, aud=nil) request_params = { jti: jti, aud: aud } path = "/api/v2/blacklists/tokens" post(path, request_params) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems