Method RotateApplicationSecretAsync(string, CancellationToken)

Assembly: redb.Identity.Client.dll

Rotates the client_secret of a confidential application. The returned
field carries the freshly generated
plaintext secret — copy it immediately, subsequent calls will not expose it again
(server stores only the BCrypt hash). The previous secret stops working at the
token endpoint as soon as this call succeeds.

public Task<ApplicationResponse> RotateApplicationSecretAsync(string id, CancellationToken ct = default)