AppserverIo\Appserver\ServletEngine\Authenticator\BasicAuthenticator::getAuthenticateHeader PHP Method

getAuthenticateHeader() public method

Returns the authentication header for response to set
public getAuthenticateHeader ( ) : string
return string
    public function getAuthenticateHeader()
    {
        return sprintf('%s realm="%s"', $this->getAuthType(), $this->getRealmName());
    }