C# Class Microsoft.Identity.Client.UserCredential

Credential used for integrated authentication on domain-joined machines.
Show file Open project: AzureAD/microsoft-authentication-library-for-dotnet Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
UserCredential ( )

Constructor to create user credential. Using this constructor would imply integrated authentication with logged in user and it can only be used in domain joined scenarios.

UserCredential ( string userName )

Constructor to create credential with client id and secret

Method Details

UserCredential() public method

Constructor to create user credential. Using this constructor would imply integrated authentication with logged in user and it can only be used in domain joined scenarios.
public UserCredential ( )

UserCredential() public method

Constructor to create credential with client id and secret
public UserCredential ( string userName )
userName string Identifier of the user application requests token on behalf.