1 write to Jwts
dotnet-user-jwts (1)
Helpers\JwtStore.cs (1)
36
Jwts
= JsonSerializer.Deserialize<IDictionary<string, Jwt>>(fileStream, JwtSerializerOptions.Default) ?? new Dictionary<string, Jwt>();
11 references to Jwts
dotnet-user-jwts (11)
Commands\ClearCommand.cs (3)
38
var count = jwtStore.
Jwts
.Count;
58
foreach (var jwt in jwtStore.
Jwts
)
63
jwtStore.
Jwts
.Clear();
Commands\CreateCommand.cs (1)
244
jwtStore.
Jwts
.Add(jwtToken.Id, jwt);
Commands\ListCommand.cs (2)
55
if (jwtStore.
Jwts
is { Count: > 0 } jwts)
70
if (jwtStore.
Jwts
is { Count: > 0 } jwts)
Commands\PrintCommand.cs (1)
47
if (!jwtStore.
Jwts
.TryGetValue(id, out var jwt))
Commands\RemoveCommand.cs (2)
40
if (!jwtStore.
Jwts
.TryGetValue(id, out var jwt))
48
jwtStore.
Jwts
.Remove(id);
Helpers\JwtStore.cs (2)
43
if (
Jwts
is not null)
53
JsonSerializer.Serialize(fileStream,
Jwts
);