You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(component): make passport packages optional (#156)
* fix(component): make passport packages optional
All passport packages are made optional, and the user should install them only if required.
BREAKING
CHANGE:
change import path for specific passport strategies
GH-125
BREAKING CHANGE:
rebased with master
* fix(component): allpassport packages made optional
All passport packages are made optional, and the user should install them only if required.
BREAKING
CHANGE:
changes for seprating passport packages
GH-125
* fix(component): added description in readme
added description in readme
GH-125
* fix(chore): sonar issue fix
fix for Unexpected lexical declaration in case block
GH-125
* fix(chore): fixed sonar issue
fixed sonar issue Refactor this function to reduce its Cognitive Complexity
GH-125
* fix(chore): fixed sonar issue
fixed sonar issue replace this union type with a type alias.
GH-125
* fix(chore): fixed sonar issue
disabled sonar issue for Promise returned in function argument where a void return was
expected
GH-125
* fix(chore): sonar fixes
sonar fixesGH-125
* fix(chore): fixed sonar issues
fixed sonar issues
GH-125
* fix(chore): fixed sonar issue
fixed sonar issue
GH-125
* fix(chore): fixed sonar issue
fixed sonar issue
GH-125
* fix(chore): code review comment fix
code review comment fixGH-125
---------
Co-authored-by: Karunesh Mani Tripathi <karunesh@sourcefuse.com>
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,7 @@ Once this is done, you are ready to configure any of the available strategy in t
81
81
82
82
### Oauth2-client-password
83
83
84
+
In order to use it, run `npm install passport-oauth2-client-password`.
84
85
First, create an AuthClient model implementing the IAuthClient interface. The purpose of this model is to store oauth registered clients for the app in the DB. See sample below.
85
86
86
87
```ts
@@ -243,6 +244,7 @@ For accessing the authenticated AuthClient model reference, you can inject the C
243
244
244
245
### Http-bearer
245
246
247
+
In order to use it, run `npm install passport-http-bearer`.
246
248
First, create a AuthUser model implementing the IAuthUser interface. You can implement the interface in the user model itself. See sample below.
247
249
248
250
```ts
@@ -423,6 +425,7 @@ For accessing the authenticated AuthUser model reference, you can inject the CUR
423
425
424
426
### local
425
427
428
+
In order to use it, run `npm install passport-local`.
426
429
First, create a AuthUser model implementing the IAuthUser interface. You can implement the interface in the user model itself. See sample below.
427
430
428
431
```ts
@@ -597,6 +600,7 @@ For accessing the authenticated AuthUser model reference, you can inject the CUR
597
600
598
601
### Oauth2-resource-owner-password
599
602
603
+
In order to use it, run `npm install passport-oauth2-resource-owner-password`.
600
604
First, create an AuthClient model implementing the IAuthClient interface. The purpose of this model is to store oauth registered clients for the app in the DB. See sample below.
601
605
602
606
```ts
@@ -1018,6 +1022,7 @@ For accessing the authenticated AuthUser model reference, you can inject the CUR
1018
1022
1019
1023
### Google Oauth 2
1020
1024
1025
+
In order to use it, run `npm install passport-google-oauth20` and `npm install @types/passport-google-oauth20`.
1021
1026
First, create a AuthUser model implementing the IAuthUser interface. You can implement the interface in the user model itself. See sample below.
In order to use it, run `npm install @node-saml/passport-saml`.
2611
2633
SAML (Security Assertion Markup Language) is an XML-based standard for exchanging authentication and authorization data between parties, in particular, between an identity provider (IdP) and a service provider (SP).
2612
2634
2613
2635
First, create a AuthUser model implementing the IAuthUser interface. You can implement the interface in the user model itself. See sample below.
0 commit comments