mirror of
https://github.com/bitwarden/mobile
synced 2025-12-20 02:03:49 +00:00
setup more models
This commit is contained in:
34
src/Core/Models/View/LoginUriView.cs
Normal file
34
src/Core/Models/View/LoginUriView.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using Bit.Core.Enums;
|
||||
using Bit.Core.Models.Domain;
|
||||
|
||||
namespace Bit.Core.Models.View
|
||||
{
|
||||
public class LoginUriView : View
|
||||
{
|
||||
private string _uri;
|
||||
private string _domain;
|
||||
private string _hostname;
|
||||
private bool? _canLaunch;
|
||||
|
||||
public LoginUriView() { }
|
||||
|
||||
public LoginUriView(LoginUri u)
|
||||
{
|
||||
Match = u.Match;
|
||||
}
|
||||
|
||||
public UriMatchType? Match { get; set; }
|
||||
public string Uri
|
||||
{
|
||||
get => _uri;
|
||||
set
|
||||
{
|
||||
_uri = value;
|
||||
_domain = null;
|
||||
_canLaunch = null;
|
||||
}
|
||||
}
|
||||
|
||||
// TODO
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user