HTTP API Toolkit HTTP API Toolkit
HTTP API Toolkit HTTP API Toolkit
DocFX + Singulink = ♥

Search Results for

    Class SignInErrorCodes

    Contains the error codes (ErrorCode) of the exceptions thrown by the sign-in building blocks of the Singulink.Net.Http.Api.Service package, so that apps and their clients can tell the failures apart and word them in their own way.

    Inheritance
    object
    SignInErrorCodes
    Namespace: Singulink.Net.Http.Api
    Assembly: Singulink.Net.Http.Api.dll
    Syntax
    public static class SignInErrorCodes

    Fields

    Name Description
    CodeChallengeInvalid

    The PKCE code challenge is missing or malformed. Thrown as a BadRequestApiException by PkceChallenge.EnsureValid, and so by SignInCodes.CreateAsync, DeviceLinks.StartAsync, PasskeyService.BeginSignInAsync and PasskeyService.BeginRegistrationAsync.

    DeviceLinkExpired

    The device link is unknown or expired, or the poll secret is wrong, so the new device starts a new link. Thrown as an UnauthorizedApiException by DeviceLinks.CheckAsync. On the client, DeviceLinkWaiter.WaitForApprovalAsync ends its wait by throwing it.

    DeviceLinkTooManyWrongCodes

    The user entered too many wrong device link codes and must wait before trying again. Thrown as a TooManyRequestsApiException by DeviceLinks.FindAsync and DeviceLinks.ApproveAsync.

    SignInCodeInvalid

    The sign-in code is unknown, expired or already used, or the code verifier does not match it, so the user signs in again. Thrown as an UnauthorizedApiException by SignInCodes.SignInAsync.

    © Singulink. All rights reserved.