IVssCredentialStorage.RetrieveToken Method
Namespace: Microsoft.VisualStudio.Services.Common
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
Function RetrieveToken ( _
serverUrl As Uri, _
credentialsType As VssCredentialsType _
) As IssuedToken
IssuedToken RetrieveToken(
Uri serverUrl,
VssCredentialsType credentialsType
)
IssuedToken^ RetrieveToken(
Uri^ serverUrl,
VssCredentialsType credentialsType
)
abstract RetrieveToken :
serverUrl:Uri *
credentialsType:VssCredentialsType -> IssuedToken
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
.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.