Skip to content

Commit

Permalink
fixup!: apply feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jannyHou committed Feb 28, 2020
1 parent 1f778d0 commit 1fc0251
Show file tree
Hide file tree
Showing 9 changed files with 199 additions and 124 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
316 changes: 193 additions & 123 deletions docs/site/migration/auth/example.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions docs/site/migration/auth/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ authorization to secure the applications:
authorize client applications and/or resource owners (i.e. users) to access
protected API endpoints. The migration path is described in
[Migrating OAuth2 provider](./oauth2.md).

- [loopback-example-access-control](https://github.com/strongloop/loopback-example-access-control)
demonstrate authentication and authorization mechanisms in LoopBack. The
migration guide is described in
[Migrating access control example](./example.md).
2 changes: 1 addition & 1 deletion packages/authorization/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export interface AuthorizationContext {
*/
export type Authorizer<
T extends AuthorizationMetadata = AuthorizationMetadata
> =
> =
/**
* @param context: Context information for authorization
* @param metadata: Metadata representing requirements for authorization
Expand Down

0 comments on commit 1fc0251

Please sign in to comment.