module Refinery::Authentication

Public Instance Methods

configure(&block) click to toggle source
# File lib/refinery/authentication.rb, line 5
def configure(&block)
  Refinery.deprecate(
    'Refinery::Authentication#configure',
    when: '1.1 of refinerycms-authentication-devise',
    replacement: 'Refinery::Authentication::Devise#configure'
  )

  Refinery::Authentication::Devise.configure(&block)
end
email_from_name() click to toggle source
# File lib/refinery/authentication.rb, line 35
def email_from_name
  Refinery.deprecate(
    'Refinery::Authentication#email_from_name',
    when: '1.1 of refinerycms-authentication-devise',
    replacement: 'Refinery::Authentication::Devise#email_from_name'
  )

  Refinery::Authentication::Devise.email_from_name
end
email_from_name=(value) click to toggle source
# File lib/refinery/authentication.rb, line 45
def email_from_name=(value)
  Refinery.deprecate(
    'Refinery::Authentication#email_from_name=',
    when: '1.1 of refinerycms-authentication-devise',
    replacement: 'Refinery::Authentication::Devise#email_from_name='
  )

  Refinery::Authentication::Devise.email_from_name = value
end
superuser_can_assign_roles() click to toggle source
# File lib/refinery/authentication.rb, line 15
def superuser_can_assign_roles
  Refinery.deprecate(
    'Refinery::Authentication#superuser_can_assign_roles',
    when: '1.1 of refinerycms-authentication-devise',
    replacement: 'Refinery::Authentication::Devise#superuser_can_assign_roles'
  )

  Refinery::Authentication::Devise.superuser_can_assign_roles
end
superuser_can_assign_roles=(value) click to toggle source
# File lib/refinery/authentication.rb, line 25
def superuser_can_assign_roles=(value)
  Refinery.deprecate(
    'Refinery::Authentication#superuser_can_assign_roles=',
    when: '1.1 of refinerycms-authentication-devise',
    replacement: 'Refinery::Authentication::Devise#superuser_can_assign_roles='
  )

  Refinery::Authentication::Devise.superuser_can_assign_roles = value
end