-api-id | -api-type |
---|---|
M:Windows.Networking.Vpn.VpnChannel.RequestCredentialsAsync(Windows.Networking.Vpn.VpnCredentialType,System.UInt32) |
winrt method |
Requests the VPN platform to collect credentials from the user. The plug-in can specify the type and form of credentials to collect. The result is an object containing the main credentials depending on the type, and the secondary credentials for change and expiration cases.
An enum value indicating the type of credential to collect.
Specifies the values defining whether a requested credential is a retry case, or should be used for single sign on.
See VpnChannelRequestCredentialsOptions for possible values.
An asynchronous retrieval operation on a VpnCredential object containing the main credentials of the requested type, and secondary credentials for change and expiration cases.
RequestCredentialsAsync(VpnCredentialType, UInt32, Certificate), RequestCredentialsAsync(VpnCredentialType)
networkingVpnProvider