Interface ISelfServiceProfilesClient
- Namespace
- Auth0.ManagementApi.Clients
- Assembly
- Auth0.ManagementApi.dll
public interface ISelfServiceProfilesClient
Methods
CreateAsync(SelfServiceProfileCreateRequest, CancellationToken)
Create self-service-profile.
Task<SelfServiceProfile> CreateAsync(SelfServiceProfileCreateRequest request, CancellationToken cancellationToken = default)
Parameters
request
SelfServiceProfileCreateRequestcancellationToken
CancellationToken
Returns
CreateSsoTicketAsync(string, SelfServiceSsoTicketCreateRequest, CancellationToken)
Creates an sso-access ticket to initiate the Self Service SSO Flow using a self-service profile
Task<SelfServiceSsoTicket> CreateSsoTicketAsync(string id, SelfServiceSsoTicketCreateRequest request, CancellationToken cancellationToken = default)
Parameters
id
stringThe id of the sso-profile to retrieve
request
SelfServiceSsoTicketCreateRequestcancellationToken
CancellationToken
Returns
DeleteAsync(string, CancellationToken)
Delete a self-service-profile by id.
Task DeleteAsync(string id, CancellationToken cancellationToken = default)
Parameters
id
stringSelf-Service-Profile ID
cancellationToken
CancellationToken
Returns
GetAllAsync(PaginationInfo, CancellationToken)
Retrieve self-service-profile information.
Task<IPagedList<SelfServiceProfile>> GetAllAsync(PaginationInfo pagination = null, CancellationToken cancellationToken = default)
Parameters
pagination
PaginationInfocancellationToken
CancellationToken
Returns
GetAsync(string, CancellationToken)
Retrieve self-service-profile by id.
Task<SelfServiceProfile> GetAsync(string id, CancellationToken cancellationToken = default)
Parameters
id
stringSelf-Service-Profile ID
cancellationToken
CancellationToken
Returns
GetCustomTextForSelfServiceProfileAsync(string, string, string, CancellationToken)
Retrieves text customizations for a given self-service profile, language and Self Service SSO Flow page
Task<object> GetCustomTextForSelfServiceProfileAsync(string id, string language, string page, CancellationToken cancellationToken = default)
Parameters
id
stringThe id of the self-service profile.
language
stringThe language of the custom text.
page
stringThe page where the custom text is shown.
cancellationToken
CancellationToken
Returns
RevokeSsoTicketAsync(string, string, CancellationToken)
Revokes an SSO access ticket and invalidates associated sessions. The ticket will no longer be accepted to initiate a Self-Service SSO session. If any users have already started a session through this ticket, their session will be terminated. Clients should expect a 202 Accepted response upon successful processing, indicating that the request has been acknowledged and that the revocation is underway but may not be fully completed at the time of response. If the specified ticket does not exist, a 202 Accepted response is also returned, signaling that no further action is required. Clients should treat these 202 responses as an acknowledgment that the request has been accepted and is in progress, even if the ticket was not found.
Task RevokeSsoTicketAsync(string profileId, string ticketId, CancellationToken cancellationToken = default)
Parameters
profileId
stringThe id of the self-service profile
ticketId
stringThe id of the ticket to revoke
cancellationToken
CancellationToken
Returns
SetCustomTextForSelfServiceProfileAsync(string, string, string, object, CancellationToken)
Updates text customizations for a given self-service profile, language and Self Service SSO Flow page.
Task<object> SetCustomTextForSelfServiceProfileAsync(string id, string language, string page, object body, CancellationToken cancellationToken = default)
Parameters
id
stringThe id of the self-service profile.
language
stringThe language of the custom text.
page
stringThe page where the custom text is shown.
body
objectThe list of text keys and values to customize the self-service SSO page. Values can be plain text or rich HTML content limited to basic styling tags and hyperlinks.
cancellationToken
CancellationToken
Returns
UpdateAsync(string, SelfServiceProfileUpdateRequest, CancellationToken)
Retrieve self-service-profile by id.
Task<SelfServiceProfile> UpdateAsync(string id, SelfServiceProfileUpdateRequest request, CancellationToken cancellationToken = default)
Parameters
id
stringSelf-Service-Profile ID
request
SelfServiceProfileUpdateRequestcancellationToken
CancellationToken