4 instantiations of BinaryBlob
Microsoft.AspNetCore.Antiforgery (4)
Internal\AntiforgeryToken.cs (1)
34
_securityToken = new
BinaryBlob
(SecurityTokenBitLength);
Internal\DefaultAntiforgeryTokenGenerator.cs (1)
192
return new
BinaryBlob
(256, Convert.FromBase64String(base64ClaimUid));
Internal\DefaultAntiforgeryTokenSerializer.cs (2)
96
new
BinaryBlob
(AntiforgeryToken.SecurityTokenBitLength, securityTokenBytes);
105
deserializedToken.ClaimUid = new
BinaryBlob
(AntiforgeryToken.ClaimUidBitLength, claimUidBytes);
10 references to BinaryBlob
Microsoft.AspNetCore.Antiforgery (8)
Internal\AntiforgeryToken.cs (3)
13
private
BinaryBlob
? _securityToken;
24
public
BinaryBlob
? ClaimUid { get; set; }
28
public
BinaryBlob
? SecurityToken
Internal\BinaryBlob.cs (3)
13
internal sealed class BinaryBlob : IEquatable<
BinaryBlob
>
50
return Equals(obj as
BinaryBlob
);
53
public bool Equals(
BinaryBlob
? other)
Internal\DefaultAntiforgeryTokenGenerator.cs (2)
140
BinaryBlob
? currentClaimUid = null;
185
private static
BinaryBlob
? GetClaimUidBlob(string? base64ClaimUid)
Microsoft.AspNetCore.Antiforgery.Test (2)
AntiforgeryTokenTest.cs (2)
88
var
securityToken = token.SecurityToken;
120
var
securityToken = token.SecurityToken;