Skip to content

Commit

Permalink
Stricter config (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg authored Nov 29, 2023
1 parent 031acbd commit 1119da7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oauth2.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ type Config struct {
Mode Mode // Mode represents how tokens are represented in requests.
RedirectURL string // RedirectURL is the URL to redirect users going through the OAuth flow.
Scopes []string // Scope specifies optional requested permissions.

_ struct{} // enforce explicit field names.
}

// Mode represents how requests for tokens are authenticated to the server.
Expand Down

0 comments on commit 1119da7

Please sign in to comment.