\CodeFareith\CfGoogleAuthenticator\ServiceGoogleQrCodeGenerator

QR code image generator

This class uses Googles chart API to generate a QR code image. This QR code can then be captured with the phone camera to automatically set up the service in the Google Authenticator app.

Summary

Methods
Properties
Constants
__construct()
generateUri()
No public properties found
CORRECTION_L
CORRECTION_M
CORRECTION_Q
CORRECTION_H
BASE_URL
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

CORRECTION_L

CORRECTION_L = L

CORRECTION_M

CORRECTION_M = M

CORRECTION_Q

CORRECTION_Q = Q

CORRECTION_H

CORRECTION_H = H

BASE_URL

BASE_URL = https://chart.googleapis.com/

Methods

__construct()

__construct(int  width = null, int  height = null, string  correction = null, int  margin = null) : 

Parameters

int width
int height
string correction
int margin

Returns

generateUri()

generateUri(\CodeFareith\CfGoogleAuthenticator\Domain\Immutable\AuthenticationSecret  secretImmutable) : 

Parameters

\CodeFareith\CfGoogleAuthenticator\Domain\Immutable\AuthenticationSecret secretImmutable

Returns