You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
61 KiB
JavaScript

12 months ago
"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[2379],{7824:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>d,contentTitle:()=>o,default:()=>x,frontMatter:()=>c,metadata:()=>l,toc:()=>h});var s=r(5893),i=r(1151),t=r(510);const c={id:"auth-control",title:"15. \u5b89\u5168\u9274\u6743",sidebar_label:"15. \u5b89\u5168\u9274\u6743"},o=void 0,l={id:"auth-control",title:"15. \u5b89\u5168\u9274\u6743",description:"\ud83d\udcdd \u6a21\u5757\u66f4\u65b0\u65e5\u5fd7",source:"@site/docs/auth-control.mdx",sourceDirName:".",slug:"/auth-control",permalink:"/docs/auth-control",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/auth-control.mdx",tags:[],version:"current",lastUpdatedBy:"\u767e\u5c0f\u50e7",lastUpdatedAt:1693600484,formattedLastUpdatedAt:"Sep 1, 2023",frontMatter:{id:"auth-control",title:"15. \u5b89\u5168\u9274\u6743",sidebar_label:"15. \u5b89\u5168\u9274\u6743"},sidebar:"docs",previous:{title:"14. \u5206\u5e03\u5f0f\u7f13\u5b58",permalink:"/docs/cache"},next:{title:"16. CORS \u8de8\u57df",permalink:"/docs/cors"}},d={},h=[{value:"15.1 \u4ec0\u4e48\u662f\u9274\u6743",id:"151-\u4ec0\u4e48\u662f\u9274\u6743",level:2},{value:"15.1.1 \u5e38\u89c1\u7684\u9274\u6743\u65b9\u5f0f",id:"1511-\u5e38\u89c1\u7684\u9274\u6743\u65b9\u5f0f",level:3},{value:"15.2 \u5982\u4f55\u4f7f\u7528",id:"152-\u5982\u4f55\u4f7f\u7528",level:2},{value:"15.2.1 <s>\u6dfb\u52a0 <code>Cookie</code> \u8eab\u4efd\u9a8c\u8bc1</s>",id:"1521-\u6dfb\u52a0-cookie-\u8eab\u4efd\u9a8c\u8bc1",level:3},{value:"15.2.2 \u6dfb\u52a0 <code>Jwt</code> \u8eab\u4efd\u9a8c\u8bc1",id:"1522-\u6dfb\u52a0-jwt-\u8eab\u4efd\u9a8c\u8bc1",level:3},{value:"15.2.3 \u6df7\u5408\u8eab\u4efd\u9a8c\u8bc1",id:"1523-\u6df7\u5408\u8eab\u4efd\u9a8c\u8bc1",level:3},{value:"15.3 \u9ad8\u7ea7\u81ea\u5b9a\u4e49\u6388\u6743",id:"153-\u9ad8\u7ea7\u81ea\u5b9a\u4e49\u6388\u6743",level:2},{value:"15.3.1 <code>AppAuthorizeHandler</code>",id:"1531-appauthorizehandler",level:3},{value:"15.3.2 \u5b8c\u5168\u81ea\u5b9a\u4e49\u6388\u6743",id:"1532-\u5b8c\u5168\u81ea\u5b9a\u4e49\u6388\u6743",level:3},{value:"15.4 \u6388\u6743\u7279\u6027\u53ca\u5168\u5c40\u6388\u6743",id:"154-\u6388\u6743\u7279\u6027\u53ca\u5168\u5c40\u6388\u6743",level:2},{value:"15.4.1 \u5168\u5c40\u6388\u6743",id:"1541-\u5168\u5c40\u6388\u6743",level:3},{value:"15.4.2 \u533f\u540d\u8bbf\u95ee",id:"1542-\u533f\u540d\u8bbf\u95ee",level:3},{value:"15.5 \u81ea\u52a8\u5237\u65b0 Token",id:"155-\u81ea\u52a8\u5237\u65b0-token",level:2},{value:"15.5.1 \u540e\u7aef\u767b\u5f55\u90e8\u5206",id:"1551-\u540e\u7aef\u767b\u5f55\u90e8\u5206",level:3},{value:"15.5.2 \u540e\u7aef\u6388\u6743 <code>Handler</code> \u90e8\u5206",id:"1552-\u540e\u7aef\u6388\u6743-handler-\u90e8\u5206",level:3},{value:"15.5.3 \u5ba2\u6237\u7aef\u90e8\u5206",id:"1553-\u5ba2\u6237\u7aef\u90e8\u5206",level:3},{value:"15.6 \u83b7\u53d6 <code>Jwt</code> \u5b58\u50a8\u7684\u4fe1\u606f",id:"156-\u83b7\u53d6-jwt-\u5b58\u50a8\u7684\u4fe1\u606f",level:2},{value:"15.7 \u524d\u7aef\u89e3\u5bc6 <code>JWT</code> \u4fe1\u606f",id:"157-\u524d\u7aef\u89e3\u5bc6-jwt-\u4fe1\u606f",level:2},{value:"15.8 <code>Jwt</code> \u8eab\u4efd\u9a8c\u8bc1\u8fc7\u7a0b\u76d1\u542c",id:"158-jwt-\u8eab\u4efd\u9a8c\u8bc1\u8fc7\u7a0b\u76d1\u542c",level:2},{value:"15.8.1 \u5b9e\u73b0 <code>Url</code> \u53c2\u6570\u9a8c\u8bc1 <code>Token</code>",id:"1581-\u5b9e\u73b0-url-\u53c2\u6570\u9a8c\u8bc1-token",level:3},{value:"15.9 \u5173\u4e8e <code>Blazor + WebAPI</code> \u6df7\u5408\u6388\u6743",id:"159-\u5173\u4e8e-blazor--webapi-\u6df7\u5408\u6388\u6743",level:2},{value:"15.10 \u53cd\u9988\u4e0e\u5efa\u8bae",id:"1510-\u53cd\u9988\u4e0e\u5efa\u8bae",level:2}];function a(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",hr:"hr",li:"li",mdxAdmonitionTitle:"mdxAdmonitionTitle",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...e.components},{Details:r}=n;return r||function(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,s.jsxs)(s.Fragment,{child