Forcing User To Re-Authenticate

I am using the auth0 PHP api 5.7.0

I’ve read though the various re-authentication community posts and help docs and using prompt-login or max_age=0 parameters seems the way to go when forcing a user to re-authenticate.

But how do I use these with the PHP api?
$auth0->login($state, null, ['prompt'=>'login', 'max_age' => 0]);
doesn’t seem to achieve anything.

I am using a number of social providers (windows live, twitter, facebook, google etc) as well as Username-Password-Authentication so I’d like to make sure that this will work for all of them.

I’m currently using Auth0 Dev keys with the social providers so I’m not sure if this is an issue or not.