Table of Contents

Class GenerateExampleUserinfoRequestBuilder

Namespace
Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.GenerateExampleUserinfo
Assembly
Keycloak.AuthServices.Sdk.Kiota.dll

Builds and executes requests for operations under \admin\realms{realm}\clients{client-uuid}\evaluate-scopes\generate-example-userinfo

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

Constructors

GenerateExampleUserinfoRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new GenerateExampleUserinfoRequestBuilder and sets the default values.

public GenerateExampleUserinfoRequestBuilder(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.

GenerateExampleUserinfoRequestBuilder(string, IRequestAdapter)

Instantiates a new GenerateExampleUserinfoRequestBuilder and sets the default values.

public GenerateExampleUserinfoRequestBuilder(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

GetAsync(Action<RequestConfiguration<GenerateExampleUserinfoRequestBuilderGetQueryParameters>>?, CancellationToken)

Create JSON with payload of example user info

public Task<GenerateExampleUserinfoGetResponse?> GetAsync(Action<RequestConfiguration<GenerateExampleUserinfoRequestBuilder.GenerateExampleUserinfoRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<GenerateExampleUserinfoRequestBuilder.GenerateExampleUserinfoRequestBuilderGetQueryParameters>>

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

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<GenerateExampleUserinfoGetResponse>

A GenerateExampleUserinfoGetResponse

ToGetRequestInformation(Action<RequestConfiguration<GenerateExampleUserinfoRequestBuilderGetQueryParameters>>?)

Create JSON with payload of example user info

public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<GenerateExampleUserinfoRequestBuilder.GenerateExampleUserinfoRequestBuilderGetQueryParameters>>? requestConfiguration = null)

Parameters

requestConfiguration Action<RequestConfiguration<GenerateExampleUserinfoRequestBuilder.GenerateExampleUserinfoRequestBuilderGetQueryParameters>>

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 GenerateExampleUserinfoRequestBuilder WithUrl(string rawUrl)

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

GenerateExampleUserinfoRequestBuilder

A GenerateExampleUserinfoRequestBuilder