SqlAuthenticationProvider.AcquireTokenAsync Method
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.
Acquires a security token from the authority.
public:
abstract System::Threading::Tasks::Task<System::Data::SqlClient::SqlAuthenticationToken ^> ^ AcquireTokenAsync(System::Data::SqlClient::SqlAuthenticationParameters ^ parameters);
public abstract System.Threading.Tasks.Task<System.Data.SqlClient.SqlAuthenticationToken> AcquireTokenAsync (System.Data.SqlClient.SqlAuthenticationParameters parameters);
abstract member AcquireTokenAsync : System.Data.SqlClient.SqlAuthenticationParameters -> System.Threading.Tasks.Task<System.Data.SqlClient.SqlAuthenticationToken>
Public MustOverride Function AcquireTokenAsync (parameters As SqlAuthenticationParameters) As Task(Of SqlAuthenticationToken)
Parameters
- parameters
- SqlAuthenticationParameters
The Active Directory authentication parameters passed by the driver to authentication providers.
Returns
Represents an asynchronous operation that returns the AD authentication token.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.