Sha256: 560a2926ee8246481db074c19aefd733117f9ef6690f78fc2823a2233c37f0f7

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

class LsOmniauth::AuthSessions
  AUTH_SESSION_KEY      = "ls_auth_user"
  AUTH_REQUEST_ORIGIN   = "ls_auth_request_origin"

  attr_reader :auth, :origin
  def initialize(session)
    @auth   = LsOmniauth::AbstractSession.new(session, AUTH_SESSION_KEY)
    @origin = LsOmniauth::AbstractSession.new(session, AUTH_REQUEST_ORIGIN)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ls-omniauth-3.0.3 app/models/ls_omniauth/auth_sessions.rb