File tree Expand file tree Collapse file tree
src/main/java/com/github/copilot/rpc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) Microsoft Corporation. All rights reserved.
3+ * Licensed under the MIT License.
4+ */
5+
16package com .github .copilot .rpc ;
27
38import com .fasterxml .jackson .annotation .JsonInclude ;
Original file line number Diff line number Diff line change @@ -787,8 +787,10 @@ public String getMcpOAuthTokenStorage() {
787787 * <li>{@code "in-memory"} — tokens are stored in memory and discarded when the
788788 * session ends</li>
789789 * </ul>
790- * If not set, the SDK defaults to {@code "in-memory"} for safe multitenant
791- * behavior.
790+ * If not set and the client is in
791+ * {@link com.github.copilot.CopilotClientMode#EMPTY EMPTY} mode, the SDK
792+ * defaults to {@code "in-memory"} for safe multitenant behavior. In other modes
793+ * this field is left unset.
792794 *
793795 * @param mcpOAuthTokenStorage
794796 * the storage mode
Original file line number Diff line number Diff line change @@ -697,8 +697,10 @@ public String getMcpOAuthTokenStorage() {
697697 * <li>{@code "in-memory"} — tokens are stored in memory and discarded when the
698698 * session ends</li>
699699 * </ul>
700- * If not set, the SDK defaults to {@code "in-memory"} for safe multitenant
701- * behavior.
700+ * If not set and the client is in
701+ * {@link com.github.copilot.CopilotClientMode#EMPTY EMPTY} mode, the SDK
702+ * defaults to {@code "in-memory"} for safe multitenant behavior. In other modes
703+ * this field is left unset.
702704 *
703705 * @param mcpOAuthTokenStorage
704706 * the storage mode
You can’t perform that action at this time.
0 commit comments