Get the authorization URL.
public getAuthorizeUrl ( array | object $options = [] ) : string | ||
$options | array | object | Optional. Options for the authorization URL. - array scope Optional. Scope(s) to request from the user. - boolean show_dialog Optional. Whether or not to force the user to always approve the app. Default is false. - string state Optional. A CSRF token. |
return | string | The authorization URL. |