Share via


WebAuthenticationCoreManager.GetTokenSilentlyAsync Metode

Definisi

Overload

GetTokenSilentlyAsync(WebTokenRequest)

Secara asinkron mencoba mendapatkan token tanpa menunjukkan UI apa pun. Pengguna tidak akan pernah diminta untuk memasukkan kredensial mereka.

GetTokenSilentlyAsync(WebTokenRequest, WebAccount)

Secara asinkron mencoba mendapatkan token tanpa menunjukkan UI apa pun. Pengguna tidak akan pernah diminta untuk memasukkan kredensial mereka.

GetTokenSilentlyAsync(WebTokenRequest)

Secara asinkron mencoba mendapatkan token tanpa menunjukkan UI apa pun. Pengguna tidak akan pernah diminta untuk memasukkan kredensial mereka.

public:
 static IAsyncOperation<WebTokenRequestResult ^> ^ GetTokenSilentlyAsync(WebTokenRequest ^ request);
/// [Windows.Foundation.Metadata.Overload("GetTokenSilentlyAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WebTokenRequestResult> GetTokenSilentlyAsync(WebTokenRequest const& request);
[Windows.Foundation.Metadata.Overload("GetTokenSilentlyAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WebTokenRequestResult> GetTokenSilentlyAsync(WebTokenRequest request);
function getTokenSilentlyAsync(request)
Public Shared Function GetTokenSilentlyAsync (request As WebTokenRequest) As IAsyncOperation(Of WebTokenRequestResult)

Parameter

request
WebTokenRequest

Permintaan token web.

Mengembalikan

Operasi permintaan asinkron. Setelah berhasil diselesaikan, berisi objek WebTokenRequestResult yang mewakili hasil permintaan token web.

Atribut

Keterangan

Tidak seperti RequestTokenAsync, Anda dapat memanggil metode ini dari utas latar belakang.

Lihat juga

Berlaku untuk

GetTokenSilentlyAsync(WebTokenRequest, WebAccount)

Secara asinkron mencoba mendapatkan token tanpa menunjukkan UI apa pun. Pengguna tidak akan pernah diminta untuk memasukkan kredensial mereka.

public:
 static IAsyncOperation<WebTokenRequestResult ^> ^ GetTokenSilentlyAsync(WebTokenRequest ^ request, WebAccount ^ webAccount);
/// [Windows.Foundation.Metadata.Overload("GetTokenSilentlyWithWebAccountAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WebTokenRequestResult> GetTokenSilentlyAsync(WebTokenRequest const& request, WebAccount const& webAccount);
[Windows.Foundation.Metadata.Overload("GetTokenSilentlyWithWebAccountAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WebTokenRequestResult> GetTokenSilentlyAsync(WebTokenRequest request, WebAccount webAccount);
function getTokenSilentlyAsync(request, webAccount)
Public Shared Function GetTokenSilentlyAsync (request As WebTokenRequest, webAccount As WebAccount) As IAsyncOperation(Of WebTokenRequestResult)

Parameter

request
WebTokenRequest

Permintaan token web.

webAccount
WebAccount

Akun web.

Mengembalikan

Operasi permintaan asinkron. Setelah berhasil diselesaikan, berisi objek WebTokenRequestResult yang mewakili hasil permintaan token web.

Atribut

Lihat juga

Berlaku untuk