MembershipUserNameSecurityTokenHandler Constructors

Definition

Initializes a new instance of the MembershipUserNameSecurityTokenHandler class.

Overloads

MembershipUserNameSecurityTokenHandler()

Initializes a new instance of the MembershipUserNameSecurityTokenHandler class that uses the default membership provider that is configured for the application.

MembershipUserNameSecurityTokenHandler(MembershipProvider)

Initializes a new instance of the MembershipUserNameSecurityTokenHandler class that uses the specified membership provider.

MembershipUserNameSecurityTokenHandler()

Initializes a new instance of the MembershipUserNameSecurityTokenHandler class that uses the default membership provider that is configured for the application.

public:
 MembershipUserNameSecurityTokenHandler();
public MembershipUserNameSecurityTokenHandler ();
Public Sub New ()

Exceptions

No default membership provider is configured for the application.

Applies to

MembershipUserNameSecurityTokenHandler(MembershipProvider)

Initializes a new instance of the MembershipUserNameSecurityTokenHandler class that uses the specified membership provider.

public:
 MembershipUserNameSecurityTokenHandler(System::Web::Security::MembershipProvider ^ provider);
public MembershipUserNameSecurityTokenHandler (System.Web.Security.MembershipProvider provider);
new System.IdentityModel.Services.Tokens.MembershipUserNameSecurityTokenHandler : System.Web.Security.MembershipProvider -> System.IdentityModel.Services.Tokens.MembershipUserNameSecurityTokenHandler
Public Sub New (provider As MembershipProvider)

Parameters

provider
MembershipProvider

The membership provider to use to validate tokens.

Applies to