CredentialStorageUtility.GetTokenFromString Method
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Shared Function GetTokenFromString ( _
credentialsType As VssCredentialsType, _
tokenValue As String _
) As IssuedToken
public static IssuedToken GetTokenFromString(
VssCredentialsType credentialsType,
string tokenValue
)
public:
static IssuedToken^ GetTokenFromString(
VssCredentialsType credentialsType,
String^ tokenValue
)
static member GetTokenFromString :
credentialsType:VssCredentialsType *
tokenValue:string -> IssuedToken
public static function GetTokenFromString(
credentialsType : VssCredentialsType,
tokenValue : String
) : IssuedToken
Parameters
- credentialsType
Type: Microsoft.VisualStudio.Services.Common.VssCredentialsType
- tokenValue
Type: System.String
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.