Table of Contents

Class ProtocolMappersRequestBuilder

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

Builds and executes requests for operations under \admin\realms{realm}\clients{client-uuid}\evaluate-scopes\protocol-mappers

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

Constructors

ProtocolMappersRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new ProtocolMappersRequestBuilder and sets the default values.

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

ProtocolMappersRequestBuilder(string, IRequestAdapter)

Instantiates a new ProtocolMappersRequestBuilder and sets the default values.

public ProtocolMappersRequestBuilder(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<ProtocolMappersRequestBuilderGetQueryParameters>>?, CancellationToken)

This means protocol mappers assigned to this client directly and protocol mappers assigned to all client scopes of this client.

public Task<List<ProtocolMapperEvaluationRepresentation>?> GetAsync(Action<RequestConfiguration<ProtocolMappersRequestBuilder.ProtocolMappersRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<ProtocolMappersRequestBuilder.ProtocolMappersRequestBuilderGetQueryParameters>>

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

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<List<ProtocolMapperEvaluationRepresentation>>

A List<ProtocolMapperEvaluationRepresentation>

ToGetRequestInformation(Action<RequestConfiguration<ProtocolMappersRequestBuilderGetQueryParameters>>?)

This means protocol mappers assigned to this client directly and protocol mappers assigned to all client scopes of this client.

public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<ProtocolMappersRequestBuilder.ProtocolMappersRequestBuilderGetQueryParameters>>? requestConfiguration = null)

Parameters

requestConfiguration Action<RequestConfiguration<ProtocolMappersRequestBuilder.ProtocolMappersRequestBuilderGetQueryParameters>>

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

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

ProtocolMappersRequestBuilder

A ProtocolMappersRequestBuilder