Use this method to obtain a URI which can be used to redirect
the user agent to the login page of the service we want to get
access to on behalf of a user.
This URI will contain a dynamically generated state parameter,
which should be returned by the service as a query string
parameter when the user agent is redirected back to this client.
The user session can be started by passing this parameter
to the userSession method, along with the authorization
code.
User login helper method.
Use this method to obtain a URI which can be used to redirect the user agent to the login page of the service we want to get access to on behalf of a user.
This URI will contain a dynamically generated state parameter, which should be returned by the service as a query string parameter when the user agent is redirected back to this client. The user session can be started by passing this parameter to the userSession method, along with the authorization code.