mirror of
https://github.com/goauthentik/authentik
synced 2026-04-26 09:35:07 +02:00
173 lines
4.7 KiB
Plaintext
173 lines
4.7 KiB
Plaintext
---
|
|
id: sources-plex-redeem-token-authenticated-create
|
|
title: "sources_plex_redeem_token_authenticated_create"
|
|
description: "Redeem a plex token for an authenticated user, creating a connection"
|
|
sidebar_label: "sources_plex_redeem_token_authenticated_create"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJytVctu2zAQ/BWBZ9VKnRwKn9oGOQRI0iJOT0VgUNJGYiyRKkm5cQX/e3dI+QU1t14sieQOd2Zn14MwHVnpldG3pVgIZ3pbkFt1Db2tLJVE7cqbNemV7H1N2qtCeipXhSV+ilSU5AqrOgBw+GOISGSC+CQEJi/GJlInZ/FJ78imSUBRuuKAwmhNRYBJRSetbMmTdWLxcxAK0L96slve07yDRJu+4i9X1NRKsRiE33Zh3VsGFLvdcyq8rACwJyV4yRLjOP/VlFsE8a2ek8Kr7LoGyXEG2asDm2GKbvJXTnJCe0lWyUb9IcucEzsVAZwslPaK82C8oG/cmuSeilbpO9KVr8Xi424Xs1YMCzInkaCofIPQ77z6hMVYgcdIk2U4i/a2J15wVPRW+W0Qd1+XNX8974JErjPaxTznF1d4nNN9AMd4KMmhJGNeXVxMD4aMEm08m6DXZTx3OT33peDyuKQkrThN5MzVrw0M2RnngyMghsjGUmZQIXvfnxmsQXazd1BvG0TLTmWby0yA5l6EJWocyZ5IcahJ7X239xm+c5KWbMgRLnk8+unmTbYdinFe3YMjU/bxiwnQY9GO96UCqUYx5hfzq9mn2Xzisnu5Dr1yJMrriVO4dcanYWZZBDOzaxUY19Q05nNlDjfNlEEm7HTi6uHo2E/3t08MEXUCZ7fIskr5us9nhWmzE4js+JY3Js/4Kp3d3V7fPCxvgi4oWSv1CfhYtdgQY3vE4XA+Ff49VU7a9H8NmLG4nt48W4kJQJRAfhitdpwaaSinQGO8ZzfeRDPW8CpHDkMuHf2wzW6H5Ti5YMNSOZk36MQX2ThKxZq2x1m2kU2PrII9N5JHSg6bcFcyNMmSbQeQGHMdJfnwBCbH2MkUA9ahmb5/W6LK+Tj9WlMixsrfYMe/fHfKfwiIDg0R1gbRSF31ssLZiIkqQ4CTPhn7It2/INNxS+rtSYYsTjgRZgMLtBchtsvumcH/AichS/8=
|
|
sidebar_class_name: "post api-method"
|
|
info_path: docs/developer-docs/api/reference/authentik
|
|
custom_edit_url: null
|
|
hide_send_button: true
|
|
---
|
|
|
|
import ApiTabs from "@theme/ApiTabs";
|
|
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
|
|
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
|
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
|
|
import MimeTabs from "@theme/MimeTabs";
|
|
import ParamsItem from "@theme/ParamsItem";
|
|
import ResponseSamples from "@theme/ResponseSamples";
|
|
import SchemaItem from "@theme/SchemaItem";
|
|
import SchemaTabs from "@theme/SchemaTabs";
|
|
import Heading from "@theme/Heading";
|
|
import OperationTabs from "@theme/OperationTabs";
|
|
import TabItem from "@theme/TabItem";
|
|
|
|
<Heading
|
|
as={"h1"}
|
|
className={"openapi__heading"}
|
|
children={"sources_plex_redeem_token_authenticated_create"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"post"}
|
|
path={"/sources/plex/redeem_token_authenticated/"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Redeem a plex token for an authenticated user, creating a connection
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
children={"Request"}
|
|
>
|
|
</Heading>
|
|
|
|
<details
|
|
style={{"marginBottom":"1rem"}}
|
|
className={"openapi-markdown__details"}
|
|
data-collapsed={false}
|
|
open={true}
|
|
>
|
|
<summary
|
|
style={{}}
|
|
>
|
|
<h3
|
|
className={"openapi-markdown__details-summary-header-params"}
|
|
>
|
|
Query Parameters
|
|
</h3>
|
|
</summary><div>
|
|
<ul>
|
|
<ParamsItem
|
|
className={"paramsItem"}
|
|
param={{"in":"query","name":"slug","schema":{"type":"string"}}}
|
|
>
|
|
|
|
</ParamsItem>
|
|
</ul>
|
|
</div>
|
|
</details><MimeTabs
|
|
className={"openapi-tabs__mime"}
|
|
>
|
|
<TabItem
|
|
label={"application/json"}
|
|
value={"application/json-schema"}
|
|
>
|
|
<details
|
|
style={{}}
|
|
className={"openapi-markdown__details mime"}
|
|
data-collapsed={false}
|
|
open={true}
|
|
>
|
|
<summary
|
|
style={{}}
|
|
className={"openapi-markdown__details-summary-mime"}
|
|
>
|
|
<h3
|
|
className={"openapi-markdown__details-summary-header-body"}
|
|
>
|
|
Body
|
|
</h3><strong
|
|
className={"openapi-schema__required"}
|
|
>
|
|
required
|
|
</strong>
|
|
</summary><div
|
|
style={{"textAlign":"left","marginLeft":"1rem"}}
|
|
>
|
|
|
|
</div><ul
|
|
style={{"marginLeft":"1rem"}}
|
|
>
|
|
<SchemaItem
|
|
collapsible={false}
|
|
name={"plex_token"}
|
|
required={true}
|
|
schemaName={"string"}
|
|
qualifierMessage={"**Possible values:** `non-empty`"}
|
|
schema={{"type":"string","minLength":1}}
|
|
>
|
|
|
|
</SchemaItem>
|
|
</ul>
|
|
</details>
|
|
</TabItem>
|
|
</MimeTabs><div>
|
|
<div>
|
|
<ApiTabs
|
|
label={undefined}
|
|
id={undefined}
|
|
>
|
|
<TabItem
|
|
label={"204"}
|
|
value={"204"}
|
|
>
|
|
<div>
|
|
|
|
|
|
No response body
|
|
|
|
|
|
</div><div>
|
|
|
|
</div>
|
|
</TabItem><TabItem
|
|
label={"400"}
|
|
value={"400"}
|
|
>
|
|
<div>
|
|
|
|
|
|
Token not found
|
|
|
|
|
|
</div><div>
|
|
|
|
</div>
|
|
</TabItem><TabItem
|
|
label={"403"}
|
|
value={"403"}
|
|
>
|
|
<div>
|
|
|
|
|
|
Access denied
|
|
|
|
|
|
</div><div>
|
|
|
|
</div>
|
|
</TabItem>
|
|
</ApiTabs>
|
|
</div>
|
|
</div>
|
|
|