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

Search Results for

    Method EnsureSignInOriginAllowed

    EnsureSignInOriginAllowed()

    Checks the current request's origin the way SignInAsync(bool, Func<SignInInfo, Task<TSessionToken>>) does before it calls its function, without signing in.

    Declaration
    public virtual void EnsureSignInOriginAllowed()
    Remarks

    The default implementation throws if IsRequestOriginAllowed() returns false.

    Exceptions
    Type Condition
    ForbiddenApiException

    The request's origin is not allowed (OriginBlocked).

    BadRequestApiException

    The request contains multiple origin headers.

    © Singulink. All rights reserved.