NamedKeySecurityKeyIdentifierClause Constructor
A NamedKeySecurityToken will use the 'name' for matching.
Namespace: System.IdentityModel.Tokens
Assembly: System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
keyIdentifier As String _
)
public NamedKeySecurityKeyIdentifierClause(
string name,
string keyIdentifier
)
public:
NamedKeySecurityKeyIdentifierClause(
String^ name,
String^ keyIdentifier
)
new :
name:string *
keyIdentifier:string -> NamedKeySecurityKeyIdentifierClause
public function NamedKeySecurityKeyIdentifierClause(
name : String,
keyIdentifier : String
)
Parameters
name
Type: System.StringUsed to identify a named collection of keys.
keyIdentifier
Type: System.StringAdditional information for matching.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | 'name' is null. -or- 'keyIdentifier' is null. |
ArgumentException | string.IsNullOrWhiteSpace( 'name' ) is true. -or- string.IsNullOrWhiteSpace( 'keyIdentifier' ) 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.