oidc: refactor JWTProfileAssertionClaims

This commit is contained in:
Tim Möhlmann 2023-02-19 15:49:25 +02:00
parent 85bd99873d
commit 62a3af61f3
3 changed files with 25 additions and 108 deletions

View file

@ -149,7 +149,7 @@ var (
"foo": "bar",
},
}
jwtProfileAssertionRegressData = &jwtProfileAssertion{
jwtProfileAssertionRegressData = &JWTProfileAssertionClaims{
PrivateKeyID: "8888",
PrivateKey: []byte("qwerty"),
Issuer: "zitadel",
@ -157,7 +157,7 @@ var (
Audience: Audience{"foo", "bar"},
Expiration: 12345,
IssuedAt: 12000,
customClaims: map[string]interface{}{
Claims: map[string]interface{}{
"foo": "bar",
},
}