class HaveAPI::Authentication::OAuth2::RevokeEndpoint::Request
Public Class Methods
new(env)
click to toggle source
Calls superclass method
# File lib/haveapi/authentication/oauth2/revoke_endpoint.rb, line 16 def initialize(env) super @token = params['token'] @token_type_hint = params['token_type_hint'] end
Public Instance Methods
unsupported_token_type!(description = nil, options = {})
click to toggle source
# File lib/haveapi/authentication/oauth2/revoke_endpoint.rb, line 22 def unsupported_token_type!(description = nil, options = {}) raise Rack::OAuth2::Server::Abstract::BadRequest.new( :unsupported_token_type, description, options ) end