Cake\Controller\Component\AuthComponent::authenticationProvider PHP Method

authenticationProvider() public method

If login was called during this request and the user was successfully authenticated, this function will return the instance of the authentication object that was used for logging the user in.
public authenticationProvider ( ) : Cake\Auth\BaseAuthenticate | null
return Cake\Auth\BaseAuthenticate | null
    public function authenticationProvider()
    {
        return $this->_authenticationProvider;
    }