Skip to content

Commit 61471f1

Browse files
committed
Deploying to gh-pages from @ bea0fb6 🚀
1 parent bea0fb6 commit 61471f1

File tree

335 files changed

+1586
-1030
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

335 files changed

+1586
-1030
lines changed

pages/en/lb4/apidocs/authentication-jwt.myuserservice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permalink: /doc/en/lb4/apidocs.authentication-jwt.myuserservice.html
1818
```typescript
1919
export declare class MyUserService implements UserService<User, Credentials>
2020
```
21-
<b>Implements:</b> [UserService](./authentication.userservice.md)<!-- -->&lt;[User](./authentication-jwt.user.md)<!-- -->, [Credentials](./authentication-jwt.credentials.md)
21+
<b>Implements:</b> [UserService](./authentication.userservice.md)<!-- -->&lt;[User](./authentication-jwt.user.md)<!-- -->, [Credentials](./authentication-jwt.credentials.md)<!-- -->&gt;
2222
2323
## Constructors
2424

pages/en/lb4/apidocs/authentication-jwt.refreshtokenrepository.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permalink: /doc/en/lb4/apidocs.authentication-jwt.refreshtokenrepository.html
1818
```typescript
1919
export declare class RefreshTokenRepository extends DefaultCrudRepository<RefreshToken, typeof RefreshToken.prototype.id, RefreshTokenRelations>
2020
```
21-
<b>Extends:</b> [DefaultCrudRepository](./repository.defaultcrudrepository.md)<!-- -->&lt;[RefreshToken](./authentication-jwt.refreshtoken.md)<!-- -->, typeof [RefreshToken.prototype.id](./authentication-jwt.refreshtoken.id.md)<!-- -->, [RefreshTokenRelations](./authentication-jwt.refreshtokenrelations.md)
21+
<b>Extends:</b> [DefaultCrudRepository](./repository.defaultcrudrepository.md)<!-- -->&lt;[RefreshToken](./authentication-jwt.refreshtoken.md)<!-- -->, typeof [RefreshToken.prototype.id](./authentication-jwt.refreshtoken.id.md)<!-- -->, [RefreshTokenRelations](./authentication-jwt.refreshtokenrelations.md)<!-- -->&gt;
2222
2323
## Constructors
2424

pages/en/lb4/apidocs/authentication-jwt.usercredentialsrepository.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permalink: /doc/en/lb4/apidocs.authentication-jwt.usercredentialsrepository.html
1818
```typescript
1919
export declare class UserCredentialsRepository extends DefaultCrudRepository<UserCredentials, typeof UserCredentials.prototype.id, UserCredentialsRelations>
2020
```
21-
<b>Extends:</b> [DefaultCrudRepository](./repository.defaultcrudrepository.md)<!-- -->&lt;[UserCredentials](./authentication-jwt.usercredentials.md)<!-- -->, typeof [UserCredentials.prototype.id](./authentication-jwt.usercredentials.id.md)<!-- -->, [UserCredentialsRelations](./authentication-jwt.usercredentialsrelations.md)
21+
<b>Extends:</b> [DefaultCrudRepository](./repository.defaultcrudrepository.md)<!-- -->&lt;[UserCredentials](./authentication-jwt.usercredentials.md)<!-- -->, typeof [UserCredentials.prototype.id](./authentication-jwt.usercredentials.id.md)<!-- -->, [UserCredentialsRelations](./authentication-jwt.usercredentialsrelations.md)<!-- -->&gt;
2222
2323
## Constructors
2424

pages/en/lb4/apidocs/authentication-jwt.userrepository.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permalink: /doc/en/lb4/apidocs.authentication-jwt.userrepository.html
1818
```typescript
1919
export declare class UserRepository extends DefaultCrudRepository<User, typeof User.prototype.id, UserRelations>
2020
```
21-
<b>Extends:</b> [DefaultCrudRepository](./repository.defaultcrudrepository.md)<!-- -->&lt;[User](./authentication-jwt.user.md)<!-- -->, typeof [User.prototype.id](./authentication-jwt.user.id.md)<!-- -->, [UserRelations](./authentication-jwt.userrelations.md)
21+
<b>Extends:</b> [DefaultCrudRepository](./repository.defaultcrudrepository.md)<!-- -->&lt;[User](./authentication-jwt.user.md)<!-- -->, typeof [User.prototype.id](./authentication-jwt.user.id.md)<!-- -->, [UserRelations](./authentication-jwt.userrelations.md)<!-- -->&gt;
2222
2323
## Constructors
2424
@@ -30,8 +30,8 @@ export declare class UserRepository extends DefaultCrudRepository<User, typeof U
3030
3131
| Property | Modifiers | Type | Description |
3232
| --- | --- | --- | --- |
33-
| [userCredentials](./authentication-jwt.userrepository.usercredentials.md) | | [HasOneRepositoryFactory](./repository.hasonerepositoryfactory.md)<!-- -->&lt;[UserCredentials](./authentication-jwt.usercredentials.md)<!-- -->, typeof [User.prototype.id](./authentication-jwt.user.id.md)<!-- -->&gt; | |
34-
| [userCredentialsRepositoryGetter](./authentication-jwt.userrepository.usercredentialsrepositorygetter.md) | | [Getter](./context.getter.md)<!-- -->&lt;[UserCredentialsRepository](./authentication-jwt.usercredentialsrepository.md)<!-- -->&gt; | |
33+
| [userCredentials](./authentication-jwt.userrepository.usercredentials.md) | <code>readonly</code> | [HasOneRepositoryFactory](./repository.hasonerepositoryfactory.md)<!-- -->&lt;[UserCredentials](./authentication-jwt.usercredentials.md)<!-- -->, typeof [User.prototype.id](./authentication-jwt.user.id.md)<!-- -->&gt; | |
34+
| [userCredentialsRepositoryGetter](./authentication-jwt.userrepository.usercredentialsrepositorygetter.md) | <code>protected</code> | [Getter](./context.getter.md)<!-- -->&lt;[UserCredentialsRepository](./authentication-jwt.usercredentialsrepository.md)<!-- -->&gt; | |
3535
3636
## Methods
3737

pages/en/lb4/apidocs/authentication-passport.strategyadapter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export declare class StrategyAdapter<U> implements AuthenticationStrategy
3232
3333
| Property | Modifiers | Type | Description |
3434
| --- | --- | --- | --- |
35-
| [name](./authentication-passport.strategyadapter.name.md) | | string | |
35+
| [name](./authentication-passport.strategyadapter.name.md) | <code>readonly</code> | string | |
3636
3737
## Methods
3838

pages/en/lb4/apidocs/authentication.authenticateactionprovider.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Provides the authentication action for a sequence
2020
```typescript
2121
export declare class AuthenticateActionProvider implements Provider<AuthenticateFn>
2222
```
23-
<b>Implements:</b> [Provider](./context.provider.md)<!-- -->&lt;[AuthenticateFn](./authentication.authenticatefn.md)
23+
<b>Implements:</b> [Provider](./context.provider.md)<!-- -->&lt;[AuthenticateFn](./authentication.authenticatefn.md)<!-- -->&gt;
2424
2525
## Example
2626
@@ -39,10 +39,10 @@ context.bind('authentication.actions.authenticate').toProvider(AuthenticateActio
3939
4040
| Property | Modifiers | Type | Description |
4141
| --- | --- | --- | --- |
42-
| [getStrategies](./authentication.authenticateactionprovider.getstrategies.md) | | [Getter](./context.getter.md)<!-- -->&lt;[AuthenticationStrategy](./authentication.authenticationstrategy.md) \| [AuthenticationStrategy](./authentication.authenticationstrategy.md)<!-- -->\[\] \| undefined&gt; | |
43-
| [setCurrentUser](./authentication.authenticateactionprovider.setcurrentuser.md) | | [Setter](./context.setter.md)<!-- -->&lt;[UserProfile](./security.userprofile.md)<!-- -->&gt; | |
44-
| [setRedirectStatus](./authentication.authenticateactionprovider.setredirectstatus.md) | | [Setter](./context.setter.md)<!-- -->&lt;number&gt; | |
45-
| [setRedirectUrl](./authentication.authenticateactionprovider.setredirecturl.md) | | [Setter](./context.setter.md)<!-- -->&lt;string&gt; | |
42+
| [getStrategies](./authentication.authenticateactionprovider.getstrategies.md) | <code>readonly</code> | [Getter](./context.getter.md)<!-- -->&lt;[AuthenticationStrategy](./authentication.authenticationstrategy.md) \| [AuthenticationStrategy](./authentication.authenticationstrategy.md)<!-- -->\[\] \| undefined&gt; | |
43+
| [setCurrentUser](./authentication.authenticateactionprovider.setcurrentuser.md) | <code>readonly</code> | [Setter](./context.setter.md)<!-- -->&lt;[UserProfile](./security.userprofile.md)<!-- -->&gt; | |
44+
| [setRedirectStatus](./authentication.authenticateactionprovider.setredirectstatus.md) | <code>readonly</code> | [Setter](./context.setter.md)<!-- -->&lt;number&gt; | |
45+
| [setRedirectUrl](./authentication.authenticateactionprovider.setredirecturl.md) | <code>readonly</code> | [Setter](./context.setter.md)<!-- -->&lt;string&gt; | |
4646
4747
## Methods
4848

pages/en/lb4/apidocs/authentication.authenticationmetadata.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ export interface AuthenticationMetadata
2323

2424
## Properties
2525

26-
| Property | Type | Description |
27-
| --- | --- | --- |
28-
| [options?](./authentication.authenticationmetadata.options.md) | { \[name: string\]: any; } | <i>(Optional)</i> Options for the authentication strategy |
29-
| [skip?](./authentication.authenticationmetadata.skip.md) | boolean | <i>(Optional)</i> A flag to skip authentication |
30-
| [strategy](./authentication.authenticationmetadata.strategy.md) | string | Name of the authentication strategy |
26+
| Property | Modifiers | Type | Description |
27+
| --- | --- | --- | --- |
28+
| [options?](./authentication.authenticationmetadata.options.md) | | { \[name: string\]: any; } | <i>(Optional)</i> Options for the authentication strategy |
29+
| [skip?](./authentication.authenticationmetadata.skip.md) | | boolean | <i>(Optional)</i> A flag to skip authentication |
30+
| [strategy](./authentication.authenticationmetadata.strategy.md) | | string | Name of the authentication strategy |
3131

3232

pages/en/lb4/apidocs/authentication.authenticationmiddlewareprovider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permalink: /doc/en/lb4/apidocs.authentication.authenticationmiddlewareprovider.h
1818
```typescript
1919
export declare class AuthenticationMiddlewareProvider implements Provider<Middleware>
2020
```
21-
<b>Implements:</b> [Provider](./context.provider.md)<!-- -->&lt;[Middleware](./express.middleware.md)
21+
<b>Implements:</b> [Provider](./context.provider.md)<!-- -->&lt;[Middleware](./express.middleware.md)<!-- -->&gt;
2222
2323
## Constructors
2424

pages/en/lb4/apidocs/authentication.authenticationoptions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ export interface AuthenticationOptions
2323

2424
## Properties
2525

26-
| Property | Type | Description |
27-
| --- | --- | --- |
28-
| [defaultMetadata?](./authentication.authenticationoptions.defaultmetadata.md) | [AuthenticationMetadata](./authentication.authenticationmetadata.md)<!-- -->\[\] | <i>(Optional)</i> Default authentication metadata if a method or class is not decorated with <code>@authenticate</code>. If not set, no default authentication will be enforced for those methods without authentication metadata. |
29-
| [failOnError?](./authentication.authenticationoptions.failonerror.md) | boolean | <i>(Optional)</i> This flag allows an authentication strategy to abort the authentication by throwing an error if <code>failOnError</code> is set to <code>true</code>. By default, the authentication process continues to the next one even when a strategy throws an error. If one of other strategies succeed, the error will be discarded. |
26+
| Property | Modifiers | Type | Description |
27+
| --- | --- | --- | --- |
28+
| [defaultMetadata?](./authentication.authenticationoptions.defaultmetadata.md) | | [AuthenticationMetadata](./authentication.authenticationmetadata.md)<!-- -->\[\] | <i>(Optional)</i> Default authentication metadata if a method or class is not decorated with <code>@authenticate</code>. If not set, no default authentication will be enforced for those methods without authentication metadata. |
29+
| [failOnError?](./authentication.authenticationoptions.failonerror.md) | | boolean | <i>(Optional)</i> This flag allows an authentication strategy to abort the authentication by throwing an error if <code>failOnError</code> is set to <code>true</code>. By default, the authentication process continues to the next one even when a strategy throws an error. If one of other strategies succeed, the error will be discarded. |
3030

3131

pages/en/lb4/apidocs/authentication.authenticationstrategy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ export interface AuthenticationStrategy
2525

2626
## Properties
2727

28-
| Property | Type | Description |
29-
| --- | --- | --- |
30-
| [name](./authentication.authenticationstrategy.name.md) | string | The 'name' property is a unique identifier for the authentication strategy ( for example : 'basic', 'jwt', etc) |
28+
| Property | Modifiers | Type | Description |
29+
| --- | --- | --- | --- |
30+
| [name](./authentication.authenticationstrategy.name.md) | | string | The 'name' property is a unique identifier for the authentication strategy ( for example : 'basic', 'jwt', etc) |
3131

3232
## Methods
3333

pages/en/lb4/apidocs/authentication.authenticationstrategyprovider.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ It declares an extension point to which all authentication strategy implementati
2222
```typescript
2323
export declare class AuthenticationStrategyProvider implements Provider<AuthenticationStrategy[] | undefined>
2424
```
25-
<b>Implements:</b> [Provider](./context.provider.md)<!-- -->&lt;[AuthenticationStrategy](./authentication.authenticationstrategy.md)
25+
<b>Implements:</b> [Provider](./context.provider.md)<!-- -->&lt;[AuthenticationStrategy](./authentication.authenticationstrategy.md)<!-- -->\[\] \| undefined&gt;
2626
2727
## Example
2828
@@ -38,8 +38,8 @@ export declare class AuthenticationStrategyProvider implements Provider<Authenti
3838
3939
| Property | Modifiers | Type | Description |
4040
| --- | --- | --- | --- |
41-
| [authenticationStrategies](./authentication.authenticationstrategyprovider.authenticationstrategies.md) | | [Getter](./context.getter.md)<!-- -->&lt;[AuthenticationStrategy](./authentication.authenticationstrategy.md)<!-- -->\[\]&gt; | |
42-
| [metadata?](./authentication.authenticationstrategyprovider.metadata.md) | | [AuthenticationMetadata](./authentication.authenticationmetadata.md)<!-- -->\[\] \| undefined | <i>(Optional)</i> |
41+
| [authenticationStrategies](./authentication.authenticationstrategyprovider.authenticationstrategies.md) | <code>protected</code> | [Getter](./context.getter.md)<!-- -->&lt;[AuthenticationStrategy](./authentication.authenticationstrategy.md)<!-- -->\[\]&gt; | |
42+
| [metadata?](./authentication.authenticationstrategyprovider.metadata.md) | <code>protected</code> | [AuthenticationMetadata](./authentication.authenticationmetadata.md)<!-- -->\[\] \| undefined | <i>(Optional)</i> |
4343
4444
## Methods
4545

pages/en/lb4/apidocs/authentication.authmetadataprovider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Provides authentication metadata of a controller method
2020
```typescript
2121
export declare class AuthMetadataProvider implements Provider<AuthenticationMetadata[] | undefined>
2222
```
23-
<b>Implements:</b> [Provider](./context.provider.md)<!-- -->&lt;[AuthenticationMetadata](./authentication.authenticationmetadata.md)
23+
<b>Implements:</b> [Provider](./context.provider.md)<!-- -->&lt;[AuthenticationMetadata](./authentication.authenticationmetadata.md)<!-- -->\[\] \| undefined&gt;
2424
2525
## Example
2626

pages/en/lb4/apidocs/authentication.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ It contains:
3030
| [AuthenticateActionProvider](./authentication.authenticateactionprovider.md) | Provides the authentication action for a sequence |
3131
| [AuthenticationComponent](./authentication.authenticationcomponent.md) | |
3232
| [AuthenticationMiddlewareProvider](./authentication.authenticationmiddlewareprovider.md) | |
33-
| [AuthenticationStrategyProvider](./authentication.authenticationstrategyprovider.md) | An authentication strategy provider responsible for resolving an authentication strategy by name.<!-- -->It declares an extension point to which all authentication strategy implementations must register themselves as extensions. |
33+
| [AuthenticationStrategyProvider](./authentication.authenticationstrategyprovider.md) | <p>An authentication strategy provider responsible for resolving an authentication strategy by name.</p><p>It declares an extension point to which all authentication strategy implementations must register themselves as extensions.</p> |
3434
| [AuthMetadataProvider](./authentication.authmetadataprovider.md) | Provides authentication metadata of a controller method |
3535

3636
## Functions
@@ -49,11 +49,11 @@ It contains:
4949
| [AuthenticateFn](./authentication.authenticatefn.md) | interface definition of a function which accepts a request and returns an authenticated user |
5050
| [AuthenticationMetadata](./authentication.authenticationmetadata.md) | Authentication metadata stored via Reflection API |
5151
| [AuthenticationOptions](./authentication.authenticationoptions.md) | Options for authentication component |
52-
| [AuthenticationStrategy](./authentication.authenticationstrategy.md) | An interface that describes the common authentication strategy.<!-- -->An authentication strategy is a class with an 'authenticate' method that verifies a user's credentials and returns the corresponding user profile. |
52+
| [AuthenticationStrategy](./authentication.authenticationstrategy.md) | <p>An interface that describes the common authentication strategy.</p><p>An authentication strategy is a class with an 'authenticate' method that verifies a user's credentials and returns the corresponding user profile.</p> |
5353
| [TokenService](./authentication.tokenservice.md) | An interface for generating and verifying a token |
5454
| [UserIdentityService](./authentication.useridentityservice.md) | The User Identity service links a user to profiles from an external source (eg: ldap, oauth2 provider, saml) which can identify the user. The profile typically has the following information: name, email-id, uuid, roles, authorizations, scope of accessible resources, expiration time for given access |
5555
| [UserProfileFactory](./authentication.userprofilefactory.md) | interface definition of a factory function which accepts a user definition and returns the user profile |
56-
| [UserService](./authentication.userservice.md) | A service for performing the login action in an authentication strategy.<!-- -->Usually a client user uses basic credentials to login, or is redirected to a third-party application that grants limited access.<!-- -->Note: The creation of user is handled in the user controller by calling user repository APIs. For Basic auth, the user has to register first using some endpoint like <code>/register</code>. For 3rd-party auth, the user will be created if login is successful and the user doesn't exist in database yet.<!-- -->Type <code>C</code> stands for the type of your credential object.<!-- -->- For local strategy:<!-- -->A typical credential would be: { username: username, password: password }<!-- -->- For oauth strategy:<!-- -->A typical credential would be: { clientId: string; clientSecret: string; callbackURL: string; }<!-- -->It could be read from a local configuration file in the app<!-- -->- For saml strategy:<!-- -->A typical credential would be:<!-- -->{ path: string; issuer: string; entryPoint: string; }<!-- -->It could be read from a local configuration file in the app. |
56+
| [UserService](./authentication.userservice.md) | <p>A service for performing the login action in an authentication strategy.</p><p>Usually a client user uses basic credentials to login, or is redirected to a third-party application that grants limited access.</p><p>Note: The creation of user is handled in the user controller by calling user repository APIs. For Basic auth, the user has to register first using some endpoint like <code>/register</code>. For 3rd-party auth, the user will be created if login is successful and the user doesn't exist in database yet.</p><p>Type <code>C</code> stands for the type of your credential object.</p><p>- For local strategy:</p><p>A typical credential would be: { username: username, password: password }</p><p>- For oauth strategy:</p><p>A typical credential would be: { clientId: string; clientSecret: string; callbackURL: string; }</p><p>It could be read from a local configuration file in the app</p><p>- For saml strategy:</p><p>A typical credential would be:</p><p>{ path: string; issuer: string; entryPoint: string; }</p><p>It could be read from a local configuration file in the app.</p> |
5757

5858
## Namespaces
5959

0 commit comments

Comments
 (0)