File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ type Credential struct {
1515 Type CredentialType `json:"type"`
1616 Env map [string ]string `json:"env"`
1717 Ephemeral bool `json:"ephemeral,omitempty"`
18+ CheckParam string `json:"checkParam"`
1819 ExpiresAt * time.Time `json:"expiresAt"`
1920 RefreshToken string `json:"refreshToken"`
2021}
Original file line number Diff line number Diff line change @@ -1716,6 +1716,7 @@ func TestCredentials(t *testing.T) {
17161716 Type : CredentialTypeTool ,
17171717 Env : map [string ]string {"ENV" : "testing" },
17181718 RefreshToken : "my-refresh-token" ,
1719+ CheckParam : "my-check-param" ,
17191720 })
17201721 require .NoError (t , err )
17211722
@@ -1732,6 +1733,7 @@ func TestCredentials(t *testing.T) {
17321733 require .Contains (t , cred .Env , "ENV" )
17331734 require .Equal (t , cred .Env ["ENV" ], "testing" )
17341735 require .Equal (t , cred .RefreshToken , "my-refresh-token" )
1736+ require .Equal (t , cred .CheckParam , "my-check-param" )
17351737
17361738 // Delete
17371739 err = g .DeleteCredential (context .Background (), "testing" , name )
You can’t perform that action at this time.
0 commit comments