2 instantiations of SigningKey
dotnet-user-jwts (2)
_generated\2\JwtSerializerContext.SigningKey.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
((string)args[0], (string)args[1], (string)args[2], (int)args[3]),
Helpers\SigningKeysHandler.cs (1)
78
var key = new
SigningKey
(shortId, issuer, Convert.ToBase64String(newKeyMaterial), signingKeyLength);
52 references to SigningKey
dotnet-user-jwts (52)
_generated\12\JwtSerializerContext.GetJsonTypeInfo.g.cs (2)
30
if (type == typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
))
34
if (type == typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
[]))
_generated\2\JwtSerializerContext.SigningKey.g.cs (35)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
>? _SigningKey;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
> SigningKey
22
get => _SigningKey ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
> Create_SigningKey(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string), typeof(string), typeof(int)}, modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
),
60
Getter = static obj => ((global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
)obj).Id,
61
Setter = static (obj, value) => __set_SigningKey_Id((global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
)obj, value!),
68
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
).GetProperty("Id", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
),
80
Getter = static obj => ((global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
)obj).Issuer,
81
Setter = static (obj, value) => __set_SigningKey_Issuer((global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
)obj, value!),
88
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
).GetProperty("Issuer", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
),
100
Getter = static obj => ((global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
)obj).Value,
101
Setter = static (obj, value) => __set_SigningKey_Value((global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
)obj, value!),
108
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
118
DeclaringType = typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
),
120
Getter = static obj => ((global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
)obj).Length,
121
Setter = static (obj, value) => __set_SigningKey_Length((global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
)obj, value!),
128
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
).GetProperty("Length", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
138
private void SigningKeySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
? value)
148
writer.WriteString(PropName_Id, ((global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
)value).Id);
149
writer.WriteString(PropName_Issuer, ((global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
)value).Issuer);
150
writer.WriteString(PropName_Value, ((global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
)value).Value);
151
writer.WriteNumber(PropName_Length, ((global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
)value).Length);
200
private static extern void __set_SigningKey_Id(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
obj, string value);
202
private static extern void __set_SigningKey_Issuer(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
obj, string value);
204
private static extern void __set_SigningKey_Value(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
obj, string value);
206
private static extern void __set_SigningKey_Length(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
obj, int value);
_generated\3\JwtSerializerContext.SigningKeyArray.g.cs (10)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
[]>? _SigningKeyArray;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
[]> SigningKeyArray
22
get => _SigningKeyArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
[]>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
[]));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
[]> Create_SigningKeyArray(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
[]> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
[]>
37
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
>(options, info);
47
private void SigningKeyArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.
SigningKey
[]? value)
Helpers\JwtSerializerOptions.cs (2)
25
[JsonSerializable(typeof(
SigningKey
))]
26
[JsonSerializable(typeof(
SigningKey
[]))]
Helpers\SigningKeysHandler.cs (3)
38
var
signingKey = projectConfiguration
40
.Get<
SigningKey
[]>()
78
var
key = new SigningKey(shortId, issuer, Convert.ToBase64String(newKeyMaterial), signingKeyLength);