public class AuthParameters extends Object implements AutoCloseable
Uses the APIs defined in MSALRuntimeAuthParameters.h to create and populate an MSALRUNTIME_AUTH_PARAMETERS_HANDLE
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthParameters.AuthParametersBuilder |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
AuthParametersHandle |
getHandle() |
void |
setUsernamePassword(String username,
String password)
Deprecated.
|
public AuthParametersHandle getHandle()
@Deprecated public void setUsernamePassword(String username, String password)
However, that flow is not recommended and we may stop supporting it, which is why this method is separate from the AuthParametersBuilder and is already marked as deprecated
public void close()
close in interface AutoCloseableCopyright © 2023. All rights reserved.