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.​IdentityModel.​Client.​TokenRevocationRequest
Assembly: Duende.IdentityModel
Inheritance: object → System.​Net.​Http.​HttpRequestMessage → ProtocolRequest → TokenRevocationRequest
Implemented Interfaces
- System.​IDisposable Implemented by: HttpRequestMessage
Request for OAuth token revocation
Properties
public
string
Token
Gets or sets the token.
public
string
TokenTypeHint
Gets or sets the token type hint.
public
string
Address
Gets or sets the endpoint address (you can also set the RequestUri instead or leave blank to use the HttpClient base address).
public
string
ClientId
Gets or sets the client identifier.
public
string
ClientSecret
Gets or sets the client secret.
public
ClientAssertion
ClientAssertion
Gets or sets the client assertion.
public
ClientCredentialStyle
ClientCredentialStyle
Gets or sets the client credential style (post body vs authorization header).
AuthorizationHeaderStyle
Gets or sets the basic authentication header style (classic HTTP vs OAuth 2).
public
string
DPoPProofToken
The DPoP proof token to use on the token endpoint.
public
System.​Func<​System.​Threading.​Tasks.​Task<​ClientAssertion>>
ClientAssertionFactory
Gets or sets a factory function that creates a fresh <see cref="P:Duende.IdentityModel.Client.ProtocolRequest.ClientAssertion" /> on demand.
When set, this factory is stored on the <see cref="T:System.Net.Http.HttpRequestMessage" /> options so that DPoP retry
handlers can invoke it to obtain a new assertion (with a fresh <c>jti</c> and <c>iat</c> ) on
each attempt, avoiding client-assertion replay rejected by servers that enforce uniqueness.
public
Parameters
Parameters
Gets or sets additional protocol parameters.
Headers
public
System.​Collections.​Generic.​IDictionary<​string, object>
Properties
public
System.​Uri
RequestUri
Version
VersionPolicy
Methods
public
void
Prepare​()
Inherited from ProtocolRequest
Applies protocol parameters to HTTP request
public
void
Dispose​()
protected
void
Dispose​(bool disposing)
public
string
ToString​()
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