コード例 #1
0
        public IdentityDataModel(CipherRequestModel cipher)
        {
            Name   = cipher.Name;
            Notes  = cipher.Notes;
            Fields = cipher.Fields;

            Title          = cipher.Identity.Title;
            FirstName      = cipher.Identity.FirstName;
            MiddleName     = cipher.Identity.MiddleName;
            LastName       = cipher.Identity.LastName;
            Address1       = cipher.Identity.Address1;
            Address2       = cipher.Identity.Address2;
            Address3       = cipher.Identity.Address3;
            City           = cipher.Identity.City;
            State          = cipher.Identity.State;
            PostalCode     = cipher.Identity.PostalCode;
            Country        = cipher.Identity.Country;
            Company        = cipher.Identity.Company;
            Email          = cipher.Identity.Email;
            Phone          = cipher.Identity.Phone;
            SSN            = cipher.Identity.SSN;
            Username       = cipher.Identity.Username;
            PassportNumber = cipher.Identity.PassportNumber;
            LicenseNumber  = cipher.Identity.LicenseNumber;
        }
コード例 #2
0
 public LoginDataModel(CipherRequestModel cipher)
 {
     Name     = cipher.Name;
     Uri      = cipher.Uri;
     Username = cipher.Username;
     Password = cipher.Password;
     Notes    = cipher.Notes;
 }
コード例 #3
0
        public SecureNoteDataModel(CipherRequestModel cipher)
        {
            Name   = cipher.Name;
            Notes  = cipher.Notes;
            Fields = cipher.Fields;

            Type = cipher.SecureNote.Type;
        }
コード例 #4
0
ファイル: LoginDataModel.cs プロジェクト: xxf2103625/core
        public LoginDataModel(CipherRequestModel cipher)
        {
            Name   = cipher.Name;
            Notes  = cipher.Notes;
            Fields = cipher.Fields;

            Uri      = cipher.Login.Uri;
            Username = cipher.Login.Username;
            Password = cipher.Login.Password;
            Totp     = cipher.Login.Totp;
        }
コード例 #5
0
ファイル: CardDataModel.cs プロジェクト: xxf2103625/core
        public CardDataModel(CipherRequestModel cipher)
        {
            Name   = cipher.Name;
            Notes  = cipher.Notes;
            Fields = cipher.Fields;

            CardholderName = cipher.Card.CardholderName;
            Brand          = cipher.Card.Brand;
            Number         = cipher.Card.Number;
            ExpMonth       = cipher.Card.ExpMonth;
            ExpYear        = cipher.Card.ExpYear;
            Code           = cipher.Card.Code;
        }