2 writes to UserAuthenticated
Microsoft.AspNetCore.Identity.FunctionalTests (2)
Infrastructure\DefaultUIContext.cs (2)
13
new DefaultUIContext(this) {
UserAuthenticated
= true };
16
new DefaultUIContext(this) {
UserAuthenticated
= false };
11 references to UserAuthenticated
Microsoft.AspNetCore.Identity.FunctionalTests (11)
Infrastructure\DefaultUIContext.cs (2)
70
get => GetValue<bool>(nameof(
UserAuthenticated
));
71
set => SetValue(nameof(
UserAuthenticated
), value);
Pages\Account\Manage\Email.cs (1)
22
Assert.True(Context.
UserAuthenticated
);
Pages\Account\Manage\EnableAuthenticator.cs (1)
23
Assert.True(Context.
UserAuthenticated
);
Pages\Account\Manage\Index.cs (1)
25
Assert.True(Context.
UserAuthenticated
);
Pages\Account\Manage\ResetAuthenticator.cs (1)
20
Assert.True(Context.
UserAuthenticated
);
Pages\Index.cs (5)
23
if (!Context.
UserAuthenticated
)
44
Assert.False(Context.
UserAuthenticated
);
54
Assert.False(Context.
UserAuthenticated
);
64
Assert.True(Context.
UserAuthenticated
);
74
Assert.True(Context.
UserAuthenticated
);