UserNameSecurityTokenProvider(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the UserNameSecurityTokenProvider class using the specified username and password.
public:
UserNameSecurityTokenProvider(System::String ^ userName, System::String ^ password);
public UserNameSecurityTokenProvider (string userName, string password);
new System.IdentityModel.Selectors.UserNameSecurityTokenProvider : string * string -> System.IdentityModel.Selectors.UserNameSecurityTokenProvider
Public Sub New (userName As String, password As String)
Parameters
- userName
- String
The username to get UserNameSecurityToken security token for.
- password
- String
The password of the user to get a UserNameSecurityToken security token for.
Remarks
The GetTokenCore method gets a token based on the specified username and password.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.