C# Class OrbitOne.OpenId.MembershipProvider.OpenIdMembershipProvider

Inheritance: System.Web.Security.MembershipProvider
Afficher le fichier Open project: adlnet/3D-Repository

Méthodes publiques

Méthode Description
ChangePassword ( string username, string oldPwd, string newPwd ) : bool
ChangePasswordQuestionAndAnswer ( string username, string password, string newPwdQuestion, string newPwdAnswer ) : bool
CreateUser ( string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, MembershipCreateStatus &status ) : System.Web.Security.MembershipUser
DeleteUser ( string username, bool deleteAllRelatedData ) : bool
FindUsersByEmail ( string emailToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
FindUsersByName ( string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
GetAllOpenIdUsers ( int &totalRecords ) : IList
GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
GetNumberOfUsersOnline ( ) : int
GetOpenIdsByUserName ( string userName ) : IList
GetPassword ( string username, string answer ) : string
GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser
GetUser ( string username, bool userIsOnline ) : System.Web.Security.MembershipUser
GetUserByOpenId ( string openId, bool userIsOnline ) : System.Web.Security.MembershipUser
GetUserNameByEmail ( string email ) : string
Initialize ( string name, NameValueCollection config ) : void
LinkUserWithOpenId ( string openId, object userId ) : void
RemoveUserOpenIdLinkByOpenId ( string openId ) : void
RemoveUserOpenIdLinkByUserId ( object userId ) : void
ResetPassword ( string username, string answer ) : string
UnlockUser ( string username ) : bool
UpdateUser ( System.Web.Security.MembershipUser user ) : void
ValidateOpenIDUser ( ) : bool
ValidateUser ( string username, string password ) : bool

Private Methods

Méthode Description
CheckPassword ( string password, string dbpassword ) : bool
EncodePassword ( string password ) : string
GetUserFromReader ( OdbcDataReader reader ) : OpenIdMembershipUser
UnEncodePassword ( string encodedPassword ) : string
UpdateFailureCount ( string username, string failureType ) : void

Method Details

ChangePassword() public méthode

public ChangePassword ( string username, string oldPwd, string newPwd ) : bool
username string
oldPwd string
newPwd string
Résultat bool

ChangePasswordQuestionAndAnswer() public méthode

public ChangePasswordQuestionAndAnswer ( string username, string password, string newPwdQuestion, string newPwdAnswer ) : bool
username string
password string
newPwdQuestion string
newPwdAnswer string
Résultat bool

CreateUser() public méthode

public CreateUser ( string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, MembershipCreateStatus &status ) : System.Web.Security.MembershipUser
username string
password string
email string
passwordQuestion string
passwordAnswer string
isApproved bool
providerUserKey object
status MembershipCreateStatus
Résultat System.Web.Security.MembershipUser

DeleteUser() public méthode

public DeleteUser ( string username, bool deleteAllRelatedData ) : bool
username string
deleteAllRelatedData bool
Résultat bool

FindUsersByEmail() public méthode

public FindUsersByEmail ( string emailToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
emailToMatch string
pageIndex int
pageSize int
totalRecords int
Résultat System.Web.Security.MembershipUserCollection

FindUsersByName() public méthode

public FindUsersByName ( string usernameToMatch, int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
usernameToMatch string
pageIndex int
pageSize int
totalRecords int
Résultat System.Web.Security.MembershipUserCollection

GetAllOpenIdUsers() public méthode

public GetAllOpenIdUsers ( int &totalRecords ) : IList
totalRecords int
Résultat IList

GetAllUsers() public méthode

public GetAllUsers ( int pageIndex, int pageSize, int &totalRecords ) : System.Web.Security.MembershipUserCollection
pageIndex int
pageSize int
totalRecords int
Résultat System.Web.Security.MembershipUserCollection

GetNumberOfUsersOnline() public méthode

public GetNumberOfUsersOnline ( ) : int
Résultat int

GetOpenIdsByUserName() public méthode

public GetOpenIdsByUserName ( string userName ) : IList
userName string
Résultat IList

GetPassword() public méthode

public GetPassword ( string username, string answer ) : string
username string
answer string
Résultat string

GetUser() public méthode

public GetUser ( object providerUserKey, bool userIsOnline ) : System.Web.Security.MembershipUser
providerUserKey object
userIsOnline bool
Résultat System.Web.Security.MembershipUser

GetUser() public méthode

public GetUser ( string username, bool userIsOnline ) : System.Web.Security.MembershipUser
username string
userIsOnline bool
Résultat System.Web.Security.MembershipUser

GetUserByOpenId() public méthode

public GetUserByOpenId ( string openId, bool userIsOnline ) : System.Web.Security.MembershipUser
openId string
userIsOnline bool
Résultat System.Web.Security.MembershipUser

GetUserNameByEmail() public méthode

public GetUserNameByEmail ( string email ) : string
email string
Résultat string

Initialize() public méthode

public Initialize ( string name, NameValueCollection config ) : void
name string
config System.Collections.Specialized.NameValueCollection
Résultat void

LinkUserWithOpenId() public méthode

public LinkUserWithOpenId ( string openId, object userId ) : void
openId string
userId object
Résultat void

RemoveUserOpenIdLinkByOpenId() public méthode

public RemoveUserOpenIdLinkByOpenId ( string openId ) : void
openId string
Résultat void

RemoveUserOpenIdLinkByUserId() public méthode

public RemoveUserOpenIdLinkByUserId ( object userId ) : void
userId object
Résultat void

ResetPassword() public méthode

public ResetPassword ( string username, string answer ) : string
username string
answer string
Résultat string

UnlockUser() public méthode

public UnlockUser ( string username ) : bool
username string
Résultat bool

UpdateUser() public méthode

public UpdateUser ( System.Web.Security.MembershipUser user ) : void
user System.Web.Security.MembershipUser
Résultat void

ValidateOpenIDUser() public méthode

public ValidateOpenIDUser ( ) : bool
Résultat bool

ValidateUser() public méthode

public ValidateUser ( string username, string password ) : bool
username string
password string
Résultat bool