Method | Description | |
---|---|---|
beginAuthentication_interfaceNotImplemented_returnFalse ( ) | ||
beginAuthentication_twoFactorDisabled_returnFalse ( ) | ||
beginAuthentication_twoFactorPossible_returnTrue ( ) | ||
getTrustedOptions ( ) : array | Test values for trusted option in requestAuthenticationCode. | |
requestAuthenticationCode_invalidCode_displayFlashMessage ( ) | ||
requestAuthenticationCode_notPostRequest_displayForm ( ) | ||
requestAuthenticationCode_postRequest_validateCode ( ) | ||
requestAuthenticationCode_trustedOption_assignToTemplate ( $trustedOption ) | ||
requestAuthenticationCode_validCode_returnRedirect ( ) | ||
requestAuthenticationCode_validCode_setAuthenticated ( ) | ||
setUp ( ) |
Method | Description | |
---|---|---|
getAuthenticationContext ( PHPUnit_Framework_MockObject_MockObject $user = null, PHPUnit_Framework_MockObject_MockObject $request = null, PHPUnit_Framework_MockObject_MockObject $session = null, boolean $useTrustedOption = true ) : PHPUnit_Framework_MockObject_MockObject | ||
getFlashBag ( ) : PHPUnit_Framework_MockObject_MockObject | ||
getPostCodeRequest ( $code = 12345 ) : PHPUnit_Framework_MockObject_MockObject | ||
getRequest ( ) : PHPUnit_Framework_MockObject_MockObject | ||
getSession ( PHPUnit_Framework_MockObject_MockObject $flashBag = null ) : PHPUnit_Framework_MockObject_MockObject | ||
getUser ( string $secret = 'SECRET' ) : PHPUnit_Framework_MockObject_MockObject | ||
stubGoogleAuthenticator ( boolean $status ) | Stub the GoogleAuthenticator checkCode method. |
public getTrustedOptions ( ) : array | ||
return | array |
public requestAuthenticationCode_trustedOption_assignToTemplate ( $trustedOption ) |