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.​DefaultAuthorizationCodeStore

Assembly: Duende.IdentityServer

Inheritance: object → DefaultGrantStore<​Models.​AuthorizationCode> → DefaultAuthorizationCodeStore

Implemented Interfaces

Default authorization code store.

Properties

protected string
GrantType
Store
Serializer
HandleGenerationService

Methods

StoreAuthorizationCodeAsync​(Models.​AuthorizationCode code)
Stores the authorization code asynchronously.
code The code.
GetAuthorizationCodeAsync​(string code)
Gets the authorization code asynchronously.
code The code.
RemoveAuthorizationCodeAsync​(string code)
Removes the authorization code asynchronously.
code The code.
CreateHandleAsync​()
protected string
GetHashedKey​(string value)
GetItemByHashedKeyAsync​(string hashedKey)
CreateItemAsync​(Models.​AuthorizationCode item, string clientId, string subjectId, string sessionId, string description, System.​DateTime created, int lifetime)
StoreItemAsync​(string key, Models.​AuthorizationCode item, string clientId, string subjectId, string sessionId, string description, System.​DateTime created, System.​DateTime? expiration, System.​DateTime? consumedTime = null)
StoreItemByHashedKeyAsync​(string hashedKey, Models.​AuthorizationCode 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