PHP Class Flarum\Http\Rememberer

Afficher le fichier Open project: flarum/core Class Usage Examples

Protected Properties

Свойство Type Description
$cookieName

Méthodes publiques

Méthode Description
forget ( Psr\Http\Message\ResponseInterface $response )
remember ( Psr\Http\Message\ResponseInterface $response, Flarum\Http\AccessToken $token, $session = false )
rememberUser ( Psr\Http\Message\ResponseInterface $response, $userId )

Private Methods

Méthode Description
createCookie ( )

Method Details

forget() public méthode

public forget ( Psr\Http\Message\ResponseInterface $response )
$response Psr\Http\Message\ResponseInterface

remember() public méthode

public remember ( Psr\Http\Message\ResponseInterface $response, Flarum\Http\AccessToken $token, $session = false )
$response Psr\Http\Message\ResponseInterface
$token Flarum\Http\AccessToken

rememberUser() public méthode

public rememberUser ( Psr\Http\Message\ResponseInterface $response, $userId )
$response Psr\Http\Message\ResponseInterface

Property Details

$cookieName protected_oe property

protected $cookieName