Commit f5f1e43d authored by Eduardo Sanz García's avatar Eduardo Sanz García
Browse files

chore: relocate auth module

parent 74fae0df
Pipeline #12530 passed with stages
in 3 minutes and 34 seconds
......@@ -84,8 +84,8 @@
"src/polyfills.ts",
"src/test.ts",
"src/environments/environment.ts",
"src/app/modules/auth/auth.config.ts",
"src/app/modules/auth/auth.module.ts"
"src/auth/auth.config.ts",
"src/auth/auth.module.ts"
]
}
},
......
......@@ -20,7 +20,7 @@ import {
import {
AuthService
} from './modules/auth/auth.service';
} from '../auth/auth.service';
import {
AppComponent
......
......@@ -29,15 +29,15 @@ import {
import {
AAP_CONFIG,
AuthConfig
} from './modules/auth/auth.config';
} from '../auth/auth.config';
import {
AuthService,
User
} from './modules/auth/auth.service';
} from '../auth/auth.service';
import {
TokenService
} from './modules/auth/token.service';
} from '../auth/token.service';
import {
JwtHelperService,
} from '@auth0/angular-jwt';
......
......@@ -11,7 +11,7 @@ import {
} from '@angular/common/http';
import {
AuthModule
} from './modules/auth/auth.module';
} from '../auth/auth.module';
import {
JwtModule
} from '@auth0/angular-jwt';
......
export * from './app/modules/auth/auth.module';
export * from './app/modules/auth/auth.service';
export * from './app/modules/auth/token.service';
export * from './auth/auth.module';
export * from './auth/auth.service';
export * from './auth/token.service';
......@@ -14,7 +14,7 @@ import {
} from '@auth0/angular-jwt';
import {
AuthModule
} from 'src/app/modules/auth/auth.module';
} from 'src/auth/auth.module';
export const tokenName = 'jwt_token';
export function getToken(): string {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment