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.
client.sign_in.clients.create
client.sign_in.clients.create(body: models.CreateSignInClient) -> models.CreatedSignInClientSends 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, which a deployment switches on: where it is off, the call answers 404 not_found.
client.sign_in.clients.delete
client.sign_in.clients.delete(client_id: str) -> NoneSends 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, which a deployment switches on: where it is off, the call answers 404 not_found.
client.sign_in.clients.get
client.sign_in.clients.get(client_id: str) -> models.SignInClientSends 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, which a deployment switches on: where it is off, the call answers 404 not_found.
client.sign_in.clients.list
client.sign_in.clients.list() -> models.SignInClientListSends 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, which a deployment switches on: where it is off, the call answers 404 not_found.
client.sign_in.clients.rotate_secret
client.sign_in.clients.rotate_secret(client_id: str) -> models.SignInClientSecretSends 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, which a deployment switches on: where it is off, the call answers 404 not_found.
client.sign_in.clients.update
client.sign_in.clients.update(client_id: str, body: models.UpdateSignInClient) -> models.SignInClientSends 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, which a deployment switches on: where it is off, the call answers 404 not_found.
client.sign_in.clients.verify
client.sign_in.clients.verify(client_id: str) -> models.SignInClientSends 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, which a deployment switches on: where it is off, the call answers 404 not_found.
client.sign_in.links.open
client.sign_in.links.open(body: models.SignInLinkRequest) -> models.SignInLinkOpenedSends signIn.links.open: POST /sign-in/links/open
Open a sign-in link.
Access public: no credential. Part of Sign in with Doorman, which a deployment switches on: where it is off, the call answers 404 not_found.
client.sign_in.links.read
client.sign_in.links.read(body: models.SignInLinkRequest) -> models.SignInLinkPreviewSends signIn.links.read: POST /sign-in/links/read
Read a sign-in link.
Access public: no credential. Part of Sign in with Doorman, which a deployment switches on: where it is off, the call answers 404 not_found.
client.sign_in.requests.decide
client.sign_in.requests.decide(request_id: str, body: models.DecideSignIn) -> models.SignInDecisionSends 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, which a deployment switches on: where it is off, the call answers 404 not_found.
client.sign_in.requests.get
client.sign_in.requests.get(request_id: str) -> models.SignInApprovalSends 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, which a deployment switches on: where it is off, the call answers 404 not_found.
client.sign_in.requests.resume
client.sign_in.requests.resume(body: models.ResumeSignIn) -> models.SignInResumedSends signIn.requests.resume: POST /sign-in/requests/resume
Resume a sign-in.
Access public: no credential. Part of Sign in with Doorman, which a deployment switches on: where it is off, the call answers 404 not_found.

