We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae27133 commit cd4f978Copy full SHA for cd4f978
1 file changed
Applications/Backend/Source/HttpsRichardy.Federation.Application/Mappers/JsonWebKeysMapper.cs
@@ -15,11 +15,11 @@ public static JsonWebKeyScheme AsJsonWebKeys(Secret secret)
15
};
16
}
17
18
- public static JsonWebKeySetScheme AsJsonWebKeySetScheme(Secret secret)
+ public static JsonWebKeySetScheme AsJsonWebKeySetScheme(IReadOnlyCollection<Secret> secrets)
19
{
20
return new JsonWebKeySetScheme
21
22
- Keys = [JsonWebKeysMapper.AsJsonWebKeys(secret)]
+ Keys = [.. secrets.Select(secret => JsonWebKeysMapper.AsJsonWebKeys(secret))]
23
24
25
0 commit comments