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.​TokenIntrospectionRequest

Assembly: Duende.IdentityModel

Inheritance: object → System.​Net.​Http.​HttpRequestMessageProtocolRequest → TokenIntrospectionRequest

Implemented Interfaces

Request for OAuth token introspection

Properties

public string
Token
Gets or sets the token.
public string
TokenTypeHint
Gets or sets the token type hint.
ResponseFormat
Sets the desired format for the introspection response.
Gets or sets the custom validator instance for validating a JWT introspection response. If set, this validator will be invoked to perform any additional or custom validation on the JWT response (for example, verifying its signature, expiration, or other claims). If left null, no JWT validation is performed, although the claims will still be extracted and the raw JWT string will be accessible. It is the caller's responsibility to provide an implementation of <see cref="T:Duende.IdentityModel.Validation.ITokenIntrospectionJwtResponseValidator" /> if JWT validation is desired.
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.
ClientAssertion
Gets or sets the client assertion.
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.
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.
Properties
public System.​Uri
RequestUri
Version

Methods

Clone​()
Inherited from ProtocolRequest
Clones this instance.
public T
Clone​()
Inherited from ProtocolRequest
Clones this instance.
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
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object