-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include essential options to token cache key (#1161)
- Loading branch information
Showing
4 changed files
with
60 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package tokencache | ||
|
||
import ( | ||
"github.com/int128/kubelogin/pkg/oidc" | ||
"github.com/int128/kubelogin/pkg/tlsclientconfig" | ||
) | ||
|
||
// Key represents a key of a token cache. | ||
type Key struct { | ||
IssuerURL string | ||
ClientID string | ||
ClientSecret string | ||
Username string | ||
ExtraScopes []string | ||
CACertFilename string | ||
CACertData string | ||
SkipTLSVerify bool | ||
Provider oidc.Provider | ||
TLSClientConfig tlsclientconfig.Config | ||
Username string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters