Class: Auth::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/auth/engine.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
# File 'lib/auth/engine.rb', line 276

def initialize
  

  ##############################################################
  ##
  ## CSS BASED OPTIONS.
  ##
  ##############################################################
  
  ## whether there should be modals for sign-in / sign-up
  ## ensure to include the css and js files as mentioned in the readme.
  @enable_sign_in_modals = false
  
  ## this is shown on the left hand side of the navbar.
  @brand_name = "Your App Name"

  ## whether there should be a navbar as shown in the image in the readme.
  @navbar = false

  #############################################################
  ##
  ## AUTHENTICATION OPTIONS.
  ##
  #############################################################
  
  ## whether token authentication should be enabled
  @enable_token_auth = true

  ##the regeneration time of the auth_token,
  ##after the following mentioned time, the token is useless
  @token_regeneration_time = 1.day

  ## the oauth provider details, an empty hash will disable oauth authentication
  @oauth_credentials = {}
  
  ## which models the engine should use for authentication
  @auth_resources = {}

  ## whether recaptcha should be enabled or not.
  ## false by default.
  ## if set to true, will produce errors all over the place in case you forget to provide a recaptcha key and secret in the configuration file!
  @recaptcha = false


  ## if set to true, wil prevent merging of oauth accounts if they share the same email id.
  ## by default is false.
  @prevent_oauth_merger = false

  ##############################################################
  ##
  ## ENGINE BASED OPTIONS.
  ##
  ##############################################################
  @mount_path = "/authenticate"
  @redis_config_file_location = nil
  @third_party_api_keys = {}
  ##whether to redirect to redirect urls if provided in the
  ##request.
  @do_redirect = true
  @host_name = nil
  ## for the user.
  @user_class = nil

  ###############################################################
  ##
  ## OPTIONS FOR TESTS
  ##
  ###############################################################
  @stub_otp_api_calls = false
  @simulate_invalid_otp = false

  ###############################################################
  ##
  ## OPTIONS FOR OTP
  ##
  ###############################################################
  @otp_controller = nil


  ###############################################################
  ##
  ## OPTIONS FOR SHOPPING MODULE
  ##
  ###############################################################
  @cart_item_controller = nil
  @cart_item_controller_token_auth_actions = [:create,:update,:destroy,:edit,:new,:index,:show,:create_multiple]
  @cart_item_class = nil
  @cart_controller = nil
  @cart_controller_token_auth_actions = [:create,:update,:destroy,:edit,:new,:index,:show]
  @cart_class = nil
  @payment_controller = nil
  @payment_class = nil
  @payment_gateway_info = {}
  @product_class = nil
  @product_controller = nil
  @discount_class = nil
  @discount_controller = nil
  ## add this to the routes.
  ## if you are going to add place, then add that here as well.
  @personality_class = nil
  @personality_controller = nil
  @place_class = nil
  @place_controller = nil

  ###############################################################
  ##
  ## OPTIONS FOR MAILER AND NOTIFICATIONS
  ##
  ###############################################################
  @mailer_class = nil
  @notification_class = nil
  @notification_response_class = nil

  @new_mailer_class = "Auth::SendMail"
  @mail_from = "[email protected]"
  
  ###############################################################
  ##
  ## OPTIONS FOR THE BACKGROUND JOB USED BY THE ENGINE.
  ##
  ###############################################################
  @queue_adapter = "shoryuken"

  ## command : 
  ####################################################
  ##
  ##
  ## elasticsearch options.
  ##
  ###################################################
  @use_es = true


  ########################################################
  ##
  ## WORK ACCESSOR
  ##
  ########################################################
  @instruction_class = "Auth::Work::Instruction"
  @instruction_controller = "auth/work/instructions"

  @bullet_class = "Auth::Work::Bullet"
  @bullet_controller = "auth/work/bullets"
  ########################################################
  ##
  ##
  ## workflow accessors.
  ##
  ## are set to default to the engine classes.
  ## so if you don't set them, it doesn't matter.
  ##
  ########################################################
  @assembly_class = "Auth::Workflow::Assembly"
  @assembly_controller = "auth/workflow/assemblies"

  @stage_class = "Auth::Workflow::Stage"
  @stage_controller = "auth/workflow/stages"

  @sop_class = "Auth::Workflow::Sop"
  @sop_controller = "auth/workflow/sops"

  @step_class = "Auth::Workflow::Step"
  @step_controller = "auth/workflow/steps"
    
  @order_class = "Auth::Workflow::Order"
  @order_controller = "auth/workflow/orders"

  @requirement_class = "Auth::Workflow::Requirement"
  @requirement_controller = "auth/workflow/requirements"  

  @state_class = "Auth::Workflow::State"
  @state_controller = "auth/workflow/states"

  ## tlocation is not used anywhere, either the model or controller
  @tlocation_class = "Auth::Workflow::Tlocation"
  @tlocation_controller = "auth/workflow/tlocations"

  
  @location_class = "Auth::Workflow::Location"
  @location_controller = "auth/workflow/locations"

  @schedule_class = "Auth::Workflow::Schedule"
  @schedule_controller = "auth/workflow/schedules"

  @booking_class = "Auth::Workflow::Booking"
  @booking_controller = "auth/workflow/bookings"

  @slot_class = "Auth::Workflow::Slot"
  @slot_controller = "auth/workflow/slots"

  @overlap_class = "Auth::Workflow::Overlap"
  @overlap_controller = "auth/workflow/overlaps"

  @minute_class = "Auth::Workflow::Minute"
  @minute_controller = "auth/workflow/minutes"

  @category_class = "Auth::Workflow::Category"
  @category_controller = "auth/workflow/categories"

  @entity_class = "Auth::Workflow::Entity"
  @entity_controller = "auth/workflow/entities"

  @specification_class = "Auth::Workflow::Specification"
  @specification_controller = "auth/workflow/specifications"

  ## this is the 
  @consumable_class = "Auth::Workflow::Consumable"
  @consumable_controller = "auth/workflow/consumables"
  ########################################################
  ##
  ##
  ##
  ## IMAGE CONCERN MODEL AND CONTROLLER CLASSES
  ##
  ##
  ##
  ########################################################
  @image_class = "Auth::Image"
  @image_controller = "auth/images"
  @protect_image_with_recaptcha = true

  ########################################################
  ##
  ## ROLLING MINUTES
  ##
  ########################################################
  @rolling_minutes = 30
  @currency = "INR"


  ########################################################
  ##
  ## ENDPOINT CLASS.
  ## for amazon and aws notifications.
  ##
  ########################################################
  @endpoint_class = "Auth::Endpoint"
  @endpoint_controller = "auth/endpoints"


  ########################################################
  ##
  ##
  ## WORK CLASSES
  ##
  ##
  ########################################################
  @communication_controller = "auth/work/communications"
  @communication_class = "Auth::Work::Communication"

  @cycle_controller = "auth/work/cycles"
  @cycle_class = "Auth::Work::Cycle"

  ########################################################
  ##
  ##
  ## THIRD PARTY ATTRIBUTES.
  ##
  ##
  ########################################################
  ## defaults.
  @two_factor_otp_transactional_sms_template_name = "test2"
  @two_factor_otp_transactional_sms_template_sender_id = "PATHOF"


  ########################################################
  ##
  ##
  ########################################################
  @hashids_salt = "i am a salt"
  @hashids_alphabet = "abcdefghijklmnopqrstuvwxyz123456789"


  ########################################################
  ##
  ## barcode : api enabled by default.
  ##
  ########################################################
  @enable_barcode_api = true


  ########################################################
  ##
  ##
  ## profile controller
  ##
  ##
  ########################################################
  @profiles_controller = "auth/profiles"


end

Instance Attribute Details

#assembly_classObject

Returns the value of attribute assembly_class.



135
136
137
# File 'lib/auth/engine.rb', line 135

def assembly_class
  @assembly_class
end

#assembly_controllerObject

Returns the value of attribute assembly_controller.



136
137
138
# File 'lib/auth/engine.rb', line 136

def assembly_controller
  @assembly_controller
end

#auth_resourcesObject

Returns the value of attribute auth_resources.



58
59
60
# File 'lib/auth/engine.rb', line 58

def auth_resources
  @auth_resources
end

#booking_classObject

Returns the value of attribute booking_class.



168
169
170
# File 'lib/auth/engine.rb', line 168

def booking_class
  @booking_class
end

#booking_controllerObject

Returns the value of attribute booking_controller.



169
170
171
# File 'lib/auth/engine.rb', line 169

def booking_controller
  @booking_controller
end

#brand_nameObject

Returns the value of attribute brand_name.



93
94
95
# File 'lib/auth/engine.rb', line 93

def brand_name
  @brand_name
end

#bullet_classObject

Returns the value of attribute bullet_class.



97
98
99
# File 'lib/auth/engine.rb', line 97

def bullet_class
  @bullet_class
end

#bullet_controllerObject

Returns the value of attribute bullet_controller.



98
99
100
# File 'lib/auth/engine.rb', line 98

def bullet_controller
  @bullet_controller
end

#cart_classObject

Returns the value of attribute cart_class.



72
73
74
# File 'lib/auth/engine.rb', line 72

def cart_class
  @cart_class
end

#cart_controllerObject

Returns the value of attribute cart_controller.



70
71
72
# File 'lib/auth/engine.rb', line 70

def cart_controller
  @cart_controller
end

#cart_controller_token_auth_actionsObject

Returns the value of attribute cart_controller_token_auth_actions.



71
72
73
# File 'lib/auth/engine.rb', line 71

def cart_controller_token_auth_actions
  @cart_controller_token_auth_actions
end

#cart_item_classObject

Returns the value of attribute cart_item_class.



69
70
71
# File 'lib/auth/engine.rb', line 69

def cart_item_class
  @cart_item_class
end

#cart_item_controllerObject

Returns the value of attribute cart_item_controller.



67
68
69
# File 'lib/auth/engine.rb', line 67

def cart_item_controller
  @cart_item_controller
end

#cart_item_controller_token_auth_actionsObject

Returns the value of attribute cart_item_controller_token_auth_actions.



68
69
70
# File 'lib/auth/engine.rb', line 68

def cart_item_controller_token_auth_actions
  @cart_item_controller_token_auth_actions
end

#category_classObject

CURRENTLY USED ####



184
185
186
# File 'lib/auth/engine.rb', line 184

def category_class
  @category_class
end

#category_controllerObject

Returns the value of attribute category_controller.



185
186
187
# File 'lib/auth/engine.rb', line 185

def category_controller
  @category_controller
end

#communication_classObject

Returns the value of attribute communication_class.



99
100
101
# File 'lib/auth/engine.rb', line 99

def communication_class
  @communication_class
end

#communication_controllerObject

Returns the value of attribute communication_controller.



100
101
102
# File 'lib/auth/engine.rb', line 100

def communication_controller
  @communication_controller
end

#consumable_classObject

workflow accessors.



132
133
134
# File 'lib/auth/engine.rb', line 132

def consumable_class
  @consumable_class
end

#consumable_controllerObject

Returns the value of attribute consumable_controller.



133
134
135
# File 'lib/auth/engine.rb', line 133

def consumable_controller
  @consumable_controller
end

#currencyObject

Returns the value of attribute currency.



222
223
224
# File 'lib/auth/engine.rb', line 222

def currency
  @currency
end

#cycle_classObject

Returns the value of attribute cycle_class.



228
229
230
# File 'lib/auth/engine.rb', line 228

def cycle_class
  @cycle_class
end

#cycle_controllerObject

Returns the value of attribute cycle_controller.



230
231
232
# File 'lib/auth/engine.rb', line 230

def cycle_controller
  @cycle_controller
end

#discount_classObject

Returns the value of attribute discount_class.



76
77
78
# File 'lib/auth/engine.rb', line 76

def discount_class
  @discount_class
end

#discount_controllerObject

Returns the value of attribute discount_controller.



77
78
79
# File 'lib/auth/engine.rb', line 77

def discount_controller
  @discount_controller
end

#do_redirectObject

Returns the value of attribute do_redirect.



92
93
94
# File 'lib/auth/engine.rb', line 92

def do_redirect
  @do_redirect
end

#enable_barcode_apiObject

FOR BARCODE.



264
265
266
# File 'lib/auth/engine.rb', line 264

def enable_barcode_api
  @enable_barcode_api
end

#enable_sign_in_modalsObject

Returns the value of attribute enable_sign_in_modals.



59
60
61
# File 'lib/auth/engine.rb', line 59

def 
  @enable_sign_in_modals
end

#enable_token_authObject

Returns the value of attribute enable_token_auth.



55
56
57
# File 'lib/auth/engine.rb', line 55

def enable_token_auth
  @enable_token_auth
end

#endpoint_classObject

Returns the value of attribute endpoint_class.



224
225
226
# File 'lib/auth/engine.rb', line 224

def endpoint_class
  @endpoint_class
end

#endpoint_controllerObject

Returns the value of attribute endpoint_controller.



226
227
228
# File 'lib/auth/engine.rb', line 226

def endpoint_controller
  @endpoint_controller
end

#entity_classObject

Returns the value of attribute entity_class.



190
191
192
# File 'lib/auth/engine.rb', line 190

def entity_class
  @entity_class
end

#entity_controllerObject

Returns the value of attribute entity_controller.



191
192
193
# File 'lib/auth/engine.rb', line 191

def entity_controller
  @entity_controller
end

#hashids_alphabetObject

Returns the value of attribute hashids_alphabet.



254
255
256
# File 'lib/auth/engine.rb', line 254

def hashids_alphabet
  @hashids_alphabet
end

#hashids_saltObject

HASHIDS SALT. THIS IS USED IN PERSONALITY AND PLACE.



253
254
255
# File 'lib/auth/engine.rb', line 253

def hashids_salt
  @hashids_salt
end

#host_nameObject

used in lib/auth/omniauth.rb inside Google_OAuth2.class_eval



118
119
120
# File 'lib/auth/engine.rb', line 118

def host_name
  @host_name
end

#image_classObject

image concern accessors



204
205
206
# File 'lib/auth/engine.rb', line 204

def image_class
  @image_class
end

#image_controllerObject

Returns the value of attribute image_controller.



205
206
207
# File 'lib/auth/engine.rb', line 205

def image_controller
  @image_controller
end

#instruction_classObject

Returns the value of attribute instruction_class.



95
96
97
# File 'lib/auth/engine.rb', line 95

def instruction_class
  @instruction_class
end

#instruction_controllerObject

Returns the value of attribute instruction_controller.



96
97
98
# File 'lib/auth/engine.rb', line 96

def instruction_controller
  @instruction_controller
end

#location_classObject

CURRENTLY USED



161
162
163
# File 'lib/auth/engine.rb', line 161

def location_class
  @location_class
end

#location_controllerObject

Returns the value of attribute location_controller.



162
163
164
# File 'lib/auth/engine.rb', line 162

def location_controller
  @location_controller
end

#mail_fromObject

Returns the value of attribute mail_from.



108
109
110
# File 'lib/auth/engine.rb', line 108

def mail_from
  @mail_from
end

#mailer_classObject

the class used in the user_concern, to send emails. should inherit from Auth::Notifier. the class used to send the notification



104
105
106
# File 'lib/auth/engine.rb', line 104

def mailer_class
  @mailer_class
end

#minute_classObject

Returns the value of attribute minute_class.



187
188
189
# File 'lib/auth/engine.rb', line 187

def minute_class
  @minute_class
end

#minute_controllerObject

Returns the value of attribute minute_controller.



188
189
190
# File 'lib/auth/engine.rb', line 188

def minute_controller
  @minute_controller
end

#mount_pathObject

Returns the value of attribute mount_path.



57
58
59
# File 'lib/auth/engine.rb', line 57

def mount_path
  @mount_path
end

Returns the value of attribute navbar.



114
115
116
# File 'lib/auth/engine.rb', line 114

def navbar
  @navbar
end

#new_mailer_classObject

the new mailer class being used in Auth::Work::Notification.



107
108
109
# File 'lib/auth/engine.rb', line 107

def new_mailer_class
  @new_mailer_class
end

#notification_classObject

Returns the value of attribute notification_class.



87
88
89
# File 'lib/auth/engine.rb', line 87

def notification_class
  @notification_class
end

#notification_response_classObject

Returns the value of attribute notification_response_class.



94
95
96
# File 'lib/auth/engine.rb', line 94

def notification_response_class
  @notification_response_class
end

#oauth_credentialsObject

Returns the value of attribute oauth_credentials.



56
57
58
# File 'lib/auth/engine.rb', line 56

def oauth_credentials
  @oauth_credentials
end

#order_classObject

Returns the value of attribute order_class.



147
148
149
# File 'lib/auth/engine.rb', line 147

def order_class
  @order_class
end

#order_controllerObject

Returns the value of attribute order_controller.



148
149
150
# File 'lib/auth/engine.rb', line 148

def order_controller
  @order_controller
end

#otp_controllerObject

Returns the value of attribute otp_controller.



66
67
68
# File 'lib/auth/engine.rb', line 66

def otp_controller
  @otp_controller
end

#overlap_classObject

this is also no longer user.



176
177
178
# File 'lib/auth/engine.rb', line 176

def overlap_class
  @overlap_class
end

#overlap_controllerObject

Returns the value of attribute overlap_controller.



177
178
179
# File 'lib/auth/engine.rb', line 177

def overlap_controller
  @overlap_controller
end

#payment_classObject

Returns the value of attribute payment_class.



75
76
77
# File 'lib/auth/engine.rb', line 75

def payment_class
  @payment_class
end

#payment_controllerObject

Returns the value of attribute payment_controller.



88
89
90
# File 'lib/auth/engine.rb', line 88

def payment_controller
  @payment_controller
end

#payment_gateway_infoObject

Returns the value of attribute payment_gateway_info.



89
90
91
# File 'lib/auth/engine.rb', line 89

def payment_gateway_info
  @payment_gateway_info
end

#personality_classObject

for shopping personality.



80
81
82
# File 'lib/auth/engine.rb', line 80

def personality_class
  @personality_class
end

#personality_controllerObject

Returns the value of attribute personality_controller.



81
82
83
# File 'lib/auth/engine.rb', line 81

def personality_controller
  @personality_controller
end

#place_classObject

for shopping place.



84
85
86
# File 'lib/auth/engine.rb', line 84

def place_class
  @place_class
end

#place_controllerObject

Returns the value of attribute place_controller.



85
86
87
# File 'lib/auth/engine.rb', line 85

def place_controller
  @place_controller
end

#prevent_oauth_mergerObject

Returns the value of attribute prevent_oauth_merger.



60
61
62
# File 'lib/auth/engine.rb', line 60

def prevent_oauth_merger
  @prevent_oauth_merger
end

#product_classObject

Returns the value of attribute product_class.



73
74
75
# File 'lib/auth/engine.rb', line 73

def product_class
  @product_class
end

#product_controllerObject

Returns the value of attribute product_controller.



74
75
76
# File 'lib/auth/engine.rb', line 74

def product_controller
  @product_controller
end

#profiles_controllerObject

FOR PROFILES.



274
275
276
# File 'lib/auth/engine.rb', line 274

def profiles_controller
  @profiles_controller
end

#protect_image_with_recaptchaObject

basically does not apply if the user is signed in. otherwise will apply.



208
209
210
# File 'lib/auth/engine.rb', line 208

def protect_image_with_recaptcha
  @protect_image_with_recaptcha
end

#queue_adapterObject

the queue adapter for the delayed jobs



112
113
114
# File 'lib/auth/engine.rb', line 112

def queue_adapter
  @queue_adapter
end

#recaptchaObject

Returns the value of attribute recaptcha.



61
62
63
# File 'lib/auth/engine.rb', line 61

def recaptcha
  @recaptcha
end

#redis_config_file_locationObject

Returns the value of attribute redis_config_file_location.



62
63
64
# File 'lib/auth/engine.rb', line 62

def redis_config_file_location
  @redis_config_file_location
end

#requirement_classObject

Returns the value of attribute requirement_class.



150
151
152
# File 'lib/auth/engine.rb', line 150

def requirement_class
  @requirement_class
end

#requirement_controllerObject

Returns the value of attribute requirement_controller.



151
152
153
# File 'lib/auth/engine.rb', line 151

def requirement_controller
  @requirement_controller
end

#rolling_minutesObject

WORK CONSTANTS.



220
221
222
# File 'lib/auth/engine.rb', line 220

def rolling_minutes
  @rolling_minutes
end

#schedule_classObject

these three are not used.



165
166
167
# File 'lib/auth/engine.rb', line 165

def schedule_class
  @schedule_class
end

#schedule_controllerObject

Returns the value of attribute schedule_controller.



166
167
168
# File 'lib/auth/engine.rb', line 166

def schedule_controller
  @schedule_controller
end

#simulate_invalid_otpObject

Returns the value of attribute simulate_invalid_otp.



65
66
67
# File 'lib/auth/engine.rb', line 65

def simulate_invalid_otp
  @simulate_invalid_otp
end

#slot_classObject

Returns the value of attribute slot_class.



171
172
173
# File 'lib/auth/engine.rb', line 171

def slot_class
  @slot_class
end

#slot_controllerObject

Returns the value of attribute slot_controller.



172
173
174
# File 'lib/auth/engine.rb', line 172

def slot_controller
  @slot_controller
end

#sop_classObject

Returns the value of attribute sop_class.



141
142
143
# File 'lib/auth/engine.rb', line 141

def sop_class
  @sop_class
end

#sop_controllerObject

Returns the value of attribute sop_controller.



142
143
144
# File 'lib/auth/engine.rb', line 142

def sop_controller
  @sop_controller
end

#specification_classObject

Returns the value of attribute specification_class.



193
194
195
# File 'lib/auth/engine.rb', line 193

def specification_class
  @specification_class
end

#specification_controllerObject

Returns the value of attribute specification_controller.



194
195
196
# File 'lib/auth/engine.rb', line 194

def specification_controller
  @specification_controller
end

#stage_classObject

Returns the value of attribute stage_class.



138
139
140
# File 'lib/auth/engine.rb', line 138

def stage_class
  @stage_class
end

#stage_controllerObject

Returns the value of attribute stage_controller.



139
140
141
# File 'lib/auth/engine.rb', line 139

def stage_controller
  @stage_controller
end

#state_classObject

Returns the value of attribute state_class.



153
154
155
# File 'lib/auth/engine.rb', line 153

def state_class
  @state_class
end

#state_controllerObject

Returns the value of attribute state_controller.



154
155
156
# File 'lib/auth/engine.rb', line 154

def state_controller
  @state_controller
end

#step_classObject

Returns the value of attribute step_class.



144
145
146
# File 'lib/auth/engine.rb', line 144

def step_class
  @step_class
end

#step_controllerObject

Returns the value of attribute step_controller.



145
146
147
# File 'lib/auth/engine.rb', line 145

def step_controller
  @step_controller
end

#stub_otp_api_callsObject

Returns the value of attribute stub_otp_api_calls.



64
65
66
# File 'lib/auth/engine.rb', line 64

def stub_otp_api_calls
  @stub_otp_api_calls
end

#third_party_api_keysObject

Returns the value of attribute third_party_api_keys.



63
64
65
# File 'lib/auth/engine.rb', line 63

def third_party_api_keys
  @third_party_api_keys
end

#tlocation_classObject

this tlocation thing is no longer used.



157
158
159
# File 'lib/auth/engine.rb', line 157

def tlocation_class
  @tlocation_class
end

#tlocation_controllerObject

Returns the value of attribute tlocation_controller.



158
159
160
# File 'lib/auth/engine.rb', line 158

def tlocation_controller
  @tlocation_controller
end

#token_regeneration_timeObject

Returns the value of attribute token_regeneration_time.



90
91
92
# File 'lib/auth/engine.rb', line 90

def token_regeneration_time
  @token_regeneration_time
end

#two_factor_otp_transactional_sms_template_nameObject

Returns the value of attribute two_factor_otp_transactional_sms_template_name.



242
243
244
# File 'lib/auth/engine.rb', line 242

def two_factor_otp_transactional_sms_template_name
  @two_factor_otp_transactional_sms_template_name
end

#two_factor_otp_transactional_sms_template_sender_idObject

THIRD PARTY ATTRIBUTES.



241
242
243
# File 'lib/auth/engine.rb', line 241

def two_factor_otp_transactional_sms_template_sender_id
  @two_factor_otp_transactional_sms_template_sender_id
end

#use_esObject

whether to use es or not.



122
123
124
# File 'lib/auth/engine.rb', line 122

def use_es
  @use_es
end

#user_classObject

Returns the value of attribute user_class.



91
92
93
# File 'lib/auth/engine.rb', line 91

def user_class
  @user_class
end