Skip to content

Commit

Permalink
Adding the "Device Limiting" guide to example apps and renaming their…
Browse files Browse the repository at this point in the history
… repos (#2911)
  • Loading branch information
vcampitelli authored Feb 23, 2024
1 parent b022479 commit 7228c85
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
8 changes: 4 additions & 4 deletions astro/src/content/docs/extend/examples/device-limiting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: Learn how to limit the number of devices a user can log in to concu
navcategory: developer
section: extend
subcategory: examples
codeRootSimple: https://raw.githubusercontent.com/FusionAuth/fusionauth-device-limit-guide-simple/main
codeRootFriendly: https://raw.githubusercontent.com/FusionAuth/fusionauth-device-limit-guide-friendly/main
codeRootSimple: https://raw.githubusercontent.com/FusionAuth/fusionauth-example-device-limit-simple/main
codeRootFriendly: https://raw.githubusercontent.com/FusionAuth/fusionauth-example-device-limit-friendly/main
---
import Aside from 'src/components/Aside.astro';
import InlineField from 'src/components/InlineField.astro';
Expand Down Expand Up @@ -213,6 +213,6 @@ The web page posts the selected token Ids to the backend. You will need a route
You can download, review, and run full applications for both the simple and user-friendly device-limiting implementations from the FusionAuth GitHub:
* [Simple implementation using a webhook](https://github.com/FusionAuth/fusionauth-device-limit-guide-simple)
* [Simple implementation using a webhook](https://github.com/FusionAuth/fusionauth-example-device-limit-simple)
* [User-friendly implementation](https://github.com/FusionAuth/fusionauth-device-limit-guide-friendly)
* [User-friendly implementation](https://github.com/FusionAuth/fusionauth-example-device-limit-friendly)
12 changes: 12 additions & 0 deletions astro/src/content/json/exampleapps.json
Original file line number Diff line number Diff line change
Expand Up @@ -556,5 +556,17 @@
"name": "PHP Laravel API quickstart",
"description": "PHP Laravel API quickstart tutorial showing how to integrate FusionAuth with a PHP Laravel API",
"language": "php"
},
{
"url": "https://github.com/fusionauth/fusionauth-example-device-limit-simple",
"name": "Restrict Simultaneous Logins (Simple)",
"description": "Demonstrates how to limit the number of devices a user can simultaneously log in from, asking them to sign out from an existing session in order to continue",
"language": "javascript"
},
{
"url": "https://github.com/fusionauth/fusionauth-example-device-limit-friendly",
"name": "Restrict Simultaneous Logins (User-friendly)",
"description": "Demonstrates how to limit the number of devices a user can simultaneously log in from, allowing them to sign out via interface from other sessions",
"language": "javascript"
}
]

0 comments on commit 7228c85

Please sign in to comment.