oidc: refactor JWTProfileAssertionClaims
This commit is contained in:
parent
85bd99873d
commit
62a3af61f3
3 changed files with 25 additions and 108 deletions
|
@ -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",
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue