C# Class FlexProviders.Membership.DefaultSecurityEncoder

Inheritance: ISecurityEncoder
显示文件 Open project: OdeToCode/Memflex Class Usage Examples

Public Methods

Method Description
Encode ( string plainText, string salt ) : string
GenerateSalt ( ) : string
SerializeOAuthProviderUserId ( string providerName, string providerUserId ) : string
TryDeserializeOAuthProviderUserId ( string protectedData, string &providerName, string &providerUserId ) : bool

Private Methods

Method Description
EncodePassword ( string password, string salt ) : string

Method Details

Encode() public method

public Encode ( string plainText, string salt ) : string
plainText string
salt string
return string

GenerateSalt() public method

public GenerateSalt ( ) : string
return string

SerializeOAuthProviderUserId() public method

public SerializeOAuthProviderUserId ( string providerName, string providerUserId ) : string
providerName string
providerUserId string
return string

TryDeserializeOAuthProviderUserId() public method

public TryDeserializeOAuthProviderUserId ( string protectedData, string &providerName, string &providerUserId ) : bool
protectedData string
providerName string
providerUserId string
return bool