File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
projects/fusio-sdk/src/lib/route Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { Routes } from "@angular/router" ;
2
+ import { LoginComponent } from "../component/login/login.component" ;
3
+ import { ProviderComponent } from "../component/login/provider/provider.component" ;
4
+ import { LogoutComponent } from "../component/logout/logout.component" ;
5
+ import { RegisterComponent } from "../component/register/register.component" ;
6
+ import { ActivateComponent } from "../component/register/activate/activate.component" ;
7
+ import { ResetComponent } from "../component/password/reset/reset.component" ;
8
+ import { ConfirmComponent } from "../component/password/confirm/confirm.component" ;
9
+
10
+ export class AuthorizationRoute {
11
+
12
+ public static getAll ( ) : Routes {
13
+ return [
14
+ { path : 'login' , component : LoginComponent } ,
15
+ { path : 'login/:provider' , component : ProviderComponent } ,
16
+ { path : 'logout' , component : LogoutComponent } ,
17
+ { path : 'register' , component : RegisterComponent } ,
18
+ { path : 'register/activate/:token' , component : ActivateComponent } ,
19
+ { path : 'password/reset' , component : ResetComponent } ,
20
+ { path : 'password/confirm/:token' , component : ConfirmComponent } ,
21
+ ] ;
22
+ }
23
+
24
+ }
You can’t perform that action at this time.
0 commit comments