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