Class SessionAccountsLoginApi
java.lang.Object
com.github.copilot.generated.rpc.SessionAccountsLoginApi
API methods for the
accounts.login namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionAdvance an in-flight login flow, optionally fulfilling an input-required step, and return the next step.begin(SessionAccountsLoginBeginParams params) Begin an interactive login flow for a provider kind (dispatch is kind-only) and return its opaque flow id and first step.Cancel an in-flight login flow and release its resources.
-
Method Details
-
begin
@CopilotExperimental public CompletableFuture<SessionAccountsLoginBeginResult> begin(SessionAccountsLoginBeginParams params) Begin an interactive login flow for a provider kind (dispatch is kind-only) and return its opaque flow id and first step.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
advance
@CopilotExperimental public CompletableFuture<AuthLoginStep> advance(SessionAccountsLoginAdvanceParams params) Advance an in-flight login flow, optionally fulfilling an input-required step, and return the next step.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
cancel
Cancel an in-flight login flow and release its resources.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-