Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Duende.​IdentityServer.​Services.​IDeviceFlowCodeService

Assembly: Duende.IdentityServer

Wrapper service for IDeviceFlowStore.

Methods

StoreDeviceAuthorizationAsync​(string userCode, Models.​DeviceCode data, System.​Threading.​CancellationToken ct)
Stores the device authorization request.
userCode The user code.
data The data.
ct The cancellation token.
FindByUserCodeAsync​(string userCode, System.​Threading.​CancellationToken ct)
Finds device authorization by user code.
userCode The user code.
ct The cancellation token.
FindByDeviceCodeAsync​(string deviceCode, System.​Threading.​CancellationToken ct)
Finds device authorization by device code.
deviceCode The device code.
ct The cancellation token.
UpdateByUserCodeAsync​(string userCode, Models.​DeviceCode data, System.​Threading.​CancellationToken ct)
Updates device authorization, searching by user code.
userCode The user code.
data The data.
ct The cancellation token.
RemoveByDeviceCodeAsync​(string deviceCode, System.​Threading.​CancellationToken ct)
Removes the device authorization, searching by device code.
deviceCode The device code.
ct The cancellation token.