mirror of
https://github.com/bitwarden/mobile
synced 2025-12-22 03:03:46 +00:00
account apis
This commit is contained in:
21
src/Core/Models/Request/DeviceRequest.cs
Normal file
21
src/Core/Models/Request/DeviceRequest.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Bit.Core.Abstractions;
|
||||
using Bit.Core.Enums;
|
||||
|
||||
namespace Bit.Core.Models.Request
|
||||
{
|
||||
public class DeviceRequest
|
||||
{
|
||||
public DeviceRequest(string appId, IPlatformUtilsService platformUtilsService)
|
||||
{
|
||||
Type = platformUtilsService.GetDevice();
|
||||
Name = platformUtilsService.GetDeviceString();
|
||||
Identifier = appId;
|
||||
PushToken = null; // TODO?
|
||||
}
|
||||
|
||||
public DeviceType? Type { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Identifier { get; set; }
|
||||
public string PushToken { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user