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

Search Results for

    Method SignOutAsync

    SignOutAsync()

    Signs out: ends the request's session with InvalidateSessionAsync(TSessionToken, CancellationToken) and clears the session cookie. The response is marked with a Session-Change: sign-out header, so that the toolkit's clients take its deletion whatever session the device has by then, unless the response has started, as in a hub connection, where the cookie can't be cleared either.

    Declaration
    public override Task SignOutAsync()
    Returns
    Type Description
    Task
    Overrides
    SessionContext<TSessionToken>.SignOutAsync()
    Remarks

    The user ID precondition is only checked if the request has one.

    Exceptions
    Type Condition
    UserChangedApiException

    The request's user ID precondition does not match the session's user.

    ForbiddenApiException

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

    © Singulink. All rights reserved.