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.​DefaultUserConsentStore
Assembly: Duende.IdentityServer
Inheritance: object → DefaultGrantStore<​Models.​Consent> → DefaultUserConsentStore
Implemented Interfaces
Default user consent store.
Properties
protected
string
GrantType
Logger
protected
IPersistedGrantStore
Store
protected
IPersistentGrantSerializer
Serializer
HandleGenerationService
Methods
StoreUserConsentAsync​(Models.​Consent consent)
Stores the user consent asynchronously.
consent
The consent.
public
System.​Threading.​Tasks.​Task<​Models.​Consent>
GetUserConsentAsync​(string subjectId,
string clientId)
Gets the user consent asynchronously.
subjectId
The subject identifier.
clientId
The client identifier.
RemoveUserConsentAsync​(string subjectId,
string clientId)
Removes the user consent asynchronously.
subjectId
The subject identifier.
clientId
The client identifier.
protected
System.​Threading.​Tasks.​Task<​string>
CreateHandleAsync​()
Inherited from DefaultGrantStore<​Models.​Consent>
protected
string
GetHashedKey​(string value)
Inherited from DefaultGrantStore<​Models.​Consent>
protected
System.​Threading.​Tasks.​Task<​Models.​Consent>
GetItemAsync​(string key)
Inherited from DefaultGrantStore<​Models.​Consent>
protected
System.​Threading.​Tasks.​Task<​Models.​Consent>
GetItemByHashedKeyAsync​(string hashedKey)
Inherited from DefaultGrantStore<​Models.​Consent>
protected
System.​Threading.​Tasks.​Task<​System.​Collections.​Generic.​IEnumerable<​Models.​Consent>>
GetAllAsync​(PersistedGrantFilter filter)
Inherited from DefaultGrantStore<​Models.​Consent>
protected
System.​Threading.​Tasks.​Task<​string>
CreateItemAsync​(Models.​Consent item,
string clientId,
string subjectId,
string sessionId,
string description,
System.​DateTime created,
int lifetime)
Inherited from DefaultGrantStore<​Models.​Consent>
StoreItemAsync​(string key,
Models.​Consent item,
string clientId,
string subjectId,
string sessionId,
string description,
System.​DateTime created,
System.​DateTime? expiration,
System.​DateTime? consumedTime = null)
Inherited from DefaultGrantStore<​Models.​Consent>
StoreItemByHashedKeyAsync​(string hashedKey,
Models.​Consent item,
string clientId,
string subjectId,
string sessionId,
string description,
System.​DateTime created,
System.​DateTime? expiration,
System.​DateTime? consumedTime = null)
Inherited from DefaultGrantStore<​Models.​Consent>
RemoveItemAsync​(string key)
Inherited from DefaultGrantStore<​Models.​Consent>
RemoveItemByHashedKeyAsync​(string key)
Inherited from DefaultGrantStore<​Models.​Consent>
RemoveAllAsync​(string subjectId,
string clientId,
string sessionId = null)
Inherited from DefaultGrantStore<​Models.​Consent>
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