Saml2SecurityToken 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 backed by a SAML2 assertion.
public class Saml2SecurityToken : Microsoft.IdentityModel.Tokens.SecurityToken
type Saml2SecurityToken = class
inherit SecurityToken
Public Class Saml2SecurityToken
Inherits SecurityToken
- Inheritance
Constructors
Saml2SecurityToken(Saml2Assertion) |
Initializes an instance of Saml2SecurityToken from a Saml2Assertion. |
Properties
Assertion |
Gets the Saml2Assertion for this token. |
Id |
Gets the SecurityToken id. |
Issuer |
Gets the issuer of this token |
SecurityKey |
Gets the SecurityKey for this instance. |
SigningKey |
Gets or sets the SecurityKey that was used to Sign this assertion. |
ValidFrom |
Gets the time the token is valid from. This value is always in UTC. |
ValidTo |
Gets the time the token is valid to. This value is always in UTC. |
Methods
UnsafeToString() |
Returns a string that represents the complete security artifact. This may include sensitive information and should only be used for debugging purposes. (Inherited from SecurityToken) |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기