AuthenticationSuccessHandlerInterface

AuthenticationSuccessHandlerInterface

interface AuthenticationSuccessHandlerInterface

Interface for a custom authentication success handler.

If you want to customize the success handling process, instead of overwriting the respective listener globally, you can set a custom success handler which implements this interface.

Methods

Response onAuthenticationSuccess(Request $request, TokenInterface $token)

This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener.

Details

Response onAuthenticationSuccess(Request $request, TokenInterface $token)

This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener.

Parameters

Request $request
TokenInterface $token

Return Value

Response never null
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部