contentbox.models.security.twofactor

Class BaseTwoFactorProvider

lucee.Component
    extended by contentbox.models.security.twofactor.BaseTwoFactorProvider
Direct Known Subclasses:
EmailTwoFactorProvider

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- This is a base class all two-factor authenticators can leverage for basic functionality All Providers get access to global injected services - log - settingService - siteService - renderer - CBHelper

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any CBHelper


    • access = public
    • returntype = any
    • inject = id:CBHelper@contentbox
    true false
    any log


    • access = public
    • returntype = any
    • inject = logbox:logger:{this}
    true false
    any renderer


    • access = public
    • returntype = any
    • inject = coldbox:renderer
    true false
    any securityService


    • access = public
    • returntype = any
    • inject = securityService@contentbox
    true false
    any settingService


    • access = public
    • returntype = any
    • inject = settingService@contentbox
    true false
    any siteService


    • access = public
    • returntype = any
    • inject = siteService@contentbox
    true false
    Constructor Summary
    init()
          Constructor.
    Method Summary
    any discoverSite()
         Get a discovered site object.
    struct getAllSettings()
         Get all system settings.
    any getDefaultSite()
         Get the default site object.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Property Detail

    CBHelper

    property any CBHelper

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:CBHelper@contentbox
    serializable - true

    log

    property any log

    Attributes:
    access - public
    required - false
    returntype - any
    inject - logbox:logger:{this}
    serializable - true

    renderer

    property any renderer

    Attributes:
    access - public
    required - false
    returntype - any
    inject - coldbox:renderer
    serializable - true

    securityService

    property any securityService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - securityService@contentbox
    serializable - true

    settingService

    property any settingService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - settingService@contentbox
    serializable - true

    siteService

    property any siteService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - siteService@contentbox
    serializable - true

    Method Detail

    discoverSite

    public any discoverSite()

    Get a discovered site object

    Returns:
    Site

    getAllSettings

    public struct getAllSettings()

    Get all system settings


    getDefaultSite

    public any getDefaultSite()

    Get the default site object

    Returns:
    Site