コード例 #1
0
ファイル: Facebook.cs プロジェクト: vlapchenko/nfx
 public FacebookSocialUserInfo(Facebook issuer, SocialUserInfoToken? existingToken = null) : base(issuer) { }
コード例 #2
0
ファイル: Facebook.cs プロジェクト: vlapchenko/nfx
 public override SocialUserInfo CreateSocialUserInfo(SocialUserInfoToken? existingToken = null)
 {
   return new FacebookSocialUserInfo(this);
 }
コード例 #3
0
ファイル: GooglePlus.cs プロジェクト: PavelTorgashov/nfx
 public override SocialUserInfo CreateSocialUserInfo(SocialUserInfoToken? existingToken = null)
 {
   return new GooglePlusSocialUserInfo(this);
 }
コード例 #4
0
ファイル: LinkedIn.cs プロジェクト: vlapchenko/nfx
 public override SocialUserInfo CreateSocialUserInfo(SocialUserInfoToken? existingToken = null)
 {
   return new LinkedInSocialUserInfo(this);
 }
コード例 #5
0
ファイル: Twitter.cs プロジェクト: vlapchenko/nfx
 public override SocialUserInfo CreateSocialUserInfo(SocialUserInfoToken? existingToken = null)
 {
   return new TwitterSocialUserInfo(this);
 }
コード例 #6
0
ファイル: SocialNetwork.cs プロジェクト: sergey-msu/nfx
 /// <summary>
 /// Create an instance of social user info class.
 /// If parameters are null then creates new non-logged-in instance, otherwise, if parameters are set,
 /// then connects to network and tries to re-initializes SocialUser info with fresh data
 /// from the network (i.e. name, gender etc.) using the supplied net tokens, or throws if tokens are invalid (i.e. expired).
 /// This returned instance is usually stored in session for later use
 /// </summary>
 /// <returns>SocialUserInfo instance</returns>
 public abstract SocialUserInfo CreateSocialUserInfo(SocialUserInfoToken? existingToken = null);