Skip to content

Commit b9f0221

Browse files
committed
Use library level defaults selection for token caches
1 parent d5c4bfe commit b9f0221

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/netauth/netkeys
33
go 1.12
44

55
require (
6-
github.com/netauth/netauth v0.3.0-rc1
6+
github.com/netauth/netauth v0.3.0-rc1.0.20191116062114-225054102f87
77
github.com/spf13/pflag v1.0.3
88
github.com/spf13/viper v1.3.2
99
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh
6464
github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg=
6565
github.com/netauth/netauth v0.3.0-rc1 h1:S58w4XdjPz20t7t4Y3lTjvLkUrIa09Ijmwgl/uh3T3I=
6666
github.com/netauth/netauth v0.3.0-rc1/go.mod h1:/gaGDiiS4BGcnMLh8mL2p60S9Jhmvn38DPbhtPcmVXI=
67+
github.com/netauth/netauth v0.3.0-rc1.0.20191116062114-225054102f87 h1:b7nUXz2sUi3M7XICtmSUTnIzKLbTE/0mbaDIL6hn/hc=
68+
github.com/netauth/netauth v0.3.0-rc1.0.20191116062114-225054102f87/go.mod h1:/gaGDiiS4BGcnMLh8mL2p60S9Jhmvn38DPbhtPcmVXI=
6769
github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA=
6870
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
6971
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=

main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ func main() {
4545
log.SetOutput(ioutil.Discard)
4646
}
4747

48-
viper.Set("token.cache", "memory")
4948
c, err := netauth.New()
5049
if err != nil {
5150
log.Println("Error during client initialization:", err)

0 commit comments

Comments
 (0)