Table of Contents

Class RequiredActionsRequestBuilder

Namespace
Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RequiredActions
Assembly
Keycloak.AuthServices.Sdk.Kiota.dll

Builds and executes requests for operations under \admin\realms{realm}\authentication\required-actions

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

Constructors

RequiredActionsRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new RequiredActionsRequestBuilder and sets the default values.

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

RequiredActionsRequestBuilder(string, IRequestAdapter)

Instantiates a new RequiredActionsRequestBuilder and sets the default values.

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

Properties

this[string]

Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.authentication.requiredActions.item collection

public WithAliasItemRequestBuilder this[string position] { get; }

Parameters

position string

Alias of required action

Property Value

WithAliasItemRequestBuilder

A WithAliasItemRequestBuilder

Methods

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

Get required actions Returns a stream of required actions.

public Task<List<RequiredActionProviderRepresentation>?> GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

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<List<RequiredActionProviderRepresentation>>

A List<RequiredActionProviderRepresentation>

ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)

Get required actions Returns a stream of required actions.

public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)

Parameters

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

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

RequiredActionsRequestBuilder

A RequiredActionsRequestBuilder