Partager via


VssClientCredentialStorage.RetrieveToken Method

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

Syntax

'Declaration
Public Overridable Function RetrieveToken ( _
    serverUrl As Uri, _
    credentialsType As VssCredentialsType _
) As IssuedToken
public virtual IssuedToken RetrieveToken(
    Uri serverUrl,
    VssCredentialsType credentialsType
)
public:
virtual IssuedToken^ RetrieveToken(
    Uri^ serverUrl, 
    VssCredentialsType credentialsType
)
abstract RetrieveToken : 
        serverUrl:Uri * 
        credentialsType:VssCredentialsType -> IssuedToken  
override RetrieveToken : 
        serverUrl:Uri * 
        credentialsType:VssCredentialsType -> IssuedToken
public function RetrieveToken(
    serverUrl : Uri, 
    credentialsType : VssCredentialsType
) : IssuedToken

Parameters

Return Value

Type: Microsoft.VisualStudio.Services.Common.IssuedToken

Implements

IVssCredentialStorage.RetrieveToken(Uri, VssCredentialsType)

.NET Framework Security

See Also

Reference

VssClientCredentialStorage Class

Microsoft.VisualStudio.Services.Client Namespace