Class: AuthRails::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/auth_rails/config.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.authenticateObject

Returns the value of attribute authenticate.



6
7
8
# File 'lib/auth_rails/config.rb', line 6

def authenticate
  @authenticate
end

.dig_paramsObject

Returns the value of attribute dig_params.



6
7
8
# File 'lib/auth_rails/config.rb', line 6

def dig_params
  @dig_params
end

.error_classObject

Returns the value of attribute error_class.



6
7
8
# File 'lib/auth_rails/config.rb', line 6

def error_class
  @error_class
end

.identifier_nameObject

Returns the value of attribute identifier_name.



6
7
8
# File 'lib/auth_rails/config.rb', line 6

def identifier_name
  @identifier_name
end

.resource_classObject

Returns the value of attribute resource_class.



6
7
8
# File 'lib/auth_rails/config.rb', line 6

def resource_class
  @resource_class
end

.retrieve_resourceObject

Returns the value of attribute retrieve_resource.



6
7
8
# File 'lib/auth_rails/config.rb', line 6

def retrieve_resource
  @retrieve_resource
end

Class Method Details

.jwt {|Configuration::Jwt| ... } ⇒ Object

Yields:



13
14
15
# File 'lib/auth_rails/config.rb', line 13

def jwt
  yield Configuration::Jwt
end