10 references to JwtSerializerOptions
dotnet-user-jwts (10)
Commands\CreateCommand.cs (1)
274reporter.Output(JsonSerializer.Serialize(jwt, JwtSerializerOptions.Default));
Commands\ListCommand.cs (2)
57reporter.Output(JsonSerializer.Serialize(jwts, JwtSerializerOptions.Default)); 61reporter.Output(JsonSerializer.Serialize(Array.Empty<Jwt>(), JwtSerializerOptions.Default));
Helpers\DevJwtCliHelpers.cs (1)
167reporter.Output(JsonSerializer.Serialize(jwt, JwtSerializerOptions.Default));
Helpers\JwtAuthenticationSchemeSettings.cs (4)
19var config = JsonSerializer.Deserialize<JsonObject>(reader, JwtSerializerOptions.Default); 61JsonSerializer.Serialize(writer, config, JwtSerializerOptions.Default); 67var config = JsonSerializer.Deserialize<JsonObject>(reader, JwtSerializerOptions.Default); 77JsonSerializer.Serialize(writer, config, JwtSerializerOptions.Default);
Helpers\JwtStore.cs (1)
36Jwts = JsonSerializer.Deserialize<IDictionary<string, Jwt>>(fileStream, JwtSerializerOptions.Default) ?? new Dictionary<string, Jwt>();
Helpers\SigningKeysHandler.cs (1)
71secrets = JsonSerializer.Deserialize<JsonObject>(secretsFileStream, JwtSerializerOptions.Default);