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.

interface Duende.​IdentityServer.​Stores.​IPushedAuthorizationRequestStore

Assembly: Duende.IdentityServer.Storage

The interface for a service that stores pushed authorization requests.

Methods

StoreAsync​(Models.​PushedAuthorizationRequest pushedAuthorizationRequest)
Stores the pushed authorization request.
pushedAuthorizationRequest The request.
ConsumeByHashAsync​(string referenceValueHash)
Consumes the pushed authorization request, indicating that it should not be used again. Repeated use could indicate some form of replay attack, but also could indicate that an end user refreshed their browser or otherwise retried a request that consumed the pushed authorization request.
referenceValueHash The hash of the reference value of the pushed authorization request. The reference value is the identifier within the request_uri parameter.
GetByHashAsync​(string referenceValueHash)
Gets the pushed authorization request.
Returns The pushed authorization request, or null if the request does not exist or was previously consumed.
referenceValueHash The hash of the reference value of the pushed authorization request. The reference value is the identifier within the request_uri parameter.