KerberosSecurityTokenProvider.NetworkCredential Property


Gets the identity of the KerberosRequestorSecurityToken security token.

Namespace:   System.IdentityModel.Selectors
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public NetworkCredential NetworkCredential { get; }

Property Value

Type: System.Net.NetworkCredential

A NetworkCredential that represents the identity of the KerberosRequestorSecurityToken.

When the value of the NetworkCredential property is null and the GetTokenCore method is called, the current context of the calling thread (DefaultNetworkCredentials) is used as a client identity.

.NET Framework
Available since 3.0
Return to top