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 @@ ...@@ -84,8 +84,8 @@
"src/polyfills.ts", "src/polyfills.ts",
"src/test.ts", "src/test.ts",
"src/environments/environment.ts", "src/environments/environment.ts",
"src/app/modules/auth/auth.config.ts", "src/auth/auth.config.ts",
"src/app/modules/auth/auth.module.ts" "src/auth/auth.module.ts"
] ]
} }
}, },
......
...@@ -20,7 +20,7 @@ import { ...@@ -20,7 +20,7 @@ import {
import { import {
AuthService AuthService
} from './modules/auth/auth.service'; } from '../auth/auth.service';
import { import {
AppComponent AppComponent
......
...@@ -29,15 +29,15 @@ import { ...@@ -29,15 +29,15 @@ import {
import { import {
AAP_CONFIG, AAP_CONFIG,
AuthConfig AuthConfig
} from './modules/auth/auth.config'; } from '../auth/auth.config';
import { import {
AuthService, AuthService,
User User
} from './modules/auth/auth.service'; } from '../auth/auth.service';
import { import {
TokenService TokenService
} from './modules/auth/token.service'; } from '../auth/token.service';
import { import {
JwtHelperService, JwtHelperService,
} from '@auth0/angular-jwt'; } from '@auth0/angular-jwt';
......
...@@ -11,7 +11,7 @@ import { ...@@ -11,7 +11,7 @@ import {
} from '@angular/common/http'; } from '@angular/common/http';
import { import {
AuthModule AuthModule
} from './modules/auth/auth.module'; } from '../auth/auth.module';
import { import {
JwtModule JwtModule
} from '@auth0/angular-jwt'; } from '@auth0/angular-jwt';
......
export * from './app/modules/auth/auth.module'; export * from './auth/auth.module';
export * from './app/modules/auth/auth.service'; export * from './auth/auth.service';
export * from './app/modules/auth/token.service'; export * from './auth/token.service';
...@@ -14,7 +14,7 @@ import { ...@@ -14,7 +14,7 @@ import {
} from '@auth0/angular-jwt'; } from '@auth0/angular-jwt';
import { import {
AuthModule AuthModule
} from 'src/app/modules/auth/auth.module'; } from 'src/auth/auth.module';
export const tokenName = 'jwt_token'; export const tokenName = 'jwt_token';
export function getToken(): string { 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