Skip to content

Commit

Permalink
fix typo of "verifier"
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Oct 9, 2023
1 parent 005a23a commit 6c5f94c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion provider/github-app-token/github/app_access_tokens_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestCreateAppAccessToken(t *testing.T) {
}
return jwa.RS256.New().NewSigningKey(key), nil
}),
AlgorithmVerfier: jwt.AllowedAlgorithms{jwa.RS256},
AlgorithmVerifier: jwt.AllowedAlgorithms{jwa.RS256},
AudienceVerifier: jwt.UnsecureAnyAudience,
IssuerSubjectVerifier: jwt.Issuer("123456"),
}
Expand Down
2 changes: 1 addition & 1 deletion provider/github-app-token/github/get_app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestGetApp(t *testing.T) {
}
return jwa.RS256.New().NewSigningKey(key), nil
}),
AlgorithmVerfier: jwt.AllowedAlgorithms{jwa.RS256},
AlgorithmVerifier: jwt.AllowedAlgorithms{jwa.RS256},
AudienceVerifier: jwt.UnsecureAnyAudience,
IssuerSubjectVerifier: jwt.Issuer("123456"),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestGetReposInstallation(t *testing.T) {
}
return jwa.RS256.New().NewSigningKey(key), nil
}),
AlgorithmVerfier: jwt.AllowedAlgorithms{jwa.RS256},
AlgorithmVerifier: jwt.AllowedAlgorithms{jwa.RS256},
AudienceVerifier: jwt.UnsecureAnyAudience,
IssuerSubjectVerifier: jwt.Issuer("123456"),
}
Expand Down
2 changes: 1 addition & 1 deletion provider/github-app-token/github/parse_id_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (c *Client) ParseIDToken(ctx context.Context, idToken string) (*ActionsIDTo
key = header.Algorithm().New().NewSigningKey(jwk)
return
}),
AlgorithmVerfier: jwt.AllowedAlgorithms{jwa.RS256},
AlgorithmVerifier: jwt.AllowedAlgorithms{jwa.RS256},
AudienceVerifier: jwt.UnsecureAnyAudience,
IssuerSubjectVerifier: jwt.Issuer(oidcIssuer),
}
Expand Down

0 comments on commit 6c5f94c

Please sign in to comment.