Table of Contents

Class InMemoryDeviceFlowStore

Namespace
Duende.IdentityServer.Stores
Assembly
Duende.IdentityServer.dll

In-memory device flow store

public class InMemoryDeviceFlowStore : IDeviceFlowStore
Inheritance
InMemoryDeviceFlowStore
Implements
IDeviceFlowStore
Inherited Members

Constructors

InMemoryDeviceFlowStore()

public InMemoryDeviceFlowStore()
See Also
IDeviceFlowStore

Methods

FindByDeviceCodeAsync(string)

Finds device authorization by device code.

public Task<DeviceCode> FindByDeviceCodeAsync(string deviceCode)

Parameters

deviceCode string

The device code.

Returns

Task<DeviceCode>
See Also
IDeviceFlowStore

FindByUserCodeAsync(string)

Finds device authorization by user code.

public Task<DeviceCode> FindByUserCodeAsync(string userCode)

Parameters

userCode string

The user code.

Returns

Task<DeviceCode>
See Also
IDeviceFlowStore

RemoveByDeviceCodeAsync(string)

Removes the device authorization, searching by device code.

public Task RemoveByDeviceCodeAsync(string deviceCode)

Parameters

deviceCode string

The device code.

Returns

Task
See Also
IDeviceFlowStore

StoreDeviceAuthorizationAsync(string, string, DeviceCode)

Stores the device authorization request.

public Task StoreDeviceAuthorizationAsync(string deviceCode, string userCode, DeviceCode data)

Parameters

deviceCode string

The device code.

userCode string

The user code.

data DeviceCode

The data.

Returns

Task
See Also
IDeviceFlowStore

UpdateByUserCodeAsync(string, DeviceCode)

Updates device authorization, searching by user code.

public Task UpdateByUserCodeAsync(string userCode, DeviceCode data)

Parameters

userCode string

The user code.

data DeviceCode

The data.

Returns

Task
See Also
IDeviceFlowStore

See Also

IDeviceFlowStore