GitPermissionsUtil.GetRefNameFromToken(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.
Get readble ref name from a canonicalized token. e.g.: return "refs/heads/master" from "repoV2/f7aa0cd2-5bb1-4fc7-87fc-3ca29a266aad/622eb04c-9538-4e64-bb8e-4287eb20436d/refs/heads/6d0061007300740065007200"
<param name="securityToken"> a Git Repositories Security Token that is already canonicalized</param>public static string GetRefNameFromToken(string securityToken);
static member GetRefNameFromToken : string -> string
Public Shared Function GetRefNameFromToken (securityToken As String) As String
Parameters
- securityToken
- String