PHP Class Bolt\AccessControl\Token\Generator

Author: Gawain Lynch ([email protected])
Show file Open project: bolt/bolt

Protected Properties

Property Type Description
$token string

Public Methods

Method Description
__construct ( string $username, string $salt, string $remoteIP, string $hostName, string $userAgent, array $cookieOptions, string $algorithm = 'sha256' ) Constructor.
__toString ( )

Method Details

__construct() public method

Constructor.
public __construct ( string $username, string $salt, string $remoteIP, string $hostName, string $userAgent, array $cookieOptions, string $algorithm = 'sha256' )
$username string
$salt string
$remoteIP string
$hostName string
$userAgent string
$cookieOptions array
$algorithm string

__toString() public method

public __toString ( )

Property Details

$token protected property

protected string $token
return string