Interface IBackchannelIdentityClient

Assembly: redb.Identity.Client.dll

Narrow service-to-service client for the W6-0 backchannel revoked-sids API.
Authenticates via client_credentials using credentials supplied through
and is independent from the
user-context registration.

public interface IBackchannelIdentityClient

Methods

AddRevokedSidAsync(string?, string?, string?, DateTimeOffset?, CancellationToken)

Publish a backchannel revocation entry. At least one of sid

Task<RevokedSidEntry> AddRevokedSidAsync(string? sid, string? sub, string? clientId, DateTimeOffset? expiresAt = null, CancellationToken ct = default)

ChangeEmailConfirmAsync(ChangeEmailConfirmRequest, CancellationToken)

N4-7: proxy the anonymous change-of-e-mail confirmation to the Identity host.

Task<ChangeEmailConfirmResponse> ChangeEmailConfirmAsync(ChangeEmailConfirmRequest request, CancellationToken ct = default)

ForgotPasswordAsync(PasswordForgotRequest, CancellationToken)

N-4 (Session C): proxy the anonymous password-recovery initiation to the Identity

Task<PasswordForgotResponse> ForgotPasswordAsync(PasswordForgotRequest request, CancellationToken ct = default)

GetRevokedSidsSinceAsync(DateTimeOffset?, CancellationToken)

Incremental poll. Omit cursor for the first call (server

Task<RevokedSidsSinceResponse> GetRevokedSidsSinceAsync(DateTimeOffset? cursor = null, CancellationToken ct = default)

RegisterAccountAsync(RegisterAccountRequest, CancellationToken)

N-3 (sub-step N3-7): proxy the anonymous self-service account registration to the

Task<RegisterAccountResponse> RegisterAccountAsync(RegisterAccountRequest request, CancellationToken ct = default)

ResetPasswordAsync(PasswordResetRequest, CancellationToken)

N-4 (Session C): proxy the anonymous password-reset consumption to the Identity

Task<PasswordResetResponse> ResetPasswordAsync(PasswordResetRequest request, CancellationToken ct = default)

VerifyEmailConfirmAsync(EmailVerifyConfirmRequest, CancellationToken)

N4-6: proxy the anonymous e-mail-verification confirmation to the Identity host.

Task<EmailVerifyConfirmResponse> VerifyEmailConfirmAsync(EmailVerifyConfirmRequest request, CancellationToken ct = default)