Class | Airbrake::Rack::User |
In: |
lib/airbrake/rack/user.rb
|
Parent: | Object |
Represents an authenticated user, which can be converted to Airbrake‘s payload format. Supports Warden and Omniauth authentication frameworks.
Finds the user in the Rack environment and creates a new user wrapper.
@param [Hash{String=>Object}] rack_env The Rack environment @return [Airbrake::Rack::User, nil]