13 private string m_name;
15 private string m_type;
23 public override string Name => m_name;
37 [SecuritySafeCritical]
53 [SecuritySafeCritical]
78 m_name = identity.m_name;
79 m_type = identity.m_type;
107 [SecuritySafeCritical]
108 private void AddNameClaim()
112 base.AddClaim(
new Claim(base.NameClaimType, m_name,
"http://www.w3.org/2001/XMLSchema#string",
"LOCAL AUTHORITY",
"LOCAL AUTHORITY",
this));
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
bool MoveNext()
Advances the enumerator to the next element of the collection.
GenericIdentity(GenericIdentity identity)
Initializes a new instance of the T:System.Security.Principal.GenericIdentity class by using the spec...
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Represents a generic user.
Supports a simple iteration over a generic collection.
override string AuthenticationType
Gets the type of authentication used to identify the user.
Represents a claims-based identity.
new T Current
Gets the element in the collection at the current position of the enumerator.
GenericIdentity(string name)
Initializes a new instance of the T:System.Security.Principal.GenericIdentity class representing the ...
override string Name
Gets the user's name.
override bool IsAuthenticated
Gets a value indicating whether the user has been authenticated.
GenericIdentity(string name, string type)
Initializes a new instance of the T:System.Security.Principal.GenericIdentity class representing the ...
override ClaimsIdentity Clone()
Creates a new object that is a copy of the current instance.
override IEnumerable< Claim > Claims
Gets all claims for the user represented by this generic identity.