Class: JunglePath::API::Helpers::AuthLocalUser::Identity

Inherits:
Object
  • Object
show all
Defined in:
lib/jungle_path/api/helpers/auth_local_user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#authObject

Returns the value of attribute auth.



6
7
8
# File 'lib/jungle_path/api/helpers/auth_local_user.rb', line 6

def auth
  @auth
end

#keyObject

Returns the value of attribute key.



6
7
8
# File 'lib/jungle_path/api/helpers/auth_local_user.rb', line 6

def key
  @key
end

#remote_passwordObject

Returns the value of attribute remote_password.



6
7
8
# File 'lib/jungle_path/api/helpers/auth_local_user.rb', line 6

def remote_password
  @remote_password
end

#remote_userObject

Returns the value of attribute remote_user.



6
7
8
# File 'lib/jungle_path/api/helpers/auth_local_user.rb', line 6

def remote_user
  @remote_user
end

#rolesObject

Returns the value of attribute roles.



6
7
8
# File 'lib/jungle_path/api/helpers/auth_local_user.rb', line 6

def roles
  @roles
end

#userObject

Returns the value of attribute user.



6
7
8
# File 'lib/jungle_path/api/helpers/auth_local_user.rb', line 6

def user
  @user
end

#user_nameObject

Returns the value of attribute user_name.



6
7
8
# File 'lib/jungle_path/api/helpers/auth_local_user.rb', line 6

def user_name
  @user_name
end

#validObject

Returns the value of attribute valid.



6
7
8
# File 'lib/jungle_path/api/helpers/auth_local_user.rb', line 6

def valid
  @valid
end

Instance Method Details

#to_sObject



7
8
9
# File 'lib/jungle_path/api/helpers/auth_local_user.rb', line 7

def to_s
  "AuthLocalUser::Identity: {\n  remote_user: #{@remote_user},\n  remote_password: #{@remote_password},\n  user_name: #{@user_name},\n  user: #{@user},\n  key: #{@key},\n  valid: #{@valid},\n  roles: #{@roles},\n  auth: #{@auth}\n}"
end