"use strict";(self.webpackChunkspotify_api_docs=self.webpackChunkspotify_api_docs||[]).push([[3924],{3905:function(e,t,r){r.d(t,{Zo:function(){returnu},kt:function(){returnd}});varn=r(7294);functiono(e,t,r){returntine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}functioni(e,t){varr=Object.keys(e);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}returnr}functiona(e){for(vart=1;t<arguments.length;t++){varr=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}returne}functionc(e,t){if(null==e)return{};varr,n,o=function(e,t){if(null==e)return{};varr,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);returno}(e,t);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}returno}varp=n.createContext({}),l=function(e){vart=n.useContext(p),r=t;returne&&(r="function"==typeofe?e(t):a(a({},t),e)),r},u=function(e){vart=l(e.components);returnn.createElement(p.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){vart=e.children;returnn.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){varr=e.components,o=e.mdxType,i=e.originalType,p=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),m=l(r),d=o,f=m["".concat(p,".").concat(d)]||m[d]||s[d]||i;returnr?n.createElement(f,a(a({ref:t},u),{},{components:r})):n.createElement(f,a({ref:t},u))}));functiond(e,t){varr=arguments,o=t&&t.mdxType;if("string"==typeofe||o){vari=r.length,a=newArray(i);a[0]=m;varc={};for(varpint)hasOwnProperty.call(t,p)&&(c[p]=t[p]);c.originalType=e,c.mdxType="string"==typeofe?e:o,a[1]=c;for(varl=2;l<i;l++)a[l]=r[l];returnn.createElement.apply(null,a)}returnn.createElement.apply(null,r)}m.displayName="MDXCreateElement"},7761:function(e,t,r){r.r(t),r.d(t,{assets:function(){returns},contentTitle:function(){returnl},default:function(){returnf},frontMatter:function(){returnp},metadata:function(){returnu},toc:function(){returnm}});varn=r(7462),o=r(3366),i=(r(7294),r(3905)),a=r(4996),c=["components"],p={id:"example_cli_custom_html",title:"CLI - Custom HTML"},l=void0,u={unversionedId:"example_cli_custom_html",id:"example_cli_custom_html",title:"CLI - Custom HTML",description:"Description",source:"@site/docs/example_cli_custom_html.md",sourceDirName:".",slug:"/example_cli_custom_html",permalink:"/SpotifyAPI-NET/docs/example_cli_custom_html",draft:!1,editUrl:"https://github.com/JohnnyCrazy/SpotifyAPI-NET/edit/master/SpotifyAPI.Docs/docs/example_cli_custom_html.md",tags:[],version:"current",lastUpdatedBy:"Jonas Dellinger",lastUpdatedAt:1685219501,formattedLastUpdatedAt:"May 27, 2023",frontMatter:{id:"example_cli_custom_html",title:"CLI - Custom HTML"},sidebar:"docs",previous:{title:"Blazor ServerSide",permalink:"/SpotifyAPI-NET/docs/example_blazor"},next:{title:"CLI - Persistent Config",permalink:"/SpotifyAPI-NET/docs/example_cli_persistent_config"}},s={},m=[{value:"Description",id:"description",level:2},{value:"Run it",id:"run-it",level:2}],d={toc:m};functionf(e){vart=e.components,r=(0,o.Z)(e,c);return(0,i.kt)("wrapper",(0,n.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"description"},"Description"),(0,i.kt)("p",null,"An example to show how you can display your own HTML resource after the user went through the authentication process of either ",(0,i.kt)("a",{parentName:"p",href:"/SpotifyAPI-NET/docs/implicit_grant"},"Implicit Grant"),", ",(0,i.kt)("a",{parentName:"p",href:"/SpotifyAPI-NET/docs/authorization_code"},"Authorization Code")," or ",(0,i.kt)("a",{parentName:"p",href:"/SpotifyAPI-NET/docs/pkce"},"PKCE"