コード例 #1
0
ファイル: OAuthPrincipal.cs プロジェクト: jcp-xx/dotnetopenid
 /// <summary>
 /// Initializes a new instance of the <see cref="OAuthPrincipal"/> class.
 /// </summary>
 /// <param name="identity">The identity.</param>
 /// <param name="roles">The roles this user belongs to.</param>
 internal OAuthPrincipal(OAuthIdentity identity, string[] roles)
 {
     this.Identity = identity;
     this.roles = roles;
 }
コード例 #2
0
ファイル: OAuthPrincipal.cs プロジェクト: thild/dotnetopenid
 /// <summary>
 /// Initializes a new instance of the <see cref="OAuthPrincipal"/> class.
 /// </summary>
 /// <param name="identity">The identity.</param>
 /// <param name="roles">The roles this user belongs to.</param>
 internal OAuthPrincipal(OAuthIdentity identity, string[] roles)
 {
     this.Identity = identity;
     this.roles    = roles;
 }