JwtSecurityTokenHandler.ShortClaimTypeProperty Property
Gets or sets the property name of Properties the will contain the original JSON claim 'name' if a mapping occurred when the Claim(s) were created.See for more information.
Namespace: System.IdentityModel.Tokens
Assembly: System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)
Syntax
'Declaration
Public Shared Property ShortClaimTypeProperty As String
public static string ShortClaimTypeProperty { get; set; }
public:
static property String^ ShortClaimTypeProperty {
String^ get ();
void set (String^ value);
}
static member ShortClaimTypeProperty : string with get, set
static function get ShortClaimTypeProperty () : String
static function set ShortClaimTypeProperty (value : String)
Property Value
Type: System.String
Returns String.
Exceptions
Exception | Condition |
---|---|
ArgumentException | if String.IsIsNullOrWhiteSpace('value') is true. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.