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 Duende.​IdentityServer.​Models.​Token
Assembly: Duende.IdentityServer.Storage
Inheritance: object → Token
Models a token.
Properties
public
System.​Collections.​Generic.​ICollection<​string>
AllowedSigningAlgorithms
A list of allowed algorithm for signing the token. If null or empty, will use the default algorithm.
public
string
Confirmation
Specifies the confirmation method of the token. This value, if set, will become the cnf claim.
public
System.​Collections.​Generic.​ICollection<​string>
Audiences
Gets or sets the audiences.
public
string
Issuer
Gets or sets the issuer.
CreationTime
Gets or sets the creation time.
public
int
Lifetime
Gets or sets the lifetime.
public
string
Type
Gets or sets the type.
public
string
ClientId
Gets or sets the ID of the client.
public
AccessTokenType
AccessTokenType
Gets or sets the type of access token of the client
public
string
Description
Gets the description the user assigned to the device being authorized.
public
bool
IncludeJwtId
Indicates if the token should have a 'jti' claim value.
public
System.​Collections.​Generic.​ICollection<​System.​Security.​Claims.​Claim>
Claims
Gets or sets the claims.
public
int
Version
Gets or sets the version.
public
string
SubjectId
Gets the subject identifier.
public
string
SessionId
Gets the session identifier.
public
System.​Collections.​Generic.​IEnumerable<​string>
Scopes
Gets the scopes.
Methods
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object