Class OpenIddictServerOwinHandlers.Session.RemoveCachedRequest
Contains the logic responsible of removing cached logout requests from the distributed cache. Note: this handler is not used when the OpenID Connect request is not initially handled by OWIN.
Inheritance
System.Object
OpenIddictServerOwinHandlers.Session.RemoveCachedRequest
Implements
IOpenIddictServerHandler<ApplyLogoutResponseContext>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenIddict.Server.Owin
Assembly: cs.temp.dll.dll
Syntax
public class RemoveCachedRequest : IOpenIddictServerHandler<ApplyLogoutResponseContext>
Constructors
RemoveCachedRequest()
Declaration
public RemoveCachedRequest()
RemoveCachedRequest(IDistributedCache)
Declaration
public RemoveCachedRequest(IDistributedCache cache)
Parameters
Type | Name | Description |
---|---|---|
IDistributedCache | cache |
Properties
Descriptor
Gets the default descriptor definition assigned to this handler.
Declaration
public static OpenIddictServerHandlerDescriptor Descriptor { get; }
Property Value
Type | Description |
---|---|
OpenIddictServerHandlerDescriptor |
Methods
HandleAsync(ApplyLogoutResponseContext)
Processes the event.
Declaration
public ValueTask HandleAsync(ApplyLogoutResponseContext context)
Parameters
Type | Name | Description |
---|---|---|
ApplyLogoutResponseContext | context |
Returns
Type | Description |
---|---|
ValueTask | A |