VpnChannel.RequestCredentialsAsync メソッド

定義

オーバーロード

RequestCredentialsAsync(VpnCredentialType)

特定の資格情報の種類の資格情報をユーザーから収集するように VPN プラットフォームに要求します。

RequestCredentialsAsync(VpnCredentialType, UInt32)

ユーザーから資格情報を収集するように VPN プラットフォームに要求します。 プラグインは、収集する資格情報の種類と形式を指定できます。 結果は、種類に応じてメインの資格情報と、変更と有効期限の場合のセカンダリ資格情報を含むオブジェクトです。

RequestCredentialsAsync(VpnCredentialType, UInt32, Certificate)

ユーザーから資格情報を収集するための VPN プラットフォーム。 資格情報または同意を取得するためにユーザー操作が必要な場合、プラットフォームは必要なユーザー操作を提供します。 VPN プラグインは、ユーザーの操作を呼び出さない場合でも、任意の種類の資格情報を使用する前に資格情報を要求する必要があります。

RequestCredentialsAsync(VpnCredentialType)

特定の資格情報の種類の資格情報をユーザーから収集するように VPN プラットフォームに要求します。

public:
 virtual IAsyncOperation<VpnCredential ^> ^ RequestCredentialsAsync(VpnCredentialType credType) = RequestCredentialsAsync;
/// [Windows.Foundation.Metadata.Overload("RequestCredentialsSimpleAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<VpnCredential> RequestCredentialsAsync(VpnCredentialType const& credType);
[Windows.Foundation.Metadata.Overload("RequestCredentialsSimpleAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<VpnCredential> RequestCredentialsAsync(VpnCredentialType credType);
function requestCredentialsAsync(credType)
Public Function RequestCredentialsAsync (credType As VpnCredentialType) As IAsyncOperation(Of VpnCredential)

パラメーター

credType
VpnCredentialType

収集する資格情報の種類を示す列挙値。

戻り値

要求された種類の主な資格情報と、変更と有効期限の場合のセカンダリ資格情報を含む、VpnCredential オブジェクトに対する非同期取得操作。

属性

Windows の要件

アプリの機能
networkingVpnProvider

こちらもご覧ください

適用対象

RequestCredentialsAsync(VpnCredentialType, UInt32)

ユーザーから資格情報を収集するように VPN プラットフォームに要求します。 プラグインは、収集する資格情報の種類と形式を指定できます。 結果は、種類に応じてメインの資格情報と、変更と有効期限の場合のセカンダリ資格情報を含むオブジェクトです。

public:
 virtual IAsyncOperation<VpnCredential ^> ^ RequestCredentialsAsync(VpnCredentialType credType, unsigned int credOptions) = RequestCredentialsAsync;
/// [Windows.Foundation.Metadata.Overload("RequestCredentialsWithOptionsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<VpnCredential> RequestCredentialsAsync(VpnCredentialType const& credType, uint32_t const& credOptions);
[Windows.Foundation.Metadata.Overload("RequestCredentialsWithOptionsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<VpnCredential> RequestCredentialsAsync(VpnCredentialType credType, uint credOptions);
function requestCredentialsAsync(credType, credOptions)
Public Function RequestCredentialsAsync (credType As VpnCredentialType, credOptions As UInteger) As IAsyncOperation(Of VpnCredential)

パラメーター

credType
VpnCredentialType

収集する資格情報の種類を示す列挙値。

credOptions
UInt32

unsigned int

uint32_t

要求された資格情報が再試行ケースであるか、シングル サインオンに使用されるかを定義する値を指定します。

使用可能な値については、VpnChannelRequestCredentialsOptions の を参照してください。

戻り値

要求された種類の主な資格情報と、変更と有効期限の場合のセカンダリ資格情報を含む、VpnCredential オブジェクトに対する非同期取得操作。

属性

Windows の要件

アプリの機能
networkingVpnProvider

こちらもご覧ください

適用対象

RequestCredentialsAsync(VpnCredentialType, UInt32, Certificate)

ユーザーから資格情報を収集するための VPN プラットフォーム。 資格情報または同意を取得するためにユーザー操作が必要な場合、プラットフォームは必要なユーザー操作を提供します。 VPN プラグインは、ユーザーの操作を呼び出さない場合でも、任意の種類の資格情報を使用する前に資格情報を要求する必要があります。

public:
 virtual IAsyncOperation<VpnCredential ^> ^ RequestCredentialsAsync(VpnCredentialType credType, unsigned int credOptions, Certificate ^ certificate) = RequestCredentialsAsync;
/// [Windows.Foundation.Metadata.Overload("RequestCredentialsWithCertificateAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<VpnCredential> RequestCredentialsAsync(VpnCredentialType const& credType, uint32_t const& credOptions, Certificate const& certificate);
[Windows.Foundation.Metadata.Overload("RequestCredentialsWithCertificateAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<VpnCredential> RequestCredentialsAsync(VpnCredentialType credType, uint credOptions, Certificate certificate);
function requestCredentialsAsync(credType, credOptions, certificate)
Public Function RequestCredentialsAsync (credType As VpnCredentialType, credOptions As UInteger, certificate As Certificate) As IAsyncOperation(Of VpnCredential)

パラメーター

credType
VpnCredentialType

収集する資格情報の種類を示す列挙値。

credOptions
UInt32

unsigned int

uint32_t

要求された資格情報が再試行ケースであるか、シングル サインオンに使用されるかを定義する値を指定します。

使用可能な値については、VpnChannelRequestCredentialsOptions の を参照してください。

certificate
Certificate

資格情報の検証に使用する証明書。

戻り値

要求された種類の主な資格情報と、変更と有効期限の場合のセカンダリ資格情報を含む、VpnCredential オブジェクトに対する非同期取得操作。

属性

Windows の要件

アプリの機能
networkingVpnProvider

こちらもご覧ください

適用対象