optimise routes and guards (#676)

* reduce duplicate settings

* simplify guards/resolvers

* fetch data after 401

* unit tests

* extra unit tests

* unit tests for auth guard

* trashcan tests
This commit is contained in:
Denys Vuika
2018-10-01 07:47:40 +01:00
committed by GitHub
parent 080f79e040
commit 22800c0e5a
17 changed files with 206 additions and 173 deletions

View File

@@ -80,6 +80,13 @@ import { MaterialModule } from '../material.module';
},
getRedirect(): string {
return null;
},
setRedirect() {},
isOauth(): boolean {
return false;
},
isOAuthWithoutSilentLogin(): boolean {
return false;
}
}
},