C# Класс 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
Наследование: IFacebookMembershipProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

GetFacebookAccessToken() публичный Метод

public GetFacebookAccessToken ( object membershipProviderUserKey ) : string
membershipProviderUserKey object
Результат string

GetFacebookAccessToken() публичный Метод

public GetFacebookAccessToken ( string membershipUsername ) : string
membershipUsername string
Результат string

GetFacebookAccessTokenByFacebookId() публичный Метод

public GetFacebookAccessTokenByFacebookId ( string facebookId ) : string
facebookId string
Результат string

GetFacebookExpiresIn() публичный Метод

public GetFacebookExpiresIn ( object membershipProviderUserKey ) : long
membershipProviderUserKey object
Результат long

GetFacebookExpiresIn() публичный Метод

public GetFacebookExpiresIn ( string membershipUsername ) : long
membershipUsername string
Результат long

GetFacebookExpiresInByFacebookId() публичный Метод

public GetFacebookExpiresInByFacebookId ( string facebookId ) : long
facebookId string
Результат long

GetFacebookId() публичный Метод

public GetFacebookId ( object membershipProviderUserKey ) : string
membershipProviderUserKey object
Результат string

GetFacebookId() публичный Метод

public GetFacebookId ( string membershipUsername ) : string
membershipUsername string
Результат string

HasLinkedFacebook() публичный Метод

public HasLinkedFacebook ( object membershipProviderUserKey ) : bool
membershipProviderUserKey object
Результат bool

HasLinkedFacebook() публичный Метод

public HasLinkedFacebook ( string membershipUsername ) : bool
membershipUsername string
Результат bool

IsFacebookUserLinked() публичный Метод

public IsFacebookUserLinked ( string facebookId ) : bool
facebookId string
Результат bool

LinkFacebook() публичный Метод

public LinkFacebook ( object membershipProviderUserKey, string facebookId, string accessToken ) : void
membershipProviderUserKey object
facebookId string
accessToken string
Результат void

LinkFacebook() публичный Метод

public LinkFacebook ( object membershipProviderUserKey, string facebookId, string accessToken, long expiresIn ) : void
membershipProviderUserKey object
facebookId string
accessToken string
expiresIn long
Результат void

LinkFacebook() публичный Метод

public LinkFacebook ( string membershipUsername, string facebookId, string accessToken ) : void
membershipUsername string
facebookId string
accessToken string
Результат void

LinkFacebook() публичный Метод

public LinkFacebook ( string membershipUsername, string facebookId, string accessToken, long expiresIn ) : void
membershipUsername string
facebookId string
accessToken string
expiresIn long
Результат void

SQLiteFacebookMembershipProvider() публичный Метод

public SQLiteFacebookMembershipProvider ( string connectionString ) : System
connectionString string
Результат System

SQLiteFacebookMembershipProvider() публичный Метод

public SQLiteFacebookMembershipProvider ( string connectionString, string tableName ) : System
connectionString string
tableName string
Результат System

SQLiteFacebookMembershipProvider() публичный Метод

public SQLiteFacebookMembershipProvider ( string connectionString, string tableName, MembershipProvider membershipProvider ) : System
connectionString string
tableName string
membershipProvider System.Web.Security.MembershipProvider
Результат System

UnlinkFacebook() публичный Метод

public UnlinkFacebook ( object membershipProviderUserKey ) : void
membershipProviderUserKey object
Результат void

UnlinkFacebook() публичный Метод

public UnlinkFacebook ( string membershipUsername ) : void
membershipUsername string
Результат void

UnlinkFacebookByFacebookId() публичный Метод

public UnlinkFacebookByFacebookId ( string facebookId ) : void
facebookId string
Результат void