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
- serverUrl
Type: System.Uri
- credentialsType
Type: Microsoft.VisualStudio.Services.Common.VssCredentialsType
Return Value
Type: Microsoft.VisualStudio.Services.Common.IssuedToken
Implements
IVssCredentialStorage.RetrieveToken(Uri, VssCredentialsType)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.