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