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
stringThe device code.
Returns
- Task<DeviceCode>
- See Also
-
IDeviceFlowStore
FindByUserCodeAsync(string)
Finds device authorization by user code.
public Task<DeviceCode> FindByUserCodeAsync(string userCode)
Parameters
userCode
stringThe 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
stringThe device code.
Returns
- See Also
-
IDeviceFlowStore
StoreDeviceAuthorizationAsync(string, string, DeviceCode)
Stores the device authorization request.
public Task StoreDeviceAuthorizationAsync(string deviceCode, string userCode, DeviceCode data)
Parameters
Returns
- See Also
-
IDeviceFlowStore
UpdateByUserCodeAsync(string, DeviceCode)
Updates device authorization, searching by user code.
public Task UpdateByUserCodeAsync(string userCode, DeviceCode data)
Parameters
userCode
stringThe user code.
data
DeviceCodeThe data.
Returns
- See Also
-
IDeviceFlowStore
See Also
IDeviceFlowStore