Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.52 KB

vpnchannel_requestcredentialsasync_1507562089.md

File metadata and controls

35 lines (24 loc) · 1.52 KB
-api-id -api-type
M:Windows.Networking.Vpn.VpnChannel.RequestCredentialsAsync(Windows.Networking.Vpn.VpnCredentialType,System.UInt32)
winrt method

Windows.Networking.Vpn.VpnChannel.RequestCredentialsAsync

-description

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.

-parameters

-param credType

An enum value indicating the type of credential to collect.

-param credOptions

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.

-returns

An asynchronous retrieval operation on a VpnCredential object containing the main credentials of the requested type, and secondary credentials for change and expiration cases.

-remarks

-examples

-see-also

RequestCredentialsAsync(VpnCredentialType, UInt32, Certificate), RequestCredentialsAsync(VpnCredentialType)

-capabilities

networkingVpnProvider