Class: Anthropic::Models::Beta::Vaults::BetaManagedAgentsMCPOAuthRefreshUpdateParams

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb

Defined Under Namespace

Modules: TokenEndpointAuth

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(refresh_token: nil, scope: nil, token_endpoint_auth: nil) ⇒ Object

Parameters for updating OAuth refresh token configuration.

Parameters:



# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb', line 27

Instance Attribute Details

#refresh_tokenString?

Updated OAuth refresh token.

Returns:

  • (String, nil)


12
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb', line 12

optional :refresh_token, String, nil?: true

#scopeString?

Updated OAuth scope for the refresh request.

Returns:

  • (String, nil)


18
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb', line 18

optional :scope, String, nil?: true

#token_endpoint_authAnthropic::Models::Beta::Vaults::BetaManagedAgentsTokenEndpointAuthBasicUpdateParam, ...

Updated HTTP Basic authentication parameters for the token endpoint.



24
25
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb', line 24

optional :token_endpoint_auth,
union: -> { Anthropic::Beta::Vaults::BetaManagedAgentsMCPOAuthRefreshUpdateParams::TokenEndpointAuth }