Table of Contents

Class WithAliasItemRequestBuilder

Namespace
Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.IdentityProvider.Instances.Item
Assembly
Keycloak.AuthServices.Sdk.Kiota.dll

Builds and executes requests for operations under \admin\realms{realm}\identity-provider\instances{alias}

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

Constructors

WithAliasItemRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new WithAliasItemRequestBuilder and sets the default values.

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

WithAliasItemRequestBuilder(string, IRequestAdapter)

Instantiates a new WithAliasItemRequestBuilder and sets the default values.

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

Export

The export property

public ExportRequestBuilder Export { get; }

Property Value

ExportRequestBuilder

Management

The management property

public ManagementRequestBuilder Management { get; }

Property Value

ManagementRequestBuilder

MapperTypes

The mapperTypes property

public MapperTypesRequestBuilder MapperTypes { get; }

Property Value

MapperTypesRequestBuilder

Mappers

The mappers property

public MappersRequestBuilder Mappers { get; }

Property Value

MappersRequestBuilder

ReloadKeys

The reloadKeys property

public ReloadKeysRequestBuilder ReloadKeys { get; }

Property Value

ReloadKeysRequestBuilder

Methods

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

Delete the identity provider

public Task<Stream?> DeleteAsync(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<Stream>

A Stream

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

Get the identity provider

public Task<IdentityProviderRepresentation?> 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<IdentityProviderRepresentation>

A IdentityProviderRepresentation

PutAsync(IdentityProviderRepresentation, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)

Update the identity provider

public Task<Stream?> PutAsync(IdentityProviderRepresentation body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

body IdentityProviderRepresentation

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<Stream>

A Stream

ToDeleteRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)

Delete the identity provider

public RequestInformation ToDeleteRequestInformation(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

ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)

Get the identity provider

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

ToPutRequestInformation(IdentityProviderRepresentation, Action<RequestConfiguration<DefaultQueryParameters>>?)

Update the identity provider

public RequestInformation ToPutRequestInformation(IdentityProviderRepresentation body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)

Parameters

body IdentityProviderRepresentation

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

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

WithAliasItemRequestBuilder

A WithAliasItemRequestBuilder