Namespace Singulink.Net.Http.Api.DataContracts
Classes
ApproveDeviceLinkCommand
Represents a request from a signed-in device to approve a device link by the code that the new device shows, or to look up the details of the link before approving it.
BeginPasskeySignInCommand
Represents a request to begin a passkey sign-in: the PKCE code challenge that the sign-in is bound to, and optionally the name of the user to sign in.
CheckDeviceLinkCommand
Represents a request from a new device to check the status of its device link.
CreateUploadCommand
Represents a request to create a chunked upload: the file's name, length and content type, the chunk size the client asks for, the app's command, and a key that makes a repeated creation get the same upload.
DeviceLinkStart
Represents a device link that was just started: the code that the new device shows, the ID and poll secret it checks the link's status with, and how long the link waits for approval. Everything in it goes to the new device only.
DeviceLinkStatus
Represents the status of a device link for the new device: whether the link was approved, and if so, the one-time sign-in code for the new device.
FinishPasskeyCeremonyCommand
Represents a request to finish a passkey registration or verification: the ceremony and the credential that the browser returned.
FinishPasskeySignInCommand
Represents a request to finish a passkey sign-in: the ceremony, the credential that the browser returned and the PKCE code verifier.
PasskeyCeremony
Represents a started passkey ceremony: the ID to finish it with, the WebAuthn options for the browser and how long it can be finished.
PendingDeviceLink
Represents the details of a device waiting to be linked, which the user who typed its code checks before approving it.
RedeemSignInCodeCommand
Represents a request to redeem a one-time sign-in code for a session.
SignInCode
Represents a one-time sign-in code, which signs the client in when it is redeemed with the PKCE code verifier that matches the code challenge the sign-in began with.
StartDeviceLinkCommand
Represents a request from a new device to start a device link.
UploadSession
Represents a created chunked upload: its ID, the chunk size the service chose and when it expires.
UploadStatus
Represents the status of a chunked upload: its state, its length and chunk size, the chunks that have not arrived and when it expires.
Structs
ChunkRange
Represents a range of chunk indexes of a chunked upload, from First to Last, both included.
Enums
PasskeyAttachment
Specifies where the passkey used in a ceremony came from, as reported by the browser. Serialized to JSON as the name of the value.
UploadState
Specifies the state of a chunked upload. Serialized to JSON as the name of the value.