Skip to content

Commit 915ad46

Browse files
author
thisisaaronland
committed
update vendor deps
1 parent b5ef658 commit 915ad46

File tree

17 files changed

+90
-104
lines changed

17 files changed

+90
-104
lines changed

flags/oauth2.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"fmt"
88
"github.com/aaronland/go-http-crumb"
99
"github.com/aaronland/go-string/random"
10-
"github.com/sfomuseum/go-flags"
10+
"github.com/sfomuseum/go-flags/lookup"
1111
"github.com/sfomuseum/go-http-oauth2"
1212
goog_oauth2 "golang.org/x/oauth2"
1313
"net/url"
@@ -45,35 +45,35 @@ func OAuth2OptionsWithFlagSet(ctx context.Context, fs *flag.FlagSet) (*oauth2.Op
4545

4646
oauth2_func := func() {
4747

48-
client_id, err := flags.StringVar(fs, "oauth2-client-id")
48+
client_id, err := lookup.StringVar(fs, "oauth2-client-id")
4949

5050
if err != nil {
5151
oauth2_err = err
5252
return
5353
}
5454

55-
client_secret, err := flags.StringVar(fs, "oauth2-client-secret")
55+
client_secret, err := lookup.StringVar(fs, "oauth2-client-secret")
5656

5757
if err != nil {
5858
oauth2_err = err
5959
return
6060
}
6161

62-
auth_url, err := flags.StringVar(fs, "oauth2-auth-url")
62+
auth_url, err := lookup.StringVar(fs, "oauth2-auth-url")
6363

6464
if err != nil {
6565
oauth2_err = err
6666
return
6767
}
6868

69-
token_url, err := flags.StringVar(fs, "oauth2-token-url")
69+
token_url, err := lookup.StringVar(fs, "oauth2-token-url")
7070

7171
if err != nil {
7272
oauth2_err = err
7373
return
7474
}
7575

76-
str_scopes, err := flags.StringVar(fs, "oauth2-scopes")
76+
str_scopes, err := lookup.StringVar(fs, "oauth2-scopes")
7777

7878
if err != nil {
7979
oauth2_err = err
@@ -82,14 +82,14 @@ func OAuth2OptionsWithFlagSet(ctx context.Context, fs *flag.FlagSet) (*oauth2.Op
8282

8383
scopes := strings.Split(str_scopes, ",")
8484

85-
path_auth, err := flags.StringVar(fs, "path-oauth2-auth")
85+
path_auth, err := lookup.StringVar(fs, "path-oauth2-auth")
8686

8787
if err != nil {
8888
oauth2_err = err
8989
return
9090
}
9191

92-
path_token, err := flags.StringVar(fs, "path-oauth2-token")
92+
path_token, err := lookup.StringVar(fs, "path-oauth2-token")
9393

9494
if err != nil {
9595
oauth2_err = err
@@ -107,7 +107,7 @@ func OAuth2OptionsWithFlagSet(ctx context.Context, fs *flag.FlagSet) (*oauth2.Op
107107
RedirectURL: path_token,
108108
}
109109

110-
cookie_uri, err := flags.StringVar(fs, "oauth2-cookie-uri")
110+
cookie_uri, err := lookup.StringVar(fs, "oauth2-cookie-uri")
111111

112112
if err != nil {
113113
oauth2_err = err

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ go 1.12
44

55
require (
66
github.com/aaronland/go-http-cookie v0.3.2
7-
github.com/aaronland/go-http-crumb v0.1.0
7+
github.com/aaronland/go-http-crumb v0.1.1
88
github.com/aaronland/go-http-sanitize v0.0.4
99
github.com/aaronland/go-string v0.1.2
1010
github.com/awnumar/memguard v0.22.2
11-
github.com/sfomuseum/go-flags v0.1.0
11+
github.com/sfomuseum/go-flags v0.2.1
1212
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
1313
)

go.sum

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,19 @@ github.com/aaronland/go-http-crumb v0.0.6 h1:R+hGU1SdkKxLqKIuabBwXpemo7VqFaCVYg4
1717
github.com/aaronland/go-http-crumb v0.0.6/go.mod h1:mf4QGr+5Mraf6ta1CwLJHSe31yWgDgmM8OxcLilnrpY=
1818
github.com/aaronland/go-http-crumb v0.1.0 h1:YfsCDZMZQWvkBvrre5TVrA1Kbkmxc3ZzbpDej/vCX8E=
1919
github.com/aaronland/go-http-crumb v0.1.0/go.mod h1:/9rG/lnTmpoVDr4gv2m9zCJjvgrscnntKmgY9l5PYEo=
20+
github.com/aaronland/go-http-crumb v0.1.1 h1:iwN8JdObGw8olgvXnGTIVM/vIozUk3TfelVX3CdiKjY=
21+
github.com/aaronland/go-http-crumb v0.1.1/go.mod h1:SSHOHwYW+5mTBjCE/A5kFwCjXA53cXZ2VAFXZSAcfgA=
2022
github.com/aaronland/go-http-rewrite v0.0.4 h1:lI8cDF/nINjuSPrYpwvlJLa1cC32h1nvmBwRRHs9sow=
2123
github.com/aaronland/go-http-rewrite v0.0.4/go.mod h1:g62jjXpsArD0lzJLs9bVLR9Locdt3f4OmqFkkJL2rQU=
24+
github.com/aaronland/go-http-rewrite v0.0.5 h1:QA1AE5IVDi76FeFBGlomyKlwMfcaIhBvLzFGNsO/2Co=
25+
github.com/aaronland/go-http-rewrite v0.0.5/go.mod h1:HdrFqPsolWHaLgDliK+HUuhuJaJM7YaN7q1fCMEqjYQ=
2226
github.com/aaronland/go-http-sanitize v0.0.1/go.mod h1:qUi4rzUPcpMntpUFnHK00yQI5vd/Q7x9MFYwX91/ygI=
2327
github.com/aaronland/go-http-sanitize v0.0.4 h1:oAYe5DbtbDS6x5Rygv5II6fDHzATGIAyY4/ZDZ63G2w=
2428
github.com/aaronland/go-http-sanitize v0.0.4/go.mod h1:qUi4rzUPcpMntpUFnHK00yQI5vd/Q7x9MFYwX91/ygI=
2529
github.com/aaronland/go-roster v0.0.1 h1:r1l4n1HfWvEtOXZvhfXX0Won9Xf6QJsigdUdzOtuy/M=
2630
github.com/aaronland/go-roster v0.0.1/go.mod h1:AcovpxlG1XxJxX2Fjqlm63fEIBhCjEIBV4lP87FZDmI=
31+
github.com/aaronland/go-roster v0.0.2 h1:2Fu7v4VQLRLRL/Zgr6R9S5JxsW75Ab/K88QtMVX532s=
32+
github.com/aaronland/go-roster v0.0.2/go.mod h1:AcovpxlG1XxJxX2Fjqlm63fEIBhCjEIBV4lP87FZDmI=
2733
github.com/aaronland/go-secretbox v0.1.0 h1:1M4LVD/qvdmZac+vjhjPt1SDobv++cASt8izGSrzN4U=
2834
github.com/aaronland/go-secretbox v0.1.0/go.mod h1:HdQrEPwc1KCsqMzmC6OCDFt31JnDhkTl3waaHTXYW3g=
2935
github.com/aaronland/go-secretbox v0.2.0 h1:0d/FN0+Mi9ldwV6OZpS4rn6JuHQDhXeFdz6YwoJUZAk=
@@ -46,6 +52,8 @@ github.com/sfomuseum/go-flags v0.0.2 h1:gdhf3A8oxHACAeFQpEHUplfLjkBCb6dILaftSSMD
4652
github.com/sfomuseum/go-flags v0.0.2/go.mod h1:54KCZIGmvZkIOrSCHSNMvgSTKH2gJRJyISH+AiI+55w=
4753
github.com/sfomuseum/go-flags v0.1.0 h1:iXE7KG28aMNuMnxqeQq1cmA12xCe/eX57bU9b370FGk=
4854
github.com/sfomuseum/go-flags v0.1.0/go.mod h1:54KCZIGmvZkIOrSCHSNMvgSTKH2gJRJyISH+AiI+55w=
55+
github.com/sfomuseum/go-flags v0.2.1 h1:rrn2xVEuUzxdhQ8CFaHMmNwJsE03bmOBNbvkVKSX7oM=
56+
github.com/sfomuseum/go-flags v0.2.1/go.mod h1:54KCZIGmvZkIOrSCHSNMvgSTKH2gJRJyISH+AiI+55w=
4957
github.com/whosonfirst/go-sanitize v0.1.0 h1:ygSqCnakwdzH/m8UEa15zXGDsoo5/JJeRkgmAjXZrBU=
5058
github.com/whosonfirst/go-sanitize v0.1.0/go.mod h1:p/emgbafMM0p5iVAz2XWwecYPl06Tw4Jos9rhTKIrt8=
5159
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
@@ -63,6 +71,8 @@ golang.org/x/net v0.0.0-20190613194153-d28f0bde5980 h1:dfGZHvZk057jK2MCeWus/TowK
6371
golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
6472
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+slrESplyjG25HgL+k=
6573
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
74+
golang.org/x/net v0.0.0-20200519113804-d87ec0cfa476 h1:E7ct1C6/33eOdrGZKMoyntcEvs2dwZnDe30crG5vpYU=
75+
golang.org/x/net v0.0.0-20200519113804-d87ec0cfa476/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
6676
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw=
6777
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
6878
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

vendor/github.com/aaronland/go-http-crumb/go.mod

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/aaronland/go-http-crumb/go.sum

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/aaronland/go-http-rewrite/go.mod

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/aaronland/go-http-rewrite/go.sum

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/aaronland/go-http-rewrite/html.go

Lines changed: 34 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/aaronland/go-roster/default.go

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/sfomuseum/go-flags/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)