BinarySecretSecurityToken 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.
Represents a binary secret security token.
public ref class BinarySecretSecurityToken : System::IdentityModel::Tokens::SecurityToken
public class BinarySecretSecurityToken : System.IdentityModel.Tokens.SecurityToken
type BinarySecretSecurityToken = class
inherit SecurityToken
Public Class BinarySecretSecurityToken
Inherits SecurityToken
- Inheritance
Constructors
BinarySecretSecurityToken(Byte[]) |
Initializes a new instance of the BinarySecretSecurityToken class. |
BinarySecretSecurityToken(Int32) |
Initializes a new instance of the BinarySecretSecurityToken class. |
BinarySecretSecurityToken(String, Byte[]) |
Initializes a new instance of the BinarySecretSecurityToken class. |
BinarySecretSecurityToken(String, Byte[], Boolean) |
Initializes a new instance of the BinarySecretSecurityToken class. |
BinarySecretSecurityToken(String, Int32) |
Initializes a new instance of the BinarySecretSecurityToken class. |
BinarySecretSecurityToken(String, Int32, Boolean) |
Initializes a new instance of the BinarySecretSecurityToken class. |
Properties
Id |
Gets the token ID. |
KeySize |
Gets the token key size. |
SecurityKeys |
Gets a collection of security keys. |
ValidFrom |
Gets the token effective start time. |
ValidTo |
Gets the token effective start time. |
Methods
CanCreateKeyIdentifierClause<T>() |
Gets a value that indicates whether this security token is capable of creating the specified key identifier. (Inherited from SecurityToken) |
CreateKeyIdentifierClause<T>() |
Creates the specified key identifier clause. (Inherited from SecurityToken) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetKeyBytes() |
Gets the bytes that represent the key. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MatchesKeyIdentifierClause(SecurityKeyIdentifierClause) |
Returns a value that indicates whether the key identifier for this instance can be resolved to the specified key identifier. (Inherited from SecurityToken) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ResolveKeyIdentifierClause(SecurityKeyIdentifierClause) |
Gets the key for the specified key identifier clause. (Inherited from SecurityToken) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈