%PDF- %PDF-
Direktori : /home/opti/public_html/ezone-accounting.optisoft.com.ng/static/js/ |
Current File : /home/opti/public_html/ezone-accounting.optisoft.com.ng/static/js/164.76e72a78.chunk.js |
(this["webpackJsonpfuse-react-app"]=this["webpackJsonpfuse-react-app"]||[]).push([[164],{2528:function(e,t,c){"use strict";c.r(t);var s=c(194),a=c(28),n=c(1);t.default=function(){return Object(n.jsxs)(n.Fragment,{children:[Object(n.jsx)(s.a,{variant:"h4",className:"mb-24",children:"JWT Authentication Service Example"}),Object(n.jsx)(s.a,{className:"mb-16",component:"p",children:"With JWT Authentication Service in Fuse React."}),Object(n.jsxs)("ul",{children:[Object(n.jsxs)("li",{className:"mb-12",children:["You can ",Object(n.jsx)(a.a,{to:"/register",children:"register"}),"."]}),Object(n.jsxs)("li",{className:"mb-12",children:["You can ",Object(n.jsx)(a.a,{to:"/login",children:"log in"}),"."]}),Object(n.jsx)("li",{className:"mb-12",children:"Also saves user data (user shortcuts, layout, and theme settings) to db."})]}),Object(n.jsxs)(s.a,{className:"mt-32 mb-16",component:"p",children:["Related Service folder is located at ",Object(n.jsx)("code",{children:"/src/app/services/jwtService"})]}),Object(n.jsxs)(s.a,{className:"my-24 italic",component:"p",color:"textSecondary",children:["Note: Make sure ","<Router>"," component wrapped with ","<Auth>"," component in",Object(n.jsx)("code",{children:"src/app/App.js"}),". The service initializes in the Auth component."]}),Object(n.jsxs)(s.a,{className:"my-24 italic",component:"p",color:"textSecondary",children:["Important: We don't give you any backend code. We are demonstrating the usage with",Object(n.jsx)("code",{children:"@fake-db"})," (which is works with https requests as real)."]})]})}}}]);