Table of Contents

Class SelfServiceProfilesClient

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
public class SelfServiceProfilesClient : ISelfServiceProfilesClient
Inheritance
SelfServiceProfilesClient
Implements
Inherited Members
Extension Methods

Properties

CustomText

public ICustomTextClient CustomText { get; }

Property Value

ICustomTextClient

SsoTicket

public ISsoTicketClient SsoTicket { get; }

Property Value

ISsoTicketClient

Methods

CreateAsync(CreateSelfServiceProfileRequestContent, RequestOptions?, CancellationToken)

Creates a self-service profile.

public WithRawResponseTask<CreateSelfServiceProfileResponseContent> CreateAsync(CreateSelfServiceProfileRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request CreateSelfServiceProfileRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<CreateSelfServiceProfileResponseContent>

Examples

await client.SelfServiceProfiles.CreateAsync(
    new CreateSelfServiceProfileRequestContent { Name = "name" }
);

DeleteAsync(string, RequestOptions?, CancellationToken)

Deletes a self-service profile by Id.

public Task DeleteAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
options RequestOptions
cancellationToken CancellationToken

Returns

Task

Examples

await client.SelfServiceProfiles.DeleteAsync("id");

GetAsync(string, RequestOptions?, CancellationToken)

Retrieves a self-service profile by Id.

public WithRawResponseTask<GetSelfServiceProfileResponseContent> GetAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<GetSelfServiceProfileResponseContent>

Examples

await client.SelfServiceProfiles.GetAsync("id");

ListAsync(ListSelfServiceProfilesRequestParameters, RequestOptions?, CancellationToken)

Retrieves self-service profiles.

public Task<Pager<SelfServiceProfile>> ListAsync(ListSelfServiceProfilesRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

request ListSelfServiceProfilesRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

Task<Pager<SelfServiceProfile>>

Examples

await client.SelfServiceProfiles.ListAsync(
    new ListSelfServiceProfilesRequestParameters
    {
        Page = 1,
        PerPage = 1,
        IncludeTotals = true,
    }
);

UpdateAsync(string, UpdateSelfServiceProfileRequestContent, RequestOptions?, CancellationToken)

Updates a self-service profile.

public WithRawResponseTask<UpdateSelfServiceProfileResponseContent> UpdateAsync(string id, UpdateSelfServiceProfileRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
request UpdateSelfServiceProfileRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

WithRawResponseTask<UpdateSelfServiceProfileResponseContent>

Examples

await client.SelfServiceProfiles.UpdateAsync("id", new UpdateSelfServiceProfileRequestContent());