Bentley Communities
Site
Search
User
Site
Search
User
Welcome to Bentley Communities
Bentley's Communities
Bentley 中国优先社区
Cancel
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
【iModelJS】是否可以离线登录?
Sign In
Bentley 中国优先社区 requires membership for participation - click to join
State
Verified Answer
Replies
2 replies
Answers
1 answer
Subscribers
80 subscribers
Views
675 views
Users
0 members are here
【iModelJS】是否可以离线登录?
Offline
Wang Peng
over 2 years ago
@
Devin Liu
:
老师,您好!请问
simple viewer app
可以不用云登录吗?需要注释掉哪些代码?
Top Replies
Offline
Devin Liu
Mon, Jun 14 2021 9:35 PM
+2
verified
注释掉 // initialize OIDC await SimpleViewerApp . initializeOidc ();这个代码就可以离线登录。 注意还要注意其他地方引用了其中初始化的imodelclient,所以在引用到的地方也注释了即可。
Parents
+1
Offline
Devin Liu
Mon, Jun 14 2021 9:35 PM
注释掉
// initialize OIDC
await
SimpleViewerApp
.
initializeOidc
();这个代码就可以离线登录。
注意还要注意其他地方引用了其中初始化的imodelclient,所以在引用到的地方也注释了即可。
Answer Verified By: Wang Peng
Cancel
Vote Up
+2
Vote Down
Sign in to reply
Reject Answer
Cancel
0
Offline
Wang Peng
Mon, Jun 14 2021 10:07 PM
in reply to
Devin Liu
已验证,感谢!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Reply
0
Offline
Wang Peng
Mon, Jun 14 2021 10:07 PM
in reply to
Devin Liu
已验证,感谢!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Children
No Data