Delen via


IVssCredentialPrompt.GetTokenAsync Method

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
Function GetTokenAsync ( _
    provider As IssuedTokenProvider, _
    failedToken As IssuedToken _
) As Task(Of IssuedToken)
Task<IssuedToken> GetTokenAsync(
    IssuedTokenProvider provider,
    IssuedToken failedToken
)
Task<IssuedToken^>^ GetTokenAsync(
    IssuedTokenProvider^ provider, 
    IssuedToken^ failedToken
)
abstract GetTokenAsync : 
        provider:IssuedTokenProvider * 
        failedToken:IssuedToken -> Task<IssuedToken> 
function GetTokenAsync(
    provider : IssuedTokenProvider, 
    failedToken : IssuedToken
) : Task<IssuedToken>

Parameters

  • provider
    Type: IssuedTokenProvider

Return Value

Type: System.Threading.Tasks.Task<IssuedToken>

.NET Framework Security

See Also

Reference

IVssCredentialPrompt Interface

Microsoft.VisualStudio.Services.Common Namespace