BasicAuthenticationEntryPoint
in package
implements
AuthenticationEntryPointInterface
BasicAuthenticationEntryPoint starts an HTTP Basic authentication.
Tags
Interfaces, Classes, Traits and Enums
- AuthenticationEntryPointInterface
- Implement this interface for any classes that will be called to "start" the authentication process (see method for more details).
Table of Contents
- $realmName : mixed
- __construct() : mixed
- start() : Response
- Returns a response that directs the user to authenticate.
Properties
$realmName
private
mixed
$realmName
Methods
__construct()
public
__construct(string $realmName) : mixed
Parameters
- $realmName : string
Return values
mixed —start()
Returns a response that directs the user to authenticate.
public
start(Request $request[, AuthenticationException $authException = null ]) : Response
Parameters
- $request : Request
- $authException : AuthenticationException = null