RobinHerbots / backbone.adal

Active Directory Authentication Library (ADAL) for Backbone
MIT License
2 stars 0 forks source link

using backbone.adal with marionette AppRoutes #1

Open yashari01 opened 7 years ago

yashari01 commented 7 years ago

Is backbone.adal can be used with marionette routing systeme, if yes how that can be done Thanks

RobinHerbots commented 7 years ago

@yashari01,

Not out of the box, but as the Marionette.AppRouter is an extension on Backbone.Router, it would be possible.

maybe you can try: (let me know if it works)

import Backbone from 'backbone';
import _ from 'underscore';
import  "backone.adal";

Backbone.Router = Backbone.AdalRouter;

import the approuter from marionette