Table of Contents

Method SetBearerToken

Namespace
LMKit.Mcp.Client
Assembly
LM-Kit.NET.dll

SetBearerToken(string)

Sets or clears the Bearer token used for authorization. Marking a new token invalidates the current session so the next call re-initializes with fresh headers.

public void SetBearerToken(string bearerToken)

Parameters

bearerToken string

Bearer token string, or null/empty to clear authentication.