Closed Cheko519 closed 1 year ago
$ go install golang.org/x/website/tour@latest const exampleDrop = document.querySelector('moov-example-drop'); exampleDrop.exampleProperty = 'example-value';
// Get myToken with initial scopes onboarding.token = myToken;
myToken
onboarding.onResourceCreated = ({ resourceType, resource }) => { if (resourceType === "account") { // Save the account resource somewhere } };
// Get myToken2 with account-related scopes onboarding.token = myToken2;
myToken2
$ go install golang.org/x/website/tour@latest const exampleDrop = document.querySelector('moov-example-drop'); exampleDrop.exampleProperty = 'example-value';
// Get
myToken
with initial scopes onboarding.token = myToken;onboarding.onResourceCreated = ({ resourceType, resource }) => { if (resourceType === "account") { // Save the account resource somewhere } };
// Get
myToken2
with account-related scopes onboarding.token = myToken2;