예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AppPrincipal"/> class.
 /// </summary>
 public AppPrincipal()
 {
     _authorization = null;
     _sid           = null;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AppPrincipal"/> class.
 /// </summary>
 /// <param name="authorizationData">The authorization data.</param>
 /// <param name="identity">The identity.</param>
 /// <param name="sid">The sid.</param>
 public AppPrincipal(Authorization authorizationData, IIdentity identity, string sid) : base(identity)
 {
     _sid           = sid;
     Authorization  = authorizationData;
     _authorization = new AppAuthorization(authorizationData);
 }