/dports/www/writefreely/writefreely-0.13.1/ |
H A D | oauth.go | 110 type oauthClient interface { interface 130 oauthClient oauthClient member 146 …state, err := h.DB.GenerateOAuthState(ctx, h.oauthClient.GetProvider(), h.oauthClient.GetClientID(… 159 location, err := h.oauthClient.buildLoginURL(state) 180 oauthClient := slackOauthClient{ 205 oauthClient := writeAsOauthClient{ 233 oauthClient := gitlabOauthClient{ 260 oauthClient := genericOauthClient{ 292 oauthClient := giteaOauthClient{ 305 func configureOauthRoutes(parentHandler *Handler, r *mux.Router, app *App, oauthClient oauthClient,… argument [all …]
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/garyburd/go-oauth/examples/twitteroob/ |
H A D | main.go | 29 var oauthClient = oauth.Client{ var 42 return json.Unmarshal(b, &oauthClient.Credentials) 50 tempCred, err := oauthClient.RequestTemporaryCredentials(nil, "oob", nil) 55 u := oauthClient.AuthorizationURL(tempCred, nil) 62 tokenCred, _, err := oauthClient.RequestToken(nil, tempCred, code) 67 resp, err := oauthClient.Get(nil, tokenCred,
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/ChimeraCoder/anaconda/vendor/github.com/garyburd/go-oauth/examples/twitteroob/ |
H A D | main.go | 29 var oauthClient = oauth.Client{ var 42 return json.Unmarshal(b, &oauthClient.Credentials) 50 tempCred, err := oauthClient.RequestTemporaryCredentials(nil, "oob", nil) 55 u := oauthClient.AuthorizationURL(tempCred, nil) 62 tokenCred, _, err := oauthClient.RequestToken(nil, tempCred, code) 67 resp, err := oauthClient.Get(nil, tokenCred,
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/ChimeraCoder/anaconda/ |
H A D | twitter.go | 71 oauthClient oauth.Client member 111 oauthClient: oauth.Client{ 136 api.oauthClient.Credentials.Token = consumer_key 137 api.oauthClient.Credentials.Secret = consumer_secret 189 tempCred, err := c.oauthClient.RequestTemporaryCredentials(http.DefaultClient, callback, nil) 193 return c.oauthClient.AuthorizationURL(tempCred, nil), tempCred, nil 200 return c.oauthClient.RequestToken(http.DefaultClient, tempCred, verifier) 221 resp, err := c.oauthClient.Get(c.HttpClient, c.Credentials, urlStr, form) 231 resp, err := c.oauthClient.Post(c.HttpClient, c.Credentials, urlStr, form) 241 resp, err := c.oauthClient.Delete(c.HttpClient, c.Credentials, urlStr, form) [all …]
|
/dports/security/lego/lego-4.5.3/vendor/github.com/linode/linodego/test/integration/ |
H A D | account_oauth_client_test.go | 36 …client, oauthClient, teardown, err := setupOAuthClient(t, createOpts, "fixtures/TestGetOAuthClient… 42 i, err := client.GetOAuthClient(context.Background(), oauthClient.ID) 74 oauthClient, err := client.CreateOAuthClient(context.Background(), createOpts) 80 if err := client.DeleteOAuthClient(context.Background(), oauthClient.ID); err != nil { 85 return client, oauthClient, teardown, err
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/linode/linodego/test/integration/ |
H A D | account_oauth_client_test.go | 36 …client, oauthClient, teardown, err := setupOAuthClient(t, createOpts, "fixtures/TestGetOAuthClient… 42 i, err := client.GetOAuthClient(context.Background(), oauthClient.ID) 74 oauthClient, err := client.CreateOAuthClient(context.Background(), createOpts) 80 if err := client.DeleteOAuthClient(context.Background(), oauthClient.ID); err != nil { 85 return client, oauthClient, teardown, err
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/ChimeraCoder/anaconda/vendor/github.com/garyburd/go-oauth/examples/smugmug/ |
H A D | main.go | 37 var oauthClient = oauth.Client{ var 50 return json.Unmarshal(b, &oauthClient.Credentials) 57 tempCred, err := oauthClient.RequestTemporaryCredentials(nil, callback, nil) 68 http.Redirect(w, r, oauthClient.AuthorizationURL(tempCred, nil), 302) 79 tokenCred, _, err := oauthClient.RequestToken(nil, tempCred, r.FormValue("oauth_verifier")) 123 resp, err := oauthClient.Get(nil, cred, apiURL, form) 133 resp, err := oauthClient.Post(nil, cred, apiURL, form)
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/garyburd/go-oauth/examples/smugmug/ |
H A D | main.go | 37 var oauthClient = oauth.Client{ var 50 return json.Unmarshal(b, &oauthClient.Credentials) 57 tempCred, err := oauthClient.RequestTemporaryCredentials(nil, callback, nil) 68 http.Redirect(w, r, oauthClient.AuthorizationURL(tempCred, nil), 302) 79 tokenCred, _, err := oauthClient.RequestToken(nil, tempCred, r.FormValue("oauth_verifier")) 123 resp, err := oauthClient.Get(nil, cred, apiURL, form) 133 resp, err := oauthClient.Post(nil, cred, apiURL, form)
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/garyburd/go-oauth/examples/discogs/ |
H A D | main.go | 37 var oauthClient = oauth.Client{ var 51 return json.Unmarshal(b, &oauthClient.Credentials) 58 tempCred, err := oauthClient.RequestTemporaryCredentials(nil, callback, nil) 69 http.Redirect(w, r, oauthClient.AuthorizationURL(tempCred, nil), 302) 80 tokenCred, _, err := oauthClient.RequestToken(nil, tempCred, r.FormValue("oauth_verifier")) 122 resp, err := oauthClient.Get(nil, cred, "https://api.discogs.com"+endpoint, form)
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/ChimeraCoder/anaconda/vendor/github.com/garyburd/go-oauth/examples/discogs/ |
H A D | main.go | 37 var oauthClient = oauth.Client{ var 51 return json.Unmarshal(b, &oauthClient.Credentials) 58 tempCred, err := oauthClient.RequestTemporaryCredentials(nil, callback, nil) 69 http.Redirect(w, r, oauthClient.AuthorizationURL(tempCred, nil), 302) 80 tokenCred, _, err := oauthClient.RequestToken(nil, tempCred, r.FormValue("oauth_verifier")) 122 resp, err := oauthClient.Get(nil, cred, "https://api.discogs.com"+endpoint, form)
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/ChimeraCoder/anaconda/vendor/github.com/garyburd/go-oauth/examples/dropbox/ |
H A D | main.go | 37 var oauthClient = oauth.Client{ var 51 return json.Unmarshal(b, &oauthClient.Credentials) 60 tempCred, err := oauthClient.RequestTemporaryCredentials(nil, "", nil) 71 …http.Redirect(w, r, oauthClient.AuthorizationURL(tempCred, url.Values{"oauth_callback": {callback}… 82 tokenCred, _, err := oauthClient.RequestToken(nil, tempCred, r.FormValue("oauth_verifier")) 143 resp, err := oauthClient.Get(nil, cred, "https://api.dropbox.com/1/account/info", nil)
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/garyburd/go-oauth/examples/dropbox/ |
H A D | main.go | 37 var oauthClient = oauth.Client{ var 51 return json.Unmarshal(b, &oauthClient.Credentials) 60 tempCred, err := oauthClient.RequestTemporaryCredentials(nil, "", nil) 71 …http.Redirect(w, r, oauthClient.AuthorizationURL(tempCred, url.Values{"oauth_callback": {callback}… 82 tokenCred, _, err := oauthClient.RequestToken(nil, tempCred, r.FormValue("oauth_verifier")) 143 resp, err := oauthClient.Get(nil, cred, "https://api.dropbox.com/1/account/info", nil)
|
/dports/sysutils/go-wtf/wtf-0.21.0/modules/github/ |
H A D | github_repo.go | 81 func (repo *GithubRepo) oauthClient() *http.Client { func 90 oauthClient := repo.oauthClient() 93 return ghb.NewEnterpriseClient(repo.baseURL, repo.uploadURL, oauthClient) 96 return ghb.NewClient(oauthClient), nil
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/garyburd/go-oauth/examples/twitter/ |
H A D | main.go | 37 var oauthClient = oauth.Client{ var 52 return json.Unmarshal(b, &oauthClient.Credentials) 77 tempCred, err := oauthClient.RequestTemporaryCredentials(nil, callback, nil) 88 http.Redirect(w, r, oauthClient.AuthorizationURL(tempCred, nil), 302) 99 tokenCred, _, err := oauthClient.RequestToken(nil, tempCred, r.FormValue("oauth_verifier")) 141 resp, err := oauthClient.Get(nil, cred, urlStr, form) 151 resp, err := oauthClient.Post(nil, cred, urlStr, form) 236 signinOAuthClient = oauthClient
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/ChimeraCoder/anaconda/vendor/github.com/garyburd/go-oauth/examples/twitter/ |
H A D | main.go | 37 var oauthClient = oauth.Client{ var 52 return json.Unmarshal(b, &oauthClient.Credentials) 77 tempCred, err := oauthClient.RequestTemporaryCredentials(nil, callback, nil) 88 http.Redirect(w, r, oauthClient.AuthorizationURL(tempCred, nil), 302) 99 tokenCred, _, err := oauthClient.RequestToken(nil, tempCred, r.FormValue("oauth_verifier")) 141 resp, err := oauthClient.Get(nil, cred, urlStr, form) 151 resp, err := oauthClient.Post(nil, cred, urlStr, form) 236 signinOAuthClient = oauthClient
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/garyburd/go-oauth/examples/appengine/ |
H A D | app.go | 36 var oauthClient = oauth.Client{ var 116 tempCred, err := oauthClient.RequestTemporaryCredentials(httpClient, callback, nil) 126 http.Redirect(c.w, c.r, oauthClient.AuthorizationURL(tempCred, nil), 302) 145 …tokenCred, _, err := oauthClient.RequestToken(httpClient, tempCred, c.r.FormValue("oauth_verifier"… 185 …resp, err := oauthClient.Get(httpClient, &u.TwitterCred, "https://api.twitter.com/1.1/statuses/hom… 208 if err := json.Unmarshal(b, &oauthClient.Credentials); err != nil {
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/garyburd/go-oauth/examples/quickbooks/ |
H A D | main.go | 38 var oauthClient = oauth.Client{ var 52 return json.Unmarshal(b, &oauthClient.Credentials) 59 tempCred, err := oauthClient.RequestTemporaryCredentials(nil, callback, nil) 70 http.Redirect(w, r, oauthClient.AuthorizationURL(tempCred, nil), 302) 81 tokenCred, _, err := oauthClient.RequestToken(nil, tempCred, r.FormValue("oauth_verifier")) 126 resp, err := oauthClient.Get(nil,
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/ChimeraCoder/anaconda/vendor/github.com/garyburd/go-oauth/examples/appengine/ |
H A D | app.go | 36 var oauthClient = oauth.Client{ var 116 tempCred, err := oauthClient.RequestTemporaryCredentials(httpClient, callback, nil) 126 http.Redirect(c.w, c.r, oauthClient.AuthorizationURL(tempCred, nil), 302) 145 …tokenCred, _, err := oauthClient.RequestToken(httpClient, tempCred, c.r.FormValue("oauth_verifier"… 185 …resp, err := oauthClient.Get(httpClient, &u.TwitterCred, "https://api.twitter.com/1.1/statuses/hom… 208 if err := json.Unmarshal(b, &oauthClient.Credentials); err != nil {
|
/dports/www/beehive/beehive-0.4.0/vendor/github.com/ChimeraCoder/anaconda/vendor/github.com/garyburd/go-oauth/examples/quickbooks/ |
H A D | main.go | 38 var oauthClient = oauth.Client{ var 52 return json.Unmarshal(b, &oauthClient.Credentials) 59 tempCred, err := oauthClient.RequestTemporaryCredentials(nil, callback, nil) 70 http.Redirect(w, r, oauthClient.AuthorizationURL(tempCred, nil), 302) 81 tokenCred, _, err := oauthClient.RequestToken(nil, tempCred, r.FormValue("oauth_verifier")) 126 resp, err := oauthClient.Get(nil,
|
/dports/sysutils/kubectl/kubernetes-1.22.2/staging/src/k8s.io/legacy-cloud-providers/gce/ |
H A D | token_source.go | 76 oauthClient *http.Client member 98 res, err := a.oauthClient.Do(req) 123 oauthClient: client,
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/digitalocean/godo/util/ |
H A D | droplet_test.go | 18 oauthClient := oauth2.NewClient(ctx, t) 19 client := godo.NewClient(oauthClient)
|
/dports/security/vault/vault-1.8.2/vendor/github.com/digitalocean/godo/util/ |
H A D | droplet_test.go | 18 oauthClient := oauth2.NewClient(ctx, t) 19 client := godo.NewClient(oauthClient)
|
/dports/net/rclone/rclone-1.57.0/vendor/github.com/putdotio/go-putio/putio/ |
H A D | example_test.go | 18 oauthClient := oauth2.NewClient(context.TODO(), tokenSource) 19 client := putio.NewClient(oauthClient)
|
/dports/misc/perkeep/perkeep-0.11/pkg/importer/flickr/ |
H A D | flickr.go | 110 oauthClient *oauth.Client // No need to guard, used read-only. member 137 oauthClient: &oauth.Client{ 501 r.oauthClient, 508 r.oauthClient, 514 oauthClient, err := ctx.NewOAuthClient(oAuthURIs) 520 …tempCred, err := oauthClient.RequestTemporaryCredentials(ctxutil.Client(ctx), ctx.CallbackURL(), n… 535 authURL := oauthClient.AuthorizationURL(tempCred, url.Values{"perms": {"read"}}) 553 oauthClient, err := ctx.NewOAuthClient(oAuthURIs) 559 tokenCred, vals, err := oauthClient.RequestToken(
|
/dports/misc/perkeep/perkeep-0.11/pkg/blobserver/google/drive/service/ |
H A D | service.go | 50 func New(oauthClient *http.Client, parentID string) (*DriveService, error) { 51 apiservice, err := client.New(oauthClient) 59 service := &DriveService{client: oauthClient, apiservice: apiservice, parentID: parentID}
|