mura

Class googleAuth

WEB-INF.cftags.component
    extended by mura.cfobject
      extended by mura.googleAuth

Google Authenticator

Class Attributes:
None
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.cfobject
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, mixin, parseDateArg, removeValue, set, setValue, valueExists
 
Methods inherited from class WEB-INF.cftags.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