Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5027cd6

Browse files
committed
fixup! split auth into 3 pages, improve sidebar
Signed-off-by: Miroslav Bajtoš <[email protected]>
1 parent 1331970 commit 5027cd6

7 files changed

Lines changed: 54 additions & 10 deletions

File tree

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
---
22
lang: en
3-
title: 'Migrating authentication and authorization'
3+
title: 'Migrating built-in authentication and authorization'
44
keywords: LoopBack 4.0, LoopBack 4, LoopBack 3, Migration
55
sidebar: lb4_sidebar
6-
permalink: /doc/en/lb4/migration-authentication-authorization.html
6+
permalink: /doc/en/lb4/migration-auth-built-in.html
77
---
88

99
TODO: explain how to migrate:
1010

11+
- built-in models (User, AccessToken, ACL)
1112
- authentication
1213
- authorization
13-
- built-in models (User, AccessToken, ACL)
14-
- loopback-component-oauth2
15-
- loopback-component-passport

docs/site/migration/auth/oauth2.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
lang: en
3+
title: 'Migrating OAuth2 provider'
4+
keywords: LoopBack 4.0, LoopBack 4, LoopBack 3, Migration
5+
sidebar: lb4_sidebar
6+
permalink: /doc/en/lb4/migration-auth-oauth2.html
7+
---
8+
9+
TODO: explain how to migrate apps using loopback-component-oauth2
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
lang: en
3+
title: 'Migrating authentication and authorization'
4+
keywords: LoopBack 4.0, LoopBack 4, LoopBack 3, Migration
5+
sidebar: lb4_sidebar
6+
permalink: /doc/en/lb4/migration-auth-overview.html
7+
---
8+
9+
TODO: High-level description of the following migration steps:
10+
11+
- built-in models (User, AccessToken, ACL), authentication & authorization
12+
- apps using loopback-component-passport
13+
- apps using loopback-component-oauth2
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
lang: en
3+
title: 'Migrating Passport-based authentication'
4+
keywords: LoopBack 4.0, LoopBack 4, LoopBack 3, Migration
5+
sidebar: lb4_sidebar
6+
permalink: /doc/en/lb4/migration-auth-passport.html
7+
---
8+
9+
TODO: explain how to migrate apps using loopback-component-passport

docs/site/migration/models/remoting-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ TODO: Explain how to migrate remoting hooks to LB4 interceptors.
1313
- Method-level hooks, e.g. `User.beforeRemote('create', handlerFn)`
1414

1515
Explain how to map properties provided by LB3 remoting context to LB4 concepts
16-
and how to access those data via Dependency Injection.
16+
and how to access that data via Dependency Injection.

docs/site/migration/overview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ Migration guide from LoopBack 3 to LoopBack 4.
1010

1111
TODO: explain the high-level plan for upgrading in incremental steps, point to
1212
sub-chapters for more details.
13+
14+
List components & feature that are not planned for LB4.

docs/site/sidebars/lb4_sidebar.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -625,19 +625,19 @@ children:
625625
output: 'web, pdf'
626626
children:
627627

628-
- title: 'Understanding the differences between LoopBack 3 and LoopBack 4'
628+
- title: 'Understanding the differences'
629629
url: Understanding-the-differences.html
630630
output: 'web, pdf'
631631

632632
- title: 'Mounting a LoopBack 3 application'
633633
url: migration-mounting-lb3app.html
634634
output: 'web, pdf'
635635

636-
- title: 'Migrating datasources'
636+
- title: 'Datasources'
637637
url: migration-datasources.html
638638
output: 'web, pdf'
639639

640-
- title: 'Migrating Express middleware'
640+
- title: 'Express middleware'
641641
url: migration-express-middleware.html
642642
output: 'web, pdf'
643643

@@ -675,8 +675,21 @@ children:
675675
output: 'web, pdf'
676676

677677
- title: 'Authentication & authorization'
678-
url: migration-authentication-authorization.html
678+
url: migration-auth-overview.html
679679
output: 'web, pdf'
680+
children:
681+
682+
- title: 'Built-in models'
683+
url: migration-auth-built-in.html
684+
output: 'web, pdf'
685+
686+
- title: 'Passport'
687+
url: migration-auth-passport.html
688+
output: 'web, pdf'
689+
690+
- title: 'OAuth2 Provider'
691+
url: migration-auth-oauth2.html
692+
output: 'web, pdf'
680693

681694
- title: 'Components and extensions'
682695
url: migration-extensions.html

0 commit comments

Comments
 (0)