Method: Github::Authorization#authorize_url
- Defined in:
- lib/github_api/authorization.rb
#authorize_url(params = {}) ⇒ Object
Sends authorization request to GitHub.
Parameters
-
:redirect_uri- Optional string. -
:scope- Optional string. Comma separated list of scopes. Available scopes:-
(no scope) - public read-only access (includes public user profile info, public repo info, and gists).
-
user- DB read/write access to profile info only. -
public_repo- DB read/write access, and Git read access to public repos. -
repo- DB read/write access, and Git read access to public and private repos. -
gist- write access to gists.
-
37 38 39 40 |
# File 'lib/github_api/authorization.rb', line 37 def (params = {}) _verify_client client.auth_code.(params) end |