OXID eShop CE  6.5.2
OxidEsales\EshopCommunity\Internal\Domain\Authentication\Generator\RandomTokenGenerator Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Internal\Domain\Authentication\Generator\RandomTokenGenerator:
+ Collaboration diagram for OxidEsales\EshopCommunity\Internal\Domain\Authentication\Generator\RandomTokenGenerator:

Public Member Functions

 getAlphanumericToken (int $length)
 
 getHexToken (int $length)
 

Private Member Functions

 getAlphanumericString (int $length)
 
 getHexString (int $length)
 
 removeNonAlphanumericCharacters (string $base64string)
 
 getRandomBytes (int $length)
 

Private Attributes

const BASE_64_NON_ALPHANUMERIC_CHARACTERS = ['+', '/', '=']
 

Member Function Documentation

◆ getAlphanumericString()

OxidEsales\EshopCommunity\Internal\Domain\Authentication\Generator\RandomTokenGenerator::getAlphanumericString ( int  $length)
private

◆ getAlphanumericToken()

OxidEsales\EshopCommunity\Internal\Domain\Authentication\Generator\RandomTokenGenerator::getAlphanumericToken ( int  $length)

◆ getHexString()

OxidEsales\EshopCommunity\Internal\Domain\Authentication\Generator\RandomTokenGenerator::getHexString ( int  $length)
private

◆ getHexToken()

OxidEsales\EshopCommunity\Internal\Domain\Authentication\Generator\RandomTokenGenerator::getHexToken ( int  $length)

◆ getRandomBytes()

OxidEsales\EshopCommunity\Internal\Domain\Authentication\Generator\RandomTokenGenerator::getRandomBytes ( int  $length)
private

◆ removeNonAlphanumericCharacters()

OxidEsales\EshopCommunity\Internal\Domain\Authentication\Generator\RandomTokenGenerator::removeNonAlphanumericCharacters ( string  $base64string)
private

Member Data Documentation

◆ BASE_64_NON_ALPHANUMERIC_CHARACTERS

const OxidEsales\EshopCommunity\Internal\Domain\Authentication\Generator\RandomTokenGenerator::BASE_64_NON_ALPHANUMERIC_CHARACTERS = ['+', '/', '=']
private

The documentation for this class was generated from the following file: