Class AuthInfo
java.lang.Object
com.github.copilot.generated.rpc.AuthInfo
- Direct Known Subclasses:
ApiKeyAuthInfo, CopilotApiTokenAuthInfo, EnvAuthInfo, GhCliAuthInfo, HMACAuthInfo, TokenAuthInfo, UserAuthInfo
The new auth credentials to install on the session. When omitted or `undefined`, the call is a no-op and the session's existing credentials are preserved. The runtime stores the value verbatim and uses it for outbound model/API requests; it does NOT re-validate or re-fetch the associated Copilot user response. Several variants carry secret material; treat this method's params as containing secrets at rest and in transit.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AuthInfo
public AuthInfo()
-
-
Method Details
-
getType
Returns the discriminator value for this variant.- Returns:
- the type discriminator
-