class Rack::OAuth2::Server::Token::Unauthorized

Public Instance Methods

finish() click to toggle source
# File lib/rack/oauth2/server/token/error.rb, line 9
def finish
  super do |response|
    unless @skip_www_authenticate
      response.header['WWW-Authenticate'] = 'Basic realm="OAuth2 Token Endpoint"'
    end
  end
end