Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​IdentityModel.​Tokens.​SecurityToken

Assembly: Microsoft.IdentityModel.Tokens

Inheritance: object → SecurityToken

Implemented Interfaces

Base class for security token.

Properties

public string
Id
This must be overridden to get the Id of this <see cref="T:Microsoft.IdentityModel.Tokens.SecurityToken" /> .
public string
Issuer
This must be overridden to get the issuer of this <see cref="T:Microsoft.IdentityModel.Tokens.SecurityToken" /> .
public SecurityKey
SecurityKey
This must be overridden to get the <see cref="P:Microsoft.IdentityModel.Tokens.SecurityToken.SecurityKey" /> .
public SecurityKey
SigningKey
This must be overridden to get or set the <see cref="P:Microsoft.IdentityModel.Tokens.SecurityToken.SecurityKey" /> that signed this instance.
Remarks <see cref="T:Microsoft.IdentityModel.Tokens.ISecurityTokenValidator" /> .ValidateToken(...) can this value when a <see cref="P:Microsoft.IdentityModel.Tokens.SecurityToken.SecurityKey" /> is used to successfully validate a signature.
ValidFrom
This must be overridden to get the time when this <see cref="T:Microsoft.IdentityModel.Tokens.SecurityToken" /> was Valid.
ValidTo
This must be overridden to get the time when this <see cref="T:Microsoft.IdentityModel.Tokens.SecurityToken" /> is no longer Valid.

Methods

public string
UnsafeToString​()
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object