mura

Class googleAuth

lucee.Component
    extended by mura.baseobject
      extended by mura.googleAuth

Google Authenticator

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init([numeric timeStepSizeInSeconds='30'], [numeric windowSize='3'], [numeric codeDigits='6'])
    Method Summary
    any authorize(string secretKey, string password)
    any createCredentials()
    private any getGAConfigBuilder([numeric timeStepSizeInSeconds='30'], [numeric windowSize='3'], [numeric codeDigits='6'])
    any getKey(any credentials)
    any getOtpAuthURL(string accountName, any credentials, [string issuer='muraplatform'])
    any getQRGenerator()
    any getScratchCodes(any credentials)
    any getTotpPassword(string secretKey)
    any getVerificationCode(any credentials)
     
    Methods inherited from class mura.baseobject
    commitTracePoint, convertTimezone, deleteMethod, get, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEntity, getEventManager, getFeed, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getQueryAttrs, getQueryService, getServiceFactory, getSession, getValue, hasCustomDatasource, initTracePoint, inject, injectMethod, invokeMethod, isORM, mixin, parseDateArg, removeValue, set, setValue, valueExists
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init([numeric timeStepSizeInSeconds='30'], [numeric windowSize='3'], [numeric codeDigits='6'])

    Parameters:
    timeStepSizeInSeconds
    windowSize
    codeDigits

    Method Detail

    authorize

    public any authorize(string secretKey, string password)

    Parameters:
    secretKey
    password

    createCredentials

    public any createCredentials()


    getGAConfigBuilder

    private any getGAConfigBuilder([numeric timeStepSizeInSeconds='30'], [numeric windowSize='3'], [numeric codeDigits='6'])

    Parameters:
    timeStepSizeInSeconds
    windowSize
    codeDigits

    getKey

    public any getKey(any credentials)

    Parameters:
    credentials

    getOtpAuthURL

    public any getOtpAuthURL(string accountName, any credentials, [string issuer='muraplatform'])

    Parameters:
    accountName
    credentials
    issuer

    getQRGenerator

    public any getQRGenerator()


    getScratchCodes

    public any getScratchCodes(any credentials)

    Parameters:
    credentials

    getTotpPassword

    public any getTotpPassword(string secretKey)

    Parameters:
    secretKey

    getVerificationCode

    public any getVerificationCode(any credentials)

    Parameters:
    credentials