Skip to content

Commit

Permalink
Merge pull request google#53 from mahiuchun/master
Browse files Browse the repository at this point in the history
Fix Installation
  • Loading branch information
wora authored Sep 18, 2018
2 parents bf34fda + a63a493 commit 3f94266
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ https://github.com/golang/go/wiki/GOPATH))

```bash
# Get the package from Github
$ go get github.com/google/oauth2l/go/oauth2l
$ go get github.com/google/oauth2l

# Install the package into your $GOPATH/bin/
$ go install github.com/google/oauth2l/go/oauth2l
$ go install github.com/google/oauth2l

# Fetch the access token from your credentials with cloud-platform scope
$ ~/go/bin/oauth2l fetch --json ~/your_credentials.json cloud-platform
Expand Down
3 changes: 3 additions & 0 deletions sgauth/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ type Settings struct {
// A user specified project that is responsible for the request quota and
// billing charges.
QuotaProject string
// IAM context attributes
// UNIMPLEMENTED
IAMAuthToken string
// End-user OAuth Flow handler that redirects the user to the given URL
// and returns the token.
OAuthFlowHandler func(url string) (token string, err error)
Expand Down

0 comments on commit 3f94266

Please sign in to comment.