Skip to content

Instantly share code, notes, and snippets.

View JohnOnSoftware's full-sized avatar
🏠
Working from home

Zhong Wu JohnOnSoftware

🏠
Working from home
  • Autodesk
  • Shanghai, China
View GitHub Profile
@JohnOnSoftware
JohnOnSoftware / ViewingApplication.js
Created November 2, 2016 03:24 — forked from leefsmp/ViewingApplication.js
Forge Viewing Application
var options = {
env: 'AutodeskProduction',
getAccessToken: function (onGetAccessToken) {
// Asynchronous request from your app to request
// access token from your server ...
yourAppGetAccessTokenAsync(function (tokenResponse) {
onGetAccessToken (
tokenResponse.access_token,