Binance Connector JS
    Preparing search index...

    AuthApi - interface

    AuthApi

    interface AuthApiInterface {
        sessionLogon(
            requestParameters?: SessionLogonRequest,
        ): Promise<WebsocketApiResponse<SessionLogonResponse>>;
        sessionLogout(
            requestParameters?: SessionLogoutRequest,
        ): Promise<WebsocketApiResponse<SessionLogoutResponse>>;
        sessionStatus(
            requestParameters?: SessionStatusRequest,
        ): Promise<WebsocketApiResponse<SessionStatusResponse>>;
    }

    Implemented by

    Index

    Methods

    • Forget the API key previously authenticated. If the connection is not authenticated, this request does nothing.

      Note that the WebSocket connection stays open after session.logout request. You can continue using the connection, but now you will have to explicitly provide the apiKey and signature parameters where needed. Weight: 2

      Parameters

      Returns Promise<WebsocketApiResponse<SessionLogoutResponse>>

      AuthApiInterface