Class DeviceFlowStore
Inheritance
DeviceFlowStore
Implements
IDeviceFlowStore
Assembly: Volo.Abp.IdentityServer.Domain.dll
Syntax
public class DeviceFlowStore : IDeviceFlowStore
Constructors
DeviceFlowStore(IDeviceFlowCodesRepository, IGuidGenerator, IPersistentGrantSerializer)
Declaration
public DeviceFlowStore(IDeviceFlowCodesRepository deviceFlowCodesRepository, IGuidGenerator guidGenerator, IPersistentGrantSerializer persistentGrantSerializer)
Parameters
Properties
DeviceFlowCodesRepository
Declaration
protected IDeviceFlowCodesRepository DeviceFlowCodesRepository { get; }
Property Value
GuidGenerator
Declaration
protected IGuidGenerator GuidGenerator { get; }
Property Value
PersistentGrantSerializer
Declaration
protected IPersistentGrantSerializer PersistentGrantSerializer { get; }
Property Value
Type |
Description |
IPersistentGrantSerializer |
|
Methods
DeserializeToDeviceCode(string)
Declaration
protected virtual DeviceCode DeserializeToDeviceCode(string data)
Parameters
Type |
Name |
Description |
string |
data |
|
Returns
Type |
Description |
DeviceCode |
|
FindByDeviceCodeAsync(string)
Declaration
public virtual Task<DeviceCode> FindByDeviceCodeAsync(string deviceCode)
Parameters
Type |
Name |
Description |
string |
deviceCode |
|
Returns
Type |
Description |
Task<DeviceCode> |
|
FindByUserCodeAsync(string)
Declaration
public virtual Task<DeviceCode> FindByUserCodeAsync(string userCode)
Parameters
Type |
Name |
Description |
string |
userCode |
|
Returns
Type |
Description |
Task<DeviceCode> |
|
RemoveByDeviceCodeAsync(string)
Declaration
public virtual Task RemoveByDeviceCodeAsync(string deviceCode)
Parameters
Type |
Name |
Description |
string |
deviceCode |
|
Returns
Serialize(DeviceCode)
Declaration
protected virtual string Serialize(DeviceCode deviceCode)
Parameters
Type |
Name |
Description |
DeviceCode |
deviceCode |
|
Returns
StoreDeviceAuthorizationAsync(string, string, DeviceCode)
Declaration
public virtual Task StoreDeviceAuthorizationAsync(string deviceCode, string userCode, DeviceCode data)
Parameters
Type |
Name |
Description |
string |
deviceCode |
|
string |
userCode |
|
DeviceCode |
data |
|
Returns
UpdateByUserCodeAsync(string, DeviceCode)
Declaration
public virtual Task UpdateByUserCodeAsync(string userCode, DeviceCode data)
Parameters
Type |
Name |
Description |
string |
userCode |
|
DeviceCode |
data |
|
Returns
Implements
IdentityServer4.Stores.IDeviceFlowStore
Extension Methods