Class AuthInfo

java.lang.Object
com.github.copilot.generated.rpc.AuthInfo
Direct Known Subclasses:
ApiKeyAuthInfo, CopilotApiTokenAuthInfo, EnvAuthInfo, GhCliAuthInfo, HMACAuthInfo, TokenAuthInfo, UserAuthInfo

@Generated("copilot-sdk-codegen") public abstract class AuthInfo extends Object
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 Details

    • AuthInfo

      public AuthInfo()
  • Method Details

    • getType

      public abstract String getType()
      Returns the discriminator value for this variant.
      Returns:
      the type discriminator