Class SessionAccountsLoginBeginRequest
java.lang.Object
com.github.copilot.generated.rpc.SessionAccountsLoginBeginRequest
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public final class SessionAccountsLoginBeginRequest
extends Object
Begin an interactive login flow for a provider kind, optionally reusing a cached base identity or explicitly requesting provider account selection.
Required inputs are constructor arguments. Optional inputs have fluent setters.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a request with its required inputs. -
Method Summary
Modifier and TypeMethodDescriptionReturns theaccountIdproperty.getKind()Returns thekindproperty.getMode()Returns themodeproperty.setAccountId(String value) Sets theaccountIdproperty.setMode(AuthLoginMode value) Sets themodeproperty.
-
Constructor Details
-
SessionAccountsLoginBeginRequest
Creates a request with its required inputs.- Parameters:
kind- The provider kind to sign in with.
-
-
Method Details
-
getKind
Returns thekindproperty.- Returns:
- The provider kind to sign in with.
-
getMode
Returns themodeproperty.- Returns:
- Neutral identity-selection intent. Omitted is equivalent to default.
-
getAccountId
Returns theaccountIdproperty.- Returns:
- Opaque cached base identity id returned by accounts.enumerate loginAccounts. Valid only with default mode; consumers must not parse it.
-
setMode
Sets themodeproperty.- Parameters:
value- Neutral identity-selection intent. Omitted is equivalent to default.- Returns:
- this request
-
setAccountId
Sets theaccountIdproperty.- Parameters:
value- Opaque cached base identity id returned by accounts.enumerate loginAccounts. Valid only with default mode; consumers must not parse it.- Returns:
- this request
-