IByUsernameAndPassword Interface
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.
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. |