class Rack::OAuth2::Server::Token::Unauthorized
Public Instance Methods
finish()
click to toggle source
Calls superclass method
Rack::OAuth2::Server::Abstract::Error#finish
# File lib/rack/oauth2/server/token/error.rb, line 9 def finish super do |response| response.header['WWW-Authenticate'] = 'Basic realm="OAuth2 Token Endpoint"' end end