pike.git / lib / modules / Web.pmod / Auth.pmod / Github.pike

version» Context lines:

pike.git/lib/modules/Web.pmod/Auth.pmod/Github.pike:1: - /* -  Author: Pontus Östlund <https://profiles.google.com/poppanator> -  -  Permission to copy, modify, and distribute this source for any legal -  purpose granted as long as my name is still attached to it. More -  specifically, the GPL, LGPL and MPL licenses apply to this software. - */ -  +    //! This class is used to OAuth2 authenticate against Github    - inherit Auth.OAuth2.Client; + inherit .OAuth2.Client;      constant OAUTH_AUTH_URI = "https://github.com/login/oauth/authorize";   constant OAUTH_TOKEN_URI = "https://github.com/login/oauth/access_token";      enum Scopes {    SCOPE_REPO = "repo",    SCOPE_GIST = "gist",    SCOPE_USER = "user",    SCOPE_USER_EMAIL = "user:email",    SCOPE_USER_FOLLOW = "user:follow",