Table of Contents

Class ResetPasswordEmailRequestBuilder

Namespace
Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Users.Item.ResetPasswordEmail
Assembly
Keycloak.AuthServices.Sdk.Kiota.dll

Builds and executes requests for operations under \admin\realms{realm}\users{user-id}\reset-password-email

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

Constructors

ResetPasswordEmailRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new ResetPasswordEmailRequestBuilder and sets the default values.

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

ResetPasswordEmailRequestBuilder(string, IRequestAdapter)

Instantiates a new ResetPasswordEmailRequestBuilder and sets the default values.

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

PutAsync(Action<RequestConfiguration<ResetPasswordEmailRequestBuilderPutQueryParameters>>?, CancellationToken)

The redirectUri and clientId parameters are optional. The default for the redirect is the account client. This endpoint has been deprecated. Please use the execute-actions-email passing a list with UPDATE_PASSWORD within it.

[Obsolete("")]
public Task<Stream?> PutAsync(Action<RequestConfiguration<ResetPasswordEmailRequestBuilder.ResetPasswordEmailRequestBuilderPutQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<ResetPasswordEmailRequestBuilder.ResetPasswordEmailRequestBuilderPutQueryParameters>>

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

ToPutRequestInformation(Action<RequestConfiguration<ResetPasswordEmailRequestBuilderPutQueryParameters>>?)

The redirectUri and clientId parameters are optional. The default for the redirect is the account client. This endpoint has been deprecated. Please use the execute-actions-email passing a list with UPDATE_PASSWORD within it.

[Obsolete("")]
public RequestInformation ToPutRequestInformation(Action<RequestConfiguration<ResetPasswordEmailRequestBuilder.ResetPasswordEmailRequestBuilderPutQueryParameters>>? requestConfiguration = null)

Parameters

requestConfiguration Action<RequestConfiguration<ResetPasswordEmailRequestBuilder.ResetPasswordEmailRequestBuilderPutQueryParameters>>

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.

[Obsolete("")]
public ResetPasswordEmailRequestBuilder WithUrl(string rawUrl)

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

ResetPasswordEmailRequestBuilder

A ResetPasswordEmailRequestBuilder