Home
last modified time | relevance | path

Searched refs:IsAuthenticated (Results 1 – 25 of 717) sorted by relevance

12345678910>>...29

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Security/tests/FunctionalTests/
H A DNegotiateStreamStreamToStreamTest.cs34 Assert.False(client.IsAuthenticated); in NegotiateStream_StreamToStream_Authentication_Success()
35 Assert.False(server.IsAuthenticated); in NegotiateStream_StreamToStream_Authentication_Success()
43 Assert.True(client.IsAuthenticated); in NegotiateStream_StreamToStream_Authentication_Success()
57 Assert.True(server.IsAuthenticated); in NegotiateStream_StreamToStream_Authentication_Success()
86 Assert.False(client.IsAuthenticated); in NegotiateStream_StreamToStream_Authentication_TargetName_Success()
87 Assert.False(server.IsAuthenticated); in NegotiateStream_StreamToStream_Authentication_TargetName_Success()
97 Assert.True(client.IsAuthenticated); in NegotiateStream_StreamToStream_Authentication_TargetName_Success()
111 Assert.True(server.IsAuthenticated); in NegotiateStream_StreamToStream_Authentication_TargetName_Success()
147 Assert.False(client.IsAuthenticated); in NegotiateStream_StreamToStream_Authentication_EmptyCredentials_Fails()
158 Assert.True(client.IsAuthenticated); in NegotiateStream_StreamToStream_Authentication_EmptyCredentials_Fails()
[all …]
H A DNegotiateStreamTest.Linux.cs132 Assert.True(client.IsAuthenticated, "client.IsAuthenticated"); in AssertClientPropertiesForTarget()
203 Assert.False(client.IsAuthenticated); in NegotiateStream_StreamToStream_AuthToHttpTarget_Success()
235 Assert.False(client.IsAuthenticated); in NegotiateStream_StreamToStream_KerberosAuthWithoutRealm_Success()
534 Assert.False(client.IsAuthenticated, "client.IsAuthenticated"); in NegotiateStream_StreamToStream_NtlmAuthentication_ValidCredentials_Success()
535 Assert.False(server.IsAuthenticated, "server.IsAuthenticated"); in NegotiateStream_StreamToStream_NtlmAuthentication_ValidCredentials_Success()
545 Assert.True(client.IsAuthenticated, "client.IsAuthenticated"); in NegotiateStream_StreamToStream_NtlmAuthentication_ValidCredentials_Success()
578 Assert.False(client.IsAuthenticated, "client.IsAuthenticated"); in NegotiateStream_StreamToStream_NtlmAuthentication_Fallback_Success()
579 Assert.False(server.IsAuthenticated, "server.IsAuthenticated"); in NegotiateStream_StreamToStream_NtlmAuthentication_Fallback_Success()
591 Assert.True(client.IsAuthenticated, "client.IsAuthenticated"); in NegotiateStream_StreamToStream_NtlmAuthentication_Fallback_Success()
622 Assert.False(client.IsAuthenticated, "client.IsAuthenticated"); in NegotiateStream_StreamToStream_NtlmAuthentication_KerberosCreds_Success()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/System.Security.Permissions/
H A DPrincipalPermission.cs64 public bool IsAuthenticated { property in System.Security.Permissions.PrincipalPermission.PrincipalInfo
122 ((pi.IsAuthenticated && p.Identity.IsAuthenticated) || (!pi.IsAuthenticated))) { in Demand()
176 if (pi.IsAuthenticated == opi.IsAuthenticated) { in Intersect()
188 PrincipalInfo ipi = new PrincipalInfo (name, role, pi.IsAuthenticated); in Intersect()
215 (pi.IsAuthenticated == opi.IsAuthenticated)) in IsSubsetOf()
228 if ((pi.Name == null) && (pi.Role == null) && (pi.IsAuthenticated)) in IsUnrestricted()
252 if (pi.IsAuthenticated) in ToXml()
295 (pi.IsAuthenticated == opi.IsAuthenticated)) { in Equals()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Claims/tests/
H A DClaimsIdentityTests.cs25 Assert.False(id.IsAuthenticated); in Ctor_Default()
41 Assert.False(id.IsAuthenticated); in Ctor_AuthenticationType_Blank()
57 Assert.False(id.IsAuthenticated); in Ctor_AuthenticationType_Null()
73 Assert.True(id.IsAuthenticated); in Ctor_AuthenticationType()
89 Assert.False(id.IsAuthenticated); in Ctor_EnumerableClaim_Null()
105 Assert.False(id.IsAuthenticated); in Ctor_EnumerableClaim_Empty()
125 Assert.False(id.IsAuthenticated); in Ctor_EnumerableClaim_WithName()
145 Assert.False(id.IsAuthenticated); in Ctor_EnumerableClaim_WithoutName()
166 Assert.True(id.IsAuthenticated); in Ctor_EnumerableClaimAuthNameRoleType()
182 Assert.False(id.IsAuthenticated); in Ctor_EnumerableClaimAuthNameRoleType_AllNull()
[all …]
H A DGenericIdentityTests.cs19 Assert.True(gi.IsAuthenticated); in Name()
28 Assert.True(gi.IsAuthenticated); in NameAuthenticationType()
37 Assert.False(gi.IsAuthenticated); in EmptyName()
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Security.Claims/
H A DClaimsIdentityTest.cs29 Assert.IsFalse (id.IsAuthenticated, "#6"); in EmptyCtorWorks()
51 Assert.IsFalse (id.IsAuthenticated, "#6"); in AuthTypeOnlyCtorEmptyWorks()
67 Assert.IsFalse (id.IsAuthenticated, "#6"); in AuthTypeOnlyCtorNullWorks()
83 Assert.IsTrue (id.IsAuthenticated, "#6"); in AuthTypeOnlyCtorNotEmptyWorks()
103 Assert.IsFalse (id.IsAuthenticated, "#6"); in EnumClaimsCtorNullWorks()
119 Assert.IsFalse (id.IsAuthenticated, "#6"); in EnumClaimsCtorEmptyWorks()
139 Assert.IsFalse (id.IsAuthenticated, "#6"); in EnumClaimsCtorWithClaimsWithNameWorks()
159 Assert.IsFalse (id.IsAuthenticated, "#6"); in EnumClaimsCtorWithClaimsWithoutNameWorks()
184 Assert.IsTrue (id.IsAuthenticated, "#6"); in EnumClaimsAuthNameRoleTypeCtorWorks()
200 Assert.IsFalse (id.IsAuthenticated, "#6"); in EnumClaimsAuthNameRoleTypeCtorAllArgsNullWorks()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Security.Principal/
H A DGenericIdentityTest.cs43 Assert.IsTrue (gi.IsAuthenticated, "IsAuthenticated"); in Name()
52 Assert.IsTrue (gi.IsAuthenticated, "IsAuthenticated"); in NameAuthenticationType()
61 Assert.IsFalse (gi.IsAuthenticated, "IsAuthenticated"); in EmptyName()
78 Assert.AreEqual (gi.IsAuthenticated, clone.IsAuthenticated, "IsAuthenticated"); in SerializationRoundtrip()
91 Assert.IsTrue (gi.IsAuthenticated, "IsAuthenticated"); in Deserialize()
H A DWindowsIdentityTest.cs144 Assert.IsTrue (!id.IsAuthenticated, "IsAuthenticated"); in Anonymous()
163 Assert.IsTrue (id.IsAuthenticated, "IsAuthenticated"); in Current()
226 Assert.AreEqual (wi.IsAuthenticated, back.IsAuthenticated, "IsAuthenticated"); in SerializeRoundTrip()
H A DGenericPrincipalTest.cs75 Assert.AreEqual (gp.Identity.IsAuthenticated, clone.Identity.IsAuthenticated, "IsAuthenticated"); in SerializationRoundtrip()
91 Assert.IsTrue (gp.Identity.IsAuthenticated, "IsAuthenticated"); in Deserialize()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/signin/
H A Dsignin_profile_attributes_updater_unittest.cc108 EXPECT_TRUE(entry->IsAuthenticated()); in TEST_F()
134 EXPECT_TRUE(entry->IsAuthenticated()); in TEST_F()
165 EXPECT_FALSE(entry->IsAuthenticated()); in TEST_F()
195 EXPECT_FALSE(entry->IsAuthenticated()); in TEST_F()
200 EXPECT_TRUE(entry->IsAuthenticated()); in TEST_F()
215 EXPECT_FALSE(entry->IsAuthenticated()); in TEST_F()
220 EXPECT_TRUE(entry->IsAuthenticated()); in TEST_F()
242 EXPECT_FALSE(entry->IsAuthenticated()); in TEST_F()
248 EXPECT_TRUE(entry->IsAuthenticated()); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/signin/internal/identity_manager/
H A Dprimary_account_manager_unittest.cc109 EXPECT_TRUE(manager_->IsAuthenticated()); in ExpectSignInWithRefreshTokenSuccess()
154 EXPECT_FALSE(manager_->IsAuthenticated()); in TEST_F()
162 EXPECT_FALSE(manager_->IsAuthenticated()); in TEST_F()
178 EXPECT_TRUE(manager_->IsAuthenticated()); in TEST_F()
185 EXPECT_FALSE(manager_->IsAuthenticated()); in TEST_F()
199 EXPECT_TRUE(manager_->IsAuthenticated()); in TEST_F()
206 EXPECT_FALSE(manager_->IsAuthenticated()); in TEST_F()
233 EXPECT_TRUE(manager_->IsAuthenticated()); in TEST_F()
240 EXPECT_FALSE(manager_->IsAuthenticated()); in TEST_F()
247 EXPECT_FALSE(manager_->IsAuthenticated()); in TEST_F()
[all …]
H A Dprimary_account_manager.cc137 if (!IsAuthenticated()) in GetAuthenticatedAccountInfo()
157 if (IsAuthenticated()) { in SetUnconsentedPrimaryAccountInfo()
174 DCHECK(!IsAuthenticated()); in SetAuthenticatedAccountInfo()
222 bool PrimaryAccountManager::IsAuthenticated() const { in IsAuthenticated() function in PrimaryAccountManager
235 if (IsAuthenticated()) { in SignIn()
253 DCHECK(IsAuthenticated()); in UpdateAuthenticatedAccountInfo()
296 DCHECK(IsAuthenticated()); in RevokeSyncConsent()
334 if (!IsAuthenticated()) { in OnSignoutDecisionReached()
/dports/deskutils/py-paperless/paperless-2.7.0/src/documents/
H A Dviews.py17 from rest_framework.permissions import IsAuthenticated
105 permission_classes = (IsAuthenticated,)
116 permission_classes = (IsAuthenticated,)
131 permission_classes = (IsAuthenticated,)
144 permission_classes = (IsAuthenticated,)
/dports/net/bosh-cli/bosh-cli-5.5.0/director/
H A Dinfo_test.go37 authed, err := director.IsAuthenticated()
51 authed, err := director.IsAuthenticated()
59 _, err := director.IsAuthenticated()
72 _, err := director.IsAuthenticated()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Http.Test/
H A DAuthorizeAttributeTest.cs93 _principalMock.Setup(p => p.Identity.IsAuthenticated).Returns(true); in OnAuthorization_IfUserIsAuthenticated_DoesNotShortCircuitRequest()
113 _principalMock.Setup(p => p.Identity.IsAuthenticated).Returns(false).Verifiable(); in OnAuthorization_IfUserIsNotAuthenticated_DoesShortCircuitRequest()
125 _principalMock.Setup(p => p.Identity.IsAuthenticated).Returns(true).Verifiable(); in OnAuthorization_IfUserIsNotInUsersCollection_DoesShortCircuitRequest()
138 _principalMock.Setup(p => p.Identity.IsAuthenticated).Returns(true).Verifiable(); in OnAuthorization_IfUserIsInUsersCollection_DoesNotShortCircuitRequest()
152 _principalMock.Setup(p => p.Identity.IsAuthenticated).Returns(true).Verifiable(); in OnAuthorization_IfUserIsNotInRolesCollection_DoesShortCircuitRequest()
168 _principalMock.Setup(p => p.Identity.IsAuthenticated).Returns(true).Verifiable(); in OnAuthorization_IfUserIsInRolesCollection_DoesNotShortCircuitRequest()
207 _principalMock.Setup(p => p.Identity.IsAuthenticated).Returns(false); in OnAuthorization_IfRequestNotAuthorized_CallsHandleUnauthorizedRequest()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/
H A DServiceWebSocketContext.cs39 public override bool IsAuthenticated property in System.ServiceModel.Channels.ServiceWebSocketContext
41 …l ? this.user.Identity != null && this.user.Identity.IsAuthenticated : this.context.IsAuthenticate…
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Net/
H A DHttpListenerBasicIdentityTest.cs55 Assert.IsFalse (bi.IsAuthenticated, "#03"); in Basic2()
68 Assert.IsTrue (bi.IsAuthenticated, "#03"); in Basic3()
81 Assert.IsTrue (bi.IsAuthenticated, "#03"); in Basic4()
/dports/www/seahub/seahub-8.0.7-server/seahub/api2/
H A Dviews_auth.py3 from rest_framework.permissions import IsAuthenticated
22 permission_classes = (IsAuthenticated,)
41 permission_classes = (IsAuthenticated,)
/dports/www/seahub/seahub-8.0.7-server/seahub/api2/endpoints/
H A Drepo_draft_info.py6 from rest_framework.permissions import IsAuthenticated
25 permission_classes = (IsAuthenticated, )
50 permission_classes = (IsAuthenticated, )
H A Docm_repos.py7 from rest_framework.permissions import IsAuthenticated
29 permission_classes = (IsAuthenticated,)
70 permission_classes = (IsAuthenticated,)
105 permission_classes = (IsAuthenticated,)
H A Dinvitation.py7 from rest_framework.permissions import IsAuthenticated
40 permission_classes = (IsAuthenticated, CanInviteGuest)
66 permission_classes = (IsAuthenticated, CanInviteGuest)
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/System.Web.UI.WebControls/
H A DLoginView.cs116 bool IsAuthenticated { property in System.Web.UI.WebControls.LoginView
151 if (Page != null && Page.Request.IsAuthenticated) { in CreateChildControls()
212 IsAuthenticated = Page.Request.IsAuthenticated; in OnPreRender()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Mono.Net.Security/
H A DLegacySslStream.cs129 public override bool IsAuthenticated { property in Mono.Net.Security.Private.LegacySslStream
134 get { return IsAuthenticated; }
138 …get { return IsAuthenticated && (IsServer ? RemoteCertificate != null : LocalCertificate != null);…
146 get { return IsAuthenticated; }
163 if (!IsAuthenticated)
336 if (IsAuthenticated) in BeginAuthenticateAsClient()
393 if (IsAuthenticated) in BeginAuthenticateAsServer()
540 if (!IsAuthenticated) in CheckConnectionAuthenticated()
/dports/deskutils/py-paperless/paperless-2.7.0/src/reminders/
H A Dviews.py3 from rest_framework.permissions import IsAuthenticated
19 permission_classes = (IsAuthenticated,)
/dports/net/concourse-fly/concourse-6.7.1/atc/api/auth/
H A Dcheck_build_read_access_handler.go81 if !acc.IsAuthenticated() || !acc.IsAuthorized(build.TeamName()) {
94 if acc.IsAuthenticated() {
116 if acc.IsAuthenticated() {

12345678910>>...29