thinktecture / boardz-cross-platform-sample

Sample application for demonstrating various aspects of modern cross-platform applications - using Angular 2, Cordova, Electron & gulp. With a .NET Web API & SignalR backend.
MIT License
78 stars 30 forks source link

Rewrite NeedsAuthentication guard decorator #58

Closed ChristianWeyer closed 8 years ago

ChristianWeyer commented 8 years ago

We need to adhere to the new API after having moved to the new router. https://github.com/thinktecture/boardz-cross-platform-sample/blob/ng-final/src/BoardZ/app/decorators/needsAuthentication.ts

ThorstenHans commented 8 years ago

NeedsAuthentication is gone AuthGuard is now responsible for protecting all necessary routes.