Class: RubyLLM::MCP::Auth::GrantStrategies::ClientCredentials
- Defined in:
- lib/ruby_llm/mcp/auth/grant_strategies/client_credentials.rb
Overview
Client Credentials grant strategy Used for application authentication without user interaction
Instance Method Summary collapse
-
#auth_method ⇒ String
Client credentials require client_secret.
-
#grant_types_list ⇒ Array<String>
Client credentials and refresh token grants.
-
#response_types_list ⇒ Array<String>
No response types for client credentials flow (no redirect).
Instance Method Details
#auth_method ⇒ String
Client credentials require client_secret
12 13 14 |
# File 'lib/ruby_llm/mcp/auth/grant_strategies/client_credentials.rb', line 12 def auth_method "client_secret_post" end |
#grant_types_list ⇒ Array<String>
Client credentials and refresh token grants
18 19 20 |
# File 'lib/ruby_llm/mcp/auth/grant_strategies/client_credentials.rb', line 18 def grant_types_list %w[client_credentials refresh_token] end |
#response_types_list ⇒ Array<String>
No response types for client credentials flow (no redirect)
24 25 26 |
# File 'lib/ruby_llm/mcp/auth/grant_strategies/client_credentials.rb', line 24 def response_types_list [] end |