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
-
BaseRequestBuilderGenerateExampleUserinfoRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.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
IRequestAdapterThe 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
stringThe raw URL to use for the request builder.
requestAdapter
IRequestAdapterThe 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
CancellationTokenCancellation token to use when cancelling requests
Returns
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
stringThe raw URL to use for the request builder.