Documentation

LoginLinkHandler
in package
implements LoginLinkHandlerInterface

FinalYes
Tags
author

Ryan Weaver ryan@symfonycasts.com

Table of Contents

Interfaces

LoginLinkHandlerInterface
A class that is able to create and handle "magic" login links.

Properties

$options  : array<string|int, mixed>
$signatureHasher  : mixed
$urlGenerator  : mixed
$userProvider  : mixed

Methods

__construct()  : mixed
consumeLoginLink()  : UserInterface
Validates if this request contains a login link and returns the associated User.
createLoginLink()  : LoginLinkDetails
Generate a link that can be used to authenticate as the given user.

Properties

Methods

Validates if this request contains a login link and returns the associated User.

public consumeLoginLink(Request $request) : UserInterface

Throw InvalidLoginLinkExceptionInterface if the link is invalid.

Parameters
$request : Request
Return values
UserInterface

        
On this page

Search results