2 instantiations of BufferSource
Microsoft.AspNetCore.Identity (2)
Passkeys\BufferSource.cs (2)
33
=>
new
(bytes);
41
return
new
(buffer);
34 references to BufferSource
Microsoft.AspNetCore.Identity (34)
PasskeyHandler.cs (5)
58
Id =
BufferSource
.FromString(userEntity.Id),
62
Challenge =
BufferSource
.FromBytes(challenge),
102
Id =
BufferSource
.FromBytes(p.CredentialId),
119
Challenge =
BufferSource
.FromBytes(challenge),
153
Id =
BufferSource
.FromBytes(p.CredentialId),
Passkeys\AuthenticatorAssertionResponse.cs (3)
18
public required
BufferSource
AuthenticatorData { get; init; }
23
public required
BufferSource
Signature { get; init; }
28
public
BufferSource
? UserHandle { get; init; }
Passkeys\AuthenticatorAttestationResponse.cs (1)
18
public required
BufferSource
AttestationObject { get; init; }
Passkeys\AuthenticatorResponse.cs (1)
16
public required
BufferSource
ClientDataJSON { get; init; }
Passkeys\BufferSource.cs (14)
20
internal sealed class BufferSource : IEquatable<
BufferSource
>
30
/// Creates a new instance of <see cref="
BufferSource
"/> from a byte array.
32
public static
BufferSource
FromBytes(ReadOnlyMemory<byte> bytes)
36
/// Creates a new instance of <see cref="
BufferSource
"/> from a string.
38
public static
BufferSource
FromString(string value)
68
/// Performs a value-based equality comparison with another <see cref="
BufferSource
"/> instance.
70
public bool Equals(
BufferSource
? other)
82
=> obj is
BufferSource
other && Equals(other);
89
/// Performs a value-based equality comparison between two <see cref="
BufferSource
"/> instances.
91
public static bool operator ==(
BufferSource
? left,
BufferSource
? right)
107
/// Performs a value-based inequality comparison between two <see cref="
BufferSource
"/> instances.
109
public static bool operator !=(
BufferSource
? left,
BufferSource
? right)
Passkeys\BufferSourceJsonConverter.cs (4)
13
internal sealed class BufferSourceJsonConverter : JsonConverter<
BufferSource
>
17
public override
BufferSource
? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
33
return
BufferSource
.FromBytes(bytes);
36
public override void Write(Utf8JsonWriter writer,
BufferSource
value, JsonSerializerOptions options)
Passkeys\CollectedClientData.cs (1)
25
public required
BufferSource
Challenge { get; init; }
Passkeys\PublicKeyCredential.cs (1)
20
public required
BufferSource
Id { get; init; }
Passkeys\PublicKeyCredentialCreationOptions.cs (1)
29
public required
BufferSource
Challenge { get; init; }
Passkeys\PublicKeyCredentialDescriptor.cs (1)
22
public required
BufferSource
Id { get; init; }
Passkeys\PublicKeyCredentialRequestOptions.cs (1)
19
public required
BufferSource
Challenge { get; init; }
Passkeys\PublicKeyCredentialUserEntity.cs (1)
17
public required
BufferSource
Id { get; init; }