GitPermissionsUtil.GetTokenScope(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Infers the GitPermissionScope from how many sub-tokens in the provided security token.
<param name="securityToken"> a Git Repositories Security Token that is already canonicalized by CalculateSecurable(String, Guid, String) in the form: repoV2/f7aa0cd2-5bb1-4fc7-87fc-3ca29a266aad/622eb04c-9538-4e64-bb8e-4287eb20436d/refs/heads/6d0061007300740065007200/</param>public static Microsoft.TeamFoundation.SourceControl.WebApi.GitPermissionScope GetTokenScope(string securityToken);
static member GetTokenScope : string -> Microsoft.TeamFoundation.SourceControl.WebApi.GitPermissionScope
Public Shared Function GetTokenScope (securityToken As String) As GitPermissionScope
Parameters
- securityToken
- String