Beispiel #1
0
        private string JWTEncode(string secretKey, string payloadJsonString)
        {
            int[] resultLength = { 0, 0 };
            Array.Clear(jwtData, 0, jwtData.Length);
            NativeAPI.CloudManager_JWTEncode(secretKey, payloadJsonString, jwtData);

            return(Encoding.UTF8.GetString(jwtData).TrimEnd('\0'));
        }
Beispiel #2
0
 private string JWTEncode(string secretKey, string payloadJsonString)
 {
     return(NativeAPI.CloudManager_JWTEncode(secretKey, payloadJsonString));
 }