Skip to content

Commit 7d70187

Browse files
committed
chore: remove unused token field
Signed-off-by: Billy Zha <[email protected]>
1 parent 5dcc0f8 commit 7d70187

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

pkg/credentialprovider/identity_bindings_credentials.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ type identityBindingsTokenCredential struct {
6060
type tokenResponse struct {
6161
AccessToken string `json:"access_token"`
6262
ExpiresIn int64 `json:"expires_in"`
63-
TokenType string `json:"token_type"`
6463
}
6564

6665
// createTransport creates an HTTP transport with custom CA

pkg/credentialprovider/identity_bindings_credentials_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ func TestIdentityBindingsTokenCredential_GetToken(t *testing.T) {
200200
resp := tokenResponse{
201201
AccessToken: "test-token",
202202
ExpiresIn: 3600,
203-
TokenType: "Bearer",
204203
}
205204
w.Header().Set("Content-Type", "application/json")
206205
if err := json.NewEncoder(w).Encode(resp); err != nil {

0 commit comments

Comments
 (0)