6 references to SecurityTokenBitLength
Microsoft.AspNetCore.Antiforgery (4)
Internal\AntiforgeryToken.cs (1)
32_securityToken ??= new BinaryBlob(SecurityTokenBitLength);
Internal\DefaultAntiforgeryTokenSerializer.cs (3)
107const int minCookieTokenLength = 1 + (AntiforgeryToken.SecurityTokenBitLength / 8) + 1; // 18 bytes 126const int securityTokenByteLength = AntiforgeryToken.SecurityTokenBitLength / 8; 129AntiforgeryToken.SecurityTokenBitLength,
Microsoft.AspNetCore.Antiforgery.Test (2)
AntiforgeryTokenTest.cs (2)
92Assert.Equal(AntiforgeryToken.SecurityTokenBitLength, securityToken!.BitLength); 124Assert.Equal(AntiforgeryToken.SecurityTokenBitLength, securityToken!.BitLength);