C# Class FacebookSharp.SQLiteFacebookMembershipProvider

CREATE TABLE FacebookUsers( Username VARCHAR(60), -- membershipUsername, primary key already enforced as unique and not null FacebookId VARCHAR(50) NOT NULL UNIQUE, AccessToken VARCHAR(256), PRIMARY KEY (Username) ); todo: add support for application name
Inheritance: IFacebookMembershipProvider
显示文件 Open project: prabirshrestha/FacebookSharp

Public Methods

Method Description
GetFacebookAccessToken ( object membershipProviderUserKey ) : string
GetFacebookAccessToken ( string membershipUsername ) : string
GetFacebookAccessTokenByFacebookId ( string facebookId ) : string
GetFacebookExpiresIn ( object membershipProviderUserKey ) : long
GetFacebookExpiresIn ( string membershipUsername ) : long
GetFacebookExpiresInByFacebookId ( string facebookId ) : long
GetFacebookId ( object membershipProviderUserKey ) : string
GetFacebookId ( string membershipUsername ) : string
HasLinkedFacebook ( object membershipProviderUserKey ) : bool
HasLinkedFacebook ( string membershipUsername ) : bool
IsFacebookUserLinked ( string facebookId ) : bool
LinkFacebook ( object membershipProviderUserKey, string facebookId, string accessToken ) : void
LinkFacebook ( object membershipProviderUserKey, string facebookId, string accessToken, long expiresIn ) : void
LinkFacebook ( string membershipUsername, string facebookId, string accessToken ) : void
LinkFacebook ( string membershipUsername, string facebookId, string accessToken, long expiresIn ) : void
SQLiteFacebookMembershipProvider ( string connectionString ) : System
SQLiteFacebookMembershipProvider ( string connectionString, string tableName ) : System
SQLiteFacebookMembershipProvider ( string connectionString, string tableName, MembershipProvider membershipProvider ) : System
UnlinkFacebook ( object membershipProviderUserKey ) : void
UnlinkFacebook ( string membershipUsername ) : void
UnlinkFacebookByFacebookId ( string facebookId ) : void

Method Details

GetFacebookAccessToken() public method

public GetFacebookAccessToken ( object membershipProviderUserKey ) : string
membershipProviderUserKey object
return string

GetFacebookAccessToken() public method

public GetFacebookAccessToken ( string membershipUsername ) : string
membershipUsername string
return string

GetFacebookAccessTokenByFacebookId() public method

public GetFacebookAccessTokenByFacebookId ( string facebookId ) : string
facebookId string
return string

GetFacebookExpiresIn() public method

public GetFacebookExpiresIn ( object membershipProviderUserKey ) : long
membershipProviderUserKey object
return long

GetFacebookExpiresIn() public method

public GetFacebookExpiresIn ( string membershipUsername ) : long
membershipUsername string
return long

GetFacebookExpiresInByFacebookId() public method

public GetFacebookExpiresInByFacebookId ( string facebookId ) : long
facebookId string
return long

GetFacebookId() public method

public GetFacebookId ( object membershipProviderUserKey ) : string
membershipProviderUserKey object
return string

GetFacebookId() public method

public GetFacebookId ( string membershipUsername ) : string
membershipUsername string
return string

HasLinkedFacebook() public method

public HasLinkedFacebook ( object membershipProviderUserKey ) : bool
membershipProviderUserKey object
return bool

HasLinkedFacebook() public method

public HasLinkedFacebook ( string membershipUsername ) : bool
membershipUsername string
return bool

IsFacebookUserLinked() public method

public IsFacebookUserLinked ( string facebookId ) : bool
facebookId string
return bool

LinkFacebook() public method

public LinkFacebook ( object membershipProviderUserKey, string facebookId, string accessToken ) : void
membershipProviderUserKey object
facebookId string
accessToken string
return void

LinkFacebook() public method

public LinkFacebook ( object membershipProviderUserKey, string facebookId, string accessToken, long expiresIn ) : void
membershipProviderUserKey object
facebookId string
accessToken string
expiresIn long
return void

LinkFacebook() public method

public LinkFacebook ( string membershipUsername, string facebookId, string accessToken ) : void
membershipUsername string
facebookId string
accessToken string
return void

LinkFacebook() public method

public LinkFacebook ( string membershipUsername, string facebookId, string accessToken, long expiresIn ) : void
membershipUsername string
facebookId string
accessToken string
expiresIn long
return void

SQLiteFacebookMembershipProvider() public method

public SQLiteFacebookMembershipProvider ( string connectionString ) : System
connectionString string
return System

SQLiteFacebookMembershipProvider() public method

public SQLiteFacebookMembershipProvider ( string connectionString, string tableName ) : System
connectionString string
tableName string
return System

SQLiteFacebookMembershipProvider() public method

public SQLiteFacebookMembershipProvider ( string connectionString, string tableName, MembershipProvider membershipProvider ) : System
connectionString string
tableName string
membershipProvider System.Web.Security.MembershipProvider
return System

UnlinkFacebook() public method

public UnlinkFacebook ( object membershipProviderUserKey ) : void
membershipProviderUserKey object
return void

UnlinkFacebook() public method

public UnlinkFacebook ( string membershipUsername ) : void
membershipUsername string
return void

UnlinkFacebookByFacebookId() public method

public UnlinkFacebookByFacebookId ( string facebookId ) : void
facebookId string
return void