Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.74 KB

vpnchannel_requestcredentialsasync_1445007973.md

File metadata and controls

38 lines (26 loc) · 1.74 KB
-api-id -api-type
M:Windows.Networking.Vpn.VpnChannel.RequestCredentialsAsync(Windows.Networking.Vpn.VpnCredentialType,System.UInt32,Windows.Security.Cryptography.Certificates.Certificate)
winrt method

Windows.Networking.Vpn.VpnChannel.RequestCredentialsAsync

-description

VPN platform to collect credentials from the user. If user interaction is required to obtain a credential or consent, the platform provides the necessary user interaction. A VPN plug-in must request credentials before using any type of credential, even if the intent is not to invoke user interaction for it.

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

-param certificate

A certificate to be used in validating the credential.

-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), RequestCredentialsAsync(VpnCredentialType)

-capabilities

networkingVpnProvider