Implemented interface member:
method
CreateProtector
Microsoft.AspNetCore.DataProtection.IDataProtectionProvider.CreateProtector(System.String)
30 references to CreateProtector
Microsoft.AspNetCore.Authentication.Test (23)
FacebookTests.cs (1)
316
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("FacebookTest"));
GoogleTests.cs (14)
159
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
211
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
263
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
534
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
590
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
644
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
694
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
736
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
771
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
831
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
860
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
904
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
948
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
985
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("GoogleTest"));
MicrosoftAccountTests.cs (2)
188
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("MsftTest"));
258
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("MicrosoftTest"));
OpenIdConnect\OpenIdConnectChallengeTests.cs (2)
182
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("OIDCTest"));
212
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("OIDCTest"));
OpenIdConnect\OpenIdConnectTests.cs (2)
228
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("OIDCTest"));
260
var stateFormat = new PropertiesDataFormat(new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("OIDCTest"));
TwitterTests.cs (2)
386
var stateFormat = new SecureDataFormat<RequestToken>(new RequestTokenSerializer(), new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("TwitterTest"));
455
var stateFormat = new SecureDataFormat<RequestToken>(new RequestTokenSerializer(), new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("TwitterTest"));
Microsoft.AspNetCore.DataProtection.Extensions.Tests (1)
TimeLimitedDataProtectorTests.cs (1)
155
var ephemeralProtector = new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("my purpose");
Microsoft.AspNetCore.DataProtection.Tests (6)
EphemeralDataProtectionProviderTests.cs (6)
16
var dataProtector1 = new EphemeralDataProtectionProvider().
CreateProtector
("purpose");
17
var dataProtector2 = new EphemeralDataProtectionProvider(NullLoggerFactory.Instance).
CreateProtector
("purpose");
34
var dataProtector1 = dataProtectionProvider.
CreateProtector
("purpose");
35
var dataProtector2 = dataProtectionProvider.
CreateProtector
("different purpose");
51
var dataProtector1 = dataProtectionProvider.
CreateProtector
("purpose");
52
var dataProtector2 = dataProtectionProvider.
CreateProtector
("purpose"); // should be equivalent to the previous instance