Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Authentication
Claims
Tests
AuthenticatedUserContextTests
RoleNameIsEmpty
Authentication.Claims.Tests.AuthenticatedUserContextTests.RoleNameIsEmpty C# (CSharp) Method
AuthenticatedUserContextTests Class Documentation
Datei anzeigen
Open project: affecto/dotnet-Authentication.Claims
RoleNameIsEmpty()
private
method
private
RoleNameIsEmpty
( ) :
void
return
void
public void RoleNameIsEmpty() { Assert.IsFalse(sut.HasRole(string.Empty)); }
AuthenticatedUserContextTests
AccountNameIsNotDefined
AccountNameIsRetrieved
ClaimIsNotDefined
ContainsMultipleClaims
ContainsSingleClaim
DoesNotContainClaim
DoesNotHaveSpecificGroup
DoesNotHaveSpecificPermission
DoesNotHaveSpecificRole
GetCustomPropertyValue
GetCustomPropertyValueCannotBeUsedWithNullPropertyName
GetCustomPropertyValueThrowsExceptionIfMultiplePropertiesFound
GetCustomPropertyValueThrowsExceptionIfPropertyNotFound
GroupNameIsEmpty
GroupNameIsNotDefined
HasCustomPropertyCannotBeUsedWithNullPropertyName
HasCustomPropertyReturnsFalseWhenNoClaimsSet
HasCustomPropertyReturnsFalseWhenNoPropertyFound
HasCustomPropertyReturnsTrueWhenPropertyFound
HasSpecificGroup
HasSpecificGroups
HasSpecificPermission
HasSpecificRole
IsSystemUserIsDefinedMultipleTimes
IsSystemUserIsSetToFalse
IsSystemUserIsSetToTrue
IsSystemUserReturnsFalseWhenClaimsValueCannotBeParsed
IsSystemUserReturnsFalseWhenItIsNotDefined
MultipleAccountNames
MultipleClaimsDefined
MultipleClaimsNotDefined
MultipleClaimsRetrieved
MultipleUserIds
MultipleUserNames
PermissionNameIsEmpty
PermissionNameIsEmptyWhenCheckingPermissions
PermissionNameIsNotDefined
PermissionNameIsNotDefinedWhenCheckingPermissions
RoleNameIsEmpty
RoleNameIsNotDefined
Setup
SingleClaimIsRetrieved
UserDoesNotHavePermission
UserHasPermission
UserIdIsNotDefined
UserIdIsRetrieved
UserNameIsNotDefined
UserNameIsRetrieved