Table of Contents

Class IntrospectRequestBuilder

Namespace
Autodesk.Authentication.Authentication.V2.Introspect
Assembly
Autodesk.Authentication.dll

Builds and executes requests for operations under \authentication\v2\introspect

public class IntrospectRequestBuilder : BaseRequestBuilder
Inheritance
BaseRequestBuilder
IntrospectRequestBuilder
Inherited Members
BaseRequestBuilder.PathParameters
BaseRequestBuilder.RequestAdapter
BaseRequestBuilder.UrlTemplate

Constructors

IntrospectRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new IntrospectRequestBuilder and sets the default values.

public IntrospectRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter)

Parameters

pathParameters Dictionary<string, object>

Path parameters for the request

requestAdapter IRequestAdapter

The request adapter to use to execute the requests.

IntrospectRequestBuilder(string, IRequestAdapter)

Instantiates a new IntrospectRequestBuilder and sets the default values.

public IntrospectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)

Parameters

rawUrl string

The raw URL to use for the request builder.

requestAdapter IRequestAdapter

The request adapter to use to execute the requests.

Methods

PostAsync(IntrospectPostRequestBody, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)

Examines an access token including the reference token and returns the status information of the tokens.If the token is active, additional information is returned.If the token is expired, invalid or revoked, it returns the response as status: inactive.

public Task<Introspecttoken?> PostAsync(IntrospectPostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

body IntrospectPostRequestBody

The request body

requestConfiguration Action<RequestConfiguration<DefaultQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<Introspecttoken>

A Introspecttoken

Exceptions

Introspecttoken400Error

When receiving a 400 status code

ToPostRequestInformation(IntrospectPostRequestBody, Action<RequestConfiguration<DefaultQueryParameters>>?)

Examines an access token including the reference token and returns the status information of the tokens.If the token is active, additional information is returned.If the token is expired, invalid or revoked, it returns the response as status: inactive.

public RequestInformation ToPostRequestInformation(IntrospectPostRequestBody body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)

Parameters

body IntrospectPostRequestBody

The request body

requestConfiguration Action<RequestConfiguration<DefaultQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

Returns

RequestInformation

A Microsoft.Kiota.Abstractions.RequestInformation

WithUrl(string)

Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.

public IntrospectRequestBuilder WithUrl(string rawUrl)

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

IntrospectRequestBuilder

A IntrospectRequestBuilder