﻿/*
 * Copyright (c) Dominick Baier, Brock Allen.  All rights reserved.
 * see license
 */
using System.Collections.Generic;

namespace Thinktecture.IdentityServer.WsFed.Models
{
    public class RelyingParty
    {
        public string Name { get; set; }
        public bool Enabled { get; set; }

        public string Realm { get; set; }
        public string ReplyUrl { get; set; }
        public string TokenType { get; set; }
        public int TokenLifeTime { get; set; }
        public Dictionary<string, string> ClaimMappings { get; set; }
    }
}
﻿/*
 * Copyright (c) Dominick Baier, Brock Allen.  All rights reserved.
 * see license
 */
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;

namespace Thinktecture.IdentityServer.WsFed.Models
{
    public class RelyingParty
    {
        public string Name { get; set; }
        public bool Enabled { get; set; }

        public string Realm { get; set; }
        public string ReplyUrl { get; set; }
        public string TokenType { get; set; }
        public int TokenLifeTime { get; set; }
        public X509Certificate2 EncryptingCertificate { get; set; }
        public Dictionary<string, string> ClaimMappings { get; set; }
    }
}
Add encryption support to relying party model
Add encryption support to relying party model
