diff --git a/src/Google/Config.php b/src/Google/Config.php index efd887eae..c637250e6 100644 --- a/src/Google/Config.php +++ b/src/Google/Config.php @@ -268,7 +268,17 @@ public function setApprovalPrompt($approval) { $this->setAuthConfig('approval_prompt', $approval); } - + + /** + * Set the prompt parameter + * can be empty ('') or combination of (none, consent, select_account) + * @param $prompt string - the prompt param value + */ + public function setPrompt($prompt) + { + $this->setAuthConfig('prompt', $prompt); + } + /** * Set the developer key for the auth class. Note that this is separate value * from the client ID - if it looks like a URL, its a client ID!