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.​RefreshToken
Assembly: Duende.IdentityServer.Storage
Inheritance: object → RefreshToken
Models a refresh token.
Properties
CreationTime
Gets or sets the creation time.
public
int
Lifetime
Gets or sets the life time.
public
System.​DateTime?
ConsumedTime
Gets or sets the consumed time.
public
Token
AccessToken
Obsolete. This property remains to keep backwards compatibility with serialized persisted grants.
public
System.​Collections.​Generic.​Dictionary<​string, Token>
AccessTokens
Gets or sets the resource indicator specific access token.
Subject
Gets or sets the original subject that requested the token.
public
int
Version
Gets or sets the version number.
public
string
ClientId
Gets the client identifier.
public
string
SubjectId
Gets the subject identifier.
public
string
SessionId
Gets the session identifier.
public
string
Description
Gets the description the user assigned to the device being authorized.
public
System.​Collections.​Generic.​IEnumerable<​string>
AuthorizedScopes
Gets the scopes.
public
System.​Collections.​Generic.​IEnumerable<​string>
AuthorizedResourceIndicators
The resource indicators. Null indicates there was no authorization step, thus no restrictions.
Non-null means there was an authorization step, and subsequent requested resource indicators must be in the original list.
public
ProofType?
ProofType
The type of proof used for the refresh token. Null indicates refresh tokens created prior to this property being added.
Methods
public
Token
GetAccessToken​(string resourceIndicator = null)
Returns the access token based on the resource indicator.
public
void
SetAccessToken​(Token token,
string resourceIndicator = null)
Sets the access token based on the resource indicator.
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