Share via


IByUsernameAndPassword Interface

Definition

Provides an explicit interface for using Resource Owner Password Grant on Confidential Client.

public interface IByUsernameAndPassword
type IByUsernameAndPassword = interface
Public Interface IByUsernameAndPassword
Derived

Methods

AcquireTokenByUsernamePassword(IEnumerable<String>, String, String)

Acquires a token without user interaction using username and password authentication. This method does not look in the token cache, but stores the result in it. Before calling this method, use other methods such as AcquireTokenSilent(IEnumerable<String>, IAccount) to check the token cache.

Applies to