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
Logger
protected
IPersistedGrantStore
Store
protected
IPersistentGrantSerializer
Serializer
HandleGenerationService
Methods
public
System.​Threading.​Tasks.​Task<​string>
StoreAuthorizationCodeAsync​(Models.​AuthorizationCode code,
System.​Threading.​CancellationToken ct)
public
System.​Threading.​Tasks.​Task<​Models.​AuthorizationCode>
GetAuthorizationCodeAsync​(string code,
System.​Threading.​CancellationToken ct)
RemoveAuthorizationCodeAsync​(string code,
System.​Threading.​CancellationToken ct)
protected
System.​Threading.​Tasks.​Task<​string>
CreateHandleAsync​(System.​Threading.​CancellationToken ct)
Inherited from DefaultGrantStore<​Models.​AuthorizationCode>
protected
string
GetHashedKey​(string value)
Inherited from DefaultGrantStore<​Models.​AuthorizationCode>
protected
System.​Threading.​Tasks.​Task<​Models.​AuthorizationCode>
GetItemAsync​(string key,
System.​Threading.​CancellationToken ct)
Inherited from DefaultGrantStore<​Models.​AuthorizationCode>
protected
System.​Threading.​Tasks.​Task<​Models.​AuthorizationCode>
GetItemByHashedKeyAsync​(string hashedKey,
System.​Threading.​CancellationToken ct)
Inherited from DefaultGrantStore<​Models.​AuthorizationCode>
protected
System.​Threading.​Tasks.​Task<​System.​Collections.​Generic.​IEnumerable<​Models.​AuthorizationCode>>
GetAllAsync​(PersistedGrantFilter filter,
System.​Threading.​CancellationToken ct)
Inherited from DefaultGrantStore<​Models.​AuthorizationCode>
protected
System.​Threading.​Tasks.​Task<​string>
CreateItemAsync​(Models.​AuthorizationCode item,
string clientId,
string subjectId,
string sessionId,
string description,
System.​DateTime created,
int lifetime,
System.​Threading.​CancellationToken ct)
Inherited from DefaultGrantStore<​Models.​AuthorizationCode>
StoreItemAsync​(string key,
Models.​AuthorizationCode item,
string clientId,
string subjectId,
string sessionId,
string description,
System.​DateTime created,
System.​DateTime? expiration,
System.​Threading.​CancellationToken ct,
System.​DateTime? consumedTime = null)
Inherited from DefaultGrantStore<​Models.​AuthorizationCode>
StoreItemByHashedKeyAsync​(string hashedKey,
Models.​AuthorizationCode item,
string clientId,
string subjectId,
string sessionId,
string description,
System.​DateTime created,
System.​DateTime? expiration,
System.​Threading.​CancellationToken ct,
System.​DateTime? consumedTime = null)
Inherited from DefaultGrantStore<​Models.​AuthorizationCode>
RemoveItemAsync​(string key,
System.​Threading.​CancellationToken ct)
Inherited from DefaultGrantStore<​Models.​AuthorizationCode>
RemoveItemByHashedKeyAsync​(string key,
System.​Threading.​CancellationToken ct)
Inherited from DefaultGrantStore<​Models.​AuthorizationCode>
RemoveAllAsync​(string subjectId,
string clientId,
System.​Threading.​CancellationToken ct,
string sessionId = null)
Inherited from DefaultGrantStore<​Models.​AuthorizationCode>
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