我已经为box api和客户端生成了一个管理令牌,该如何从中获取构建应用程序的box id和user id?
我要获取帐户和用户ID
这是我的令牌生成代码:-
string clientId = "ClientId";
string clientSecret = "ClientSecret";
string enterpriseId = "enterpriseId";
string jwtPrivateKeyPassword = "privateKeyPassword";
string jwtPublicKeyId = "public key id";
string jwtPrivateKey = "private key";
BoxConfig config = new BoxConfig(clientId, clientSecret, enterpriseId, jwtPrivateKey, jwtPrivateKeyPassword, jwtPublicKeyId);
var boxJWT = new BoxJWTAuth(config);
var adminToken = boxJWT.AdminToken();
var client = boxJWT.AdminClient(adminToken);