interface BackupCodeGeneratorInterface (View source)

A service class implementation for generating and hashing backup codes.

Methods

public
array
generate()

Generate a list of backup codes and return them in an array of state objects.

public
array
getCharacterSet()

Returns a list of possible characters to use in backup codes.

Details

array generate()

Generate a list of backup codes and return them in an array of state objects.

Return Value

array

array getCharacterSet()

Returns a list of possible characters to use in backup codes.

Return Value

array