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.​Stores.​DefaultRefreshTokenStore

Assembly: Duende.IdentityServer

Inheritance: object → DefaultGrantStore<​Models.​RefreshToken> → DefaultRefreshTokenStore

Implemented Interfaces

Default refresh token store.

Properties

protected string
GrantType
Store
Serializer
HandleGenerationService

Methods

StoreRefreshTokenAsync​(Models.​RefreshToken refreshToken)
Stores the refresh token.
refreshToken The refresh token.
UpdateRefreshTokenAsync​(string handle, Models.​RefreshToken refreshToken)
Updates the refresh token.
handle The handle.
refreshToken The refresh token.
GetRefreshTokenAsync​(string refreshTokenHandle)
Gets the refresh token.
refreshTokenHandle The refresh token handle.
RemoveRefreshTokenAsync​(string refreshTokenHandle)
Removes the refresh token.
refreshTokenHandle The refresh token handle.
RemoveRefreshTokensAsync​(string subjectId, string clientId)
Removes the refresh tokens.
subjectId The subject identifier.
clientId The client identifier.
CreateHandleAsync​()
protected string
GetHashedKey​(string value)
GetItemAsync​(string key)
GetItemByHashedKeyAsync​(string hashedKey)
CreateItemAsync​(Models.​RefreshToken item, string clientId, string subjectId, string sessionId, string description, System.​DateTime created, int lifetime)
StoreItemAsync​(string key, Models.​RefreshToken item, string clientId, string subjectId, string sessionId, string description, System.​DateTime created, System.​DateTime? expiration, System.​DateTime? consumedTime = null)
StoreItemByHashedKeyAsync​(string hashedKey, Models.​RefreshToken item, string clientId, string subjectId, string sessionId, string description, System.​DateTime created, System.​DateTime? expiration, System.​DateTime? consumedTime = null)
RemoveItemAsync​(string key)
RemoveItemByHashedKeyAsync​(string key)
RemoveAllAsync​(string subjectId, string clientId, string sessionId = null)
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