20.0.47 • Published 8 months ago

@solidexpert/auth v20.0.47

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

Angular helper to get current country by TimeZone

Versions

Angular versionpackage version
15.x15.x
16.x15.x, 16.x

Installation

npm install --save @solidexpert/auth

Usage

Add AuthModule to your list of module imports:

import { AuthenticationService, AuthGuard, AuthInterceptor,PermissionInterceptor, AuthModule, IAuthenticationService } from '@solidexpert/auth';



@NgModule({
  imports: [
  ...
    AuthModule,
  ...
  ],

Setup your providers to use Solid Auth

 providers: [
  ...,
    AuthGuard,
    { provide: IAuthenticationService, useClass: AuthenticationService },
    {
        provide: 'APP_SITE_FULL_URL',
        useValue: environment.sitePath,
    },
    {
        provide : HTTP_INTERCEPTORS,
        useClass: AuthInterceptor,
        multi   : true
    },
    {
        provide : HTTP_INTERCEPTORS,
        useClass: PermissionInterceptor,
        multi   : true
    },
...
  ],

setup yout callback url url

export const appRoutes: Route[] = [
  ...
  { path: 'callback', component: CallbackAuthComponent, canActivate: [callbackGuard], }
  ...
];

Done!

20.0.45

8 months ago

20.0.47

8 months ago

20.0.46

8 months ago

20.0.43

1 year ago

20.0.42

1 year ago

20.0.44

1 year ago

20.0.41

1 year ago

20.0.40

1 year ago

20.0.38

1 year ago

20.0.33

1 year ago

20.0.36

1 year ago

20.0.35

1 year ago

20.0.37

1 year ago

20.0.32

1 year ago

20.0.31

1 year ago

20.0.30

1 year ago

20.0.27

1 year ago

20.0.26

1 year ago

20.0.29

1 year ago

20.0.28

1 year ago

20.0.25

2 years ago

20.0.24

2 years ago

20.0.23

2 years ago

20.0.21

2 years ago

20.0.22

2 years ago

20.0.20

2 years ago

20.0.19

2 years ago

20.0.14

2 years ago

20.0.16

2 years ago

20.0.15

2 years ago

20.0.18

2 years ago

20.0.17

2 years ago

16.0.9

2 years ago

16.0.8

2 years ago

16.0.16

2 years ago

16.0.10

2 years ago

16.0.11

2 years ago

0.0.7

2 years ago

15.0.6

2 years ago

15.0.5

2 years ago

15.0.4

2 years ago

15.0.3

2 years ago

15.0.2

2 years ago

0.0.1

2 years ago