Files
authentik/website/docs/developer-docs/api/reference/providers-oauth-2-preview-user-retrieve.api.mdx
2024-09-13 12:17:54 -05:00

320 lines
10 KiB
Plaintext

---
id: providers-oauth-2-preview-user-retrieve
title: "providers_oauth2_preview_user_retrieve"
description: "Preview user data for provider"
sidebar_label: "providers_oauth2_preview_user_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytVE1vGjEQ/SuWT62E2JTkUHEqbVGE1DSoSU8RQmZ3YB2M7dhe0hXa/96Z9QJOIO2hPe3ano/33nzsuLHgRJBGTwo+5NaZrSzA+bkRVSgHc+tgK+F5XnlwcwfBSdgC7/ECfO6kJUd0m0YrRlasEEGwpXFsHwzNrXBiAwED8+HDjktyeqrA1fim8QWP6NFmwRufl7ARfLjjobb0JnWAFT41Ta9ztiKUR19Z/NHrNdwRq7TE9KyzYFuh6FSADnJZS71ioZSe3Y5Ig+zWgp58ZdOOTh9zOXiqpAOULLgKmlmPB7EibkcFOV56yCsnQ92SJkEpwRpPM3Jx4K3RHjxhHlxc0Cc3CEkH+hXWKpm3tckePQHfnXI0i0fIw5sFKc0zUgGGMByGjQVCZhsMDgXbStE+I2hsg1C390jfMw8K46KJ1Ey8qGQ0lRF11x7nAImikIRGqGnq0hBvUdxqVXfiNamcD4eQpKkMClo2Ed5NRNeRw244qSzV+ioq+fLhsygYZQEfos3lf1T7GjQ4mbPRdMLGzplTnQoIQqokksdJ0iuCkpsCzjy8UqULkIjSJY35zkqBVzhzpaHBXkFoxxCnZsizQ5NmccyznSyaLJ31jAYK3HY/sZVT5CiszLaXGW+S5r4jlSLNpMUPhMoQ7H466bwA4eIo44AuTWvZUTq69zhljkQGF4Or/sf+hxPZb8SaRnXvFYvHvNxYBTSkVF2Rt9XFMpL8vASlzKeVOWTqS0NFwNIDTiKZdivlZnKPISJtouCHWbaSoawW/dxssiREdvxbKLPIMJXOvk2+jL/fjVua1viwEToJftCfRf2ZTRfoW2s26de/b9xO/QC/QmYVQiKaLZ1d1wbprurxCAR/hu0yTXsBj9R4JdIgr91uITz8dKpp6DquceqRQnqxUNSvS6E89Pga6peLvd2zbW/O6OAk2Z/3fZP5ux/dWLxn/77Hz6rUXQpdp5D3dFCeZoZWJW4xJEXg48Moz8GGxOVkpRDrw0Rej6nBSPVkWLrh6O1/KPpZOFiE1uLerEFjIfboAp0JYNP8BomuumA=
sidebar_class_name: "get 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 Markdown from "@theme/Markdown";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"providers_oauth2_preview_user_retrieve"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/providers/oauth2/{id}/preview_user/"}
>
</MethodEndpoint>
Preview user data for provider
<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"}
>
Path Parameters
</h3>
</summary><div>
<ul>
<ParamsItem
className={"paramsItem"}
param={{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this OAuth2/OpenID Provider.","required":true}}
>
</ParamsItem>
</ul>
</div>
</details><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":"for_user","schema":{"type":"integer"}}}
>
</ParamsItem>
</ul>
</div>
</details><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={true}
className={"schemaItem"}
>
<details
style={{}}
className={"openapi-markdown__details"}
>
<summary
style={{}}
>
<span
className={"openapi-schema__container"}
>
<strong
className={"openapi-schema__property"}
>
preview
</strong><span
className={"openapi-schema__name"}
>
object
</span><span
className={"openapi-schema__divider"}
>
</span><span
className={"openapi-schema__required"}
>
required
</span>
</span>
</summary><div
style={{"marginLeft":"1rem"}}
>
<SchemaItem
name={"property name*"}
required={false}
schemaName={"any"}
qualifierMessage={undefined}
schema={{"type":"object","additionalProperties":{},"readOnly":true}}
collapsible={false}
discriminator={false}
>
</SchemaItem>
</div>
</details>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"preview\": {}\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"400"}
value={"400"}
>
<div>
Bad request
</div><div>
</div>
</TabItem><TabItem
label={"403"}
value={"403"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"detail"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"detail\": \"string\",\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem>
</ApiTabs>
</div>
</div>