---
title: "Python SDK: Sign in with Doorman"
description: "The methods of the Python client under Sign in with Doorman. The relying parties a developer registers, the sign-ins that wait for the owner's decision, and what the web app does for a browser on the way. Every operation answers 404 until the deployment switches sign-in on."
url: https://doorman.fyi/docs/python/reference/sign-in-with-doorman
markdown: https://doorman.fyi/docs/python/reference/sign-in-with-doorman.md
area: "SDKs and tools"
section: "Python SDK"
---

# Python SDK: Sign in with Doorman

The methods of the Python client under Sign in with Doorman. The relying parties a developer registers, the sign-ins that wait for the owner's decision, and what the web app does for a browser on the way. Every operation answers 404 until the deployment switches sign-in on.

Source: https://doorman.fyi/docs/python/reference/sign-in-with-doorman

## client.sign_in.clients.create

Python:
```python
client.sign_in.clients.create(body: models.CreateSignInClient) -> models.CreatedSignInClient
```

Operation [`signIn.clients.create`](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-create): `POST /v1/sign-in/clients`

Register a relying party.

Access `session`: a console session only; an API key gets 403 `session_required`. App tokens are refused. Part of [Sign in with Doorman](https://doorman.fyi/docs/passport.md#sign-in), which a deployment switches on: where it is off, the call answers `404 not_found`.

## client.sign_in.clients.delete

Python:
```python
client.sign_in.clients.delete(client_id: str) -> None
```

Operation [`signIn.clients.delete`](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-delete): `DELETE /v1/sign-in/clients/{clientId}`

Delete a relying party.

Access `session`: a console session only; an API key gets 403 `session_required`. App tokens are refused. Part of [Sign in with Doorman](https://doorman.fyi/docs/passport.md#sign-in), which a deployment switches on: where it is off, the call answers `404 not_found`.

## client.sign_in.clients.get

Python:
```python
client.sign_in.clients.get(client_id: str) -> models.SignInClient
```

Operation [`signIn.clients.get`](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-get): `GET /v1/sign-in/clients/{clientId}`

Read a relying party.

Access `session`: a console session only; an API key gets 403 `session_required`. App tokens are refused. Part of [Sign in with Doorman](https://doorman.fyi/docs/passport.md#sign-in), which a deployment switches on: where it is off, the call answers `404 not_found`.

## client.sign_in.clients.list

Python:
```python
client.sign_in.clients.list() -> models.SignInClientList
```

Operation [`signIn.clients.list`](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-list): `GET /v1/sign-in/clients`

List relying parties.

Access `session`: a console session only; an API key gets 403 `session_required`. App tokens are refused. Part of [Sign in with Doorman](https://doorman.fyi/docs/passport.md#sign-in), which a deployment switches on: where it is off, the call answers `404 not_found`.

## client.sign_in.clients.rotate_secret

Python:
```python
client.sign_in.clients.rotate_secret(client_id: str) -> models.SignInClientSecret
```

Operation [`signIn.clients.rotateSecret`](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-rotateSecret): `POST /v1/sign-in/clients/{clientId}/rotate-secret`

Rotate a relying party's secret.

Access `session`: a console session only; an API key gets 403 `session_required`. App tokens are refused. Part of [Sign in with Doorman](https://doorman.fyi/docs/passport.md#sign-in), which a deployment switches on: where it is off, the call answers `404 not_found`.

## client.sign_in.clients.update

Python:
```python
client.sign_in.clients.update(client_id: str, body: models.UpdateSignInClient) -> models.SignInClient
```

Operation [`signIn.clients.update`](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-update): `PATCH /v1/sign-in/clients/{clientId}`

Update a relying party.

Access `session`: a console session only; an API key gets 403 `session_required`. App tokens are refused. Part of [Sign in with Doorman](https://doorman.fyi/docs/passport.md#sign-in), which a deployment switches on: where it is off, the call answers `404 not_found`.

## client.sign_in.clients.verify

Python:
```python
client.sign_in.clients.verify(client_id: str) -> models.SignInClient
```

Operation [`signIn.clients.verify`](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-verify): `POST /v1/sign-in/clients/{clientId}/verify`

Verify a relying party's host.

Access `session`: a console session only; an API key gets 403 `session_required`. App tokens are refused. Part of [Sign in with Doorman](https://doorman.fyi/docs/passport.md#sign-in), which a deployment switches on: where it is off, the call answers `404 not_found`.

## client.sign_in.links.open

Python:
```python
client.sign_in.links.open(body: models.SignInLinkRequest) -> models.SignInLinkOpened
```

Operation [`signIn.links.open`](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-links-open): `POST /sign-in/links/open`

Open a sign-in link.

Access `public`: no credential. Part of [Sign in with Doorman](https://doorman.fyi/docs/passport.md#sign-in), which a deployment switches on: where it is off, the call answers `404 not_found`.

## client.sign_in.links.read

Python:
```python
client.sign_in.links.read(body: models.SignInLinkRequest) -> models.SignInLinkPreview
```

Operation [`signIn.links.read`](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-links-read): `POST /sign-in/links/read`

Read a sign-in link.

Access `public`: no credential. Part of [Sign in with Doorman](https://doorman.fyi/docs/passport.md#sign-in), which a deployment switches on: where it is off, the call answers `404 not_found`.

## client.sign_in.requests.decide

Python:
```python
client.sign_in.requests.decide(request_id: str, body: models.DecideSignIn) -> models.SignInDecision
```

Operation [`signIn.requests.decide`](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-requests-decide): `POST /v1/sign-in/requests/{requestId}`

Decide a sign-in.

Access `session`: a console session only; an API key gets 403 `session_required`. App tokens are refused. Part of [Sign in with Doorman](https://doorman.fyi/docs/passport.md#sign-in), which a deployment switches on: where it is off, the call answers `404 not_found`.

## client.sign_in.requests.get

Python:
```python
client.sign_in.requests.get(request_id: str) -> models.SignInApproval
```

Operation [`signIn.requests.get`](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-requests-get): `GET /v1/sign-in/requests/{requestId}`

Read a sign-in that waits for the owner.

Access `session`: a console session only; an API key gets 403 `session_required`. App tokens are refused. Part of [Sign in with Doorman](https://doorman.fyi/docs/passport.md#sign-in), which a deployment switches on: where it is off, the call answers `404 not_found`.

## client.sign_in.requests.resume

Python:
```python
client.sign_in.requests.resume(body: models.ResumeSignIn) -> models.SignInResumed
```

Operation [`signIn.requests.resume`](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-requests-resume): `POST /sign-in/requests/resume`

Resume a sign-in.

Access `public`: no credential. Part of [Sign in with Doorman](https://doorman.fyi/docs/passport.md#sign-in), which a deployment switches on: where it is off, the call answers `404 not_found`.
