System.IdentityModel.Tokens.Jwt.JsonExtensions的类型初始值设定项引发异常

时间:2018-06-06 08:38:06

标签: vb.net box blueprism

Dim stream As FileStream = New FileStream("jsonFile.json", FileMode.Open)
Dim iconfig As IBoxConfig = BoxConfig.CreateFromJsonFile(stream)

Dim admintoken As String = boxJWT.AdminToken()
Dim adminClient As BoxClient = boxJWT.AdminClient(admintoken)

Dim boxJWT As BoxJWTAuth = New BoxJWTAuth(iconfig)
Dim userToken As String = boxJWT.UserToken(userId)
Dim userClient As BoxClient = boxJWT.UserClient(userToken, userId)

代码在Visual Studio中成功完成,但在Blue Prism中失败了。 错误发生在这里--Dim admintoken As String = boxJWT.AdminToken()

0 个答案:

没有答案