Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tools glue
ng-ebi-authorization
Commits
f5f1e43d
Commit
f5f1e43d
authored
Feb 06, 2019
by
Eduardo Sanz García
Browse files
chore: relocate auth module
parent
74fae0df
Pipeline
#12530
passed with stages
in 3 minutes and 34 seconds
Changes
12
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
11 additions
and
11 deletions
+11
-11
angular.json
angular.json
+2
-2
src/app/app.component.spec.ts
src/app/app.component.spec.ts
+1
-1
src/app/app.component.ts
src/app/app.component.ts
+3
-3
src/app/app.module.ts
src/app/app.module.ts
+1
-1
src/auth/auth.config.ts
src/auth/auth.config.ts
+0
-0
src/auth/auth.module.ts
src/auth/auth.module.ts
+0
-0
src/auth/auth.service.spec.ts
src/auth/auth.service.spec.ts
+0
-0
src/auth/auth.service.ts
src/auth/auth.service.ts
+0
-0
src/auth/token.service.spec.ts
src/auth/token.service.spec.ts
+0
-0
src/auth/token.service.ts
src/auth/token.service.ts
+0
-0
src/public_api.ts
src/public_api.ts
+3
-3
testing/common.ts
testing/common.ts
+1
-1
No files found.
angular.json
View file @
f5f1e43d
...
...
@@ -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"
]
}
},
...
...
src/app/app.component.spec.ts
View file @
f5f1e43d
...
...
@@ -20,7 +20,7 @@ import {
import
{
AuthService
}
from
'
.
/modules
/auth/auth.service
'
;
}
from
'
.
.
/auth/auth.service
'
;
import
{
AppComponent
...
...
src/app/app.component.ts
View file @
f5f1e43d
...
...
@@ -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
'
;
...
...
src/app/app.module.ts
View file @
f5f1e43d
...
...
@@ -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
'
;
...
...
src/
app/modules/
auth/auth.config.ts
→
src/auth/auth.config.ts
View file @
f5f1e43d
File moved
src/
app/modules/
auth/auth.module.ts
→
src/auth/auth.module.ts
View file @
f5f1e43d
File moved
src/
app/modules/
auth/auth.service.spec.ts
→
src/auth/auth.service.spec.ts
View file @
f5f1e43d
File moved
src/
app/modules/
auth/auth.service.ts
→
src/auth/auth.service.ts
View file @
f5f1e43d
File moved
src/
app/modules/
auth/token.service.spec.ts
→
src/auth/token.service.spec.ts
View file @
f5f1e43d
File moved
src/
app/modules/
auth/token.service.ts
→
src/auth/token.service.ts
View file @
f5f1e43d
File moved
src/public_api.ts
View file @
f5f1e43d
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
'
;
testing/common.ts
View file @
f5f1e43d
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment