SimpleWebSecurityToken Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A security token that wraps a Simple Web Token.
public class SimpleWebSecurityToken : System.IdentityModel.Tokens.SecurityToken
type SimpleWebSecurityToken = class
inherit SecurityToken
Public Class SimpleWebSecurityToken
Inherits SecurityToken
- Inheritance
-
SimpleWebSecurityToken
- Derived
Constructors
SimpleWebSecurityToken(String) |
Initializes a new instance of the SimpleWebSecurityToken class with the specified Simple Web Token. |
SimpleWebSecurityToken(String, DateTime) |
Initializes a new instance of the SimpleWebSecurityToken class with the specified Simple Web Token and expiry date. |
SimpleWebSecurityToken(String, DateTime, String) |
Initializes a new instance of the SimpleWebSecurityToken class. |
SimpleWebSecurityToken(String, String) |
Initializes a new instance of the SimpleWebSecurityToken class with the specified token ID and Simple Web Token. |
Properties
Audience |
Gets the audience for the simple web token. |
AudienceFieldName |
Gets the audience field name. |
ExpiresOn |
Gets the date and time the security token will expire. |
ExpiresOnFieldName |
Gets the field name associated with the token expiration. |
Id |
Gets the ID associated with the Simple Web Token. |
KeyValueSeparator |
Gets the key value separator associated with the token. |
PairSeparator |
Gets the pair separator associated with the token. |
SecurityKeys |
Gets the cryptographic keys associated with the security token. |
Token |
Gets the Simple Web Token. |
ValidFrom |
Not implemented. |
ValidTo |
Not implemented. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應