module DoorkeeperSsoClient::Warden::Support

Attributes

options[R]
user[R]
warden[R]

Public Class Methods

new(user, warden, options) click to toggle source
# File lib/doorkeeper_sso_client/warden/support.rb, line 21
def initialize(user, warden, options)
  @user, @warden, @options = user, warden, options
end

Public Instance Methods

logged_in?() click to toggle source
# File lib/doorkeeper_sso_client/warden/support.rb, line 33
def logged_in?
  warden.authenticated?(scope) && session && user
end
scope() click to toggle source
# File lib/doorkeeper_sso_client/warden/support.rb, line 25
def scope
  scope = options[:scope]
end
session() click to toggle source
# File lib/doorkeeper_sso_client/warden/support.rb, line 29
def session
  warden.session(scope)
end