Class: A2A::ClientCredentialsOAuthFlow

Inherits:
ProtocolStruct
  • Object
show all
Defined in:
lib/a2a/types/client_credentials_oauth_flow.rb

Overview

Defines configuration details for the OAuth 2.0 Client Credentials flow.

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#refresh_urlURI?

Returns The URL to be used for obtaining refresh tokens. This MUST be a URL.

Returns:

  • (URI, nil)

    The URL to be used for obtaining refresh tokens. This MUST be a URL.



10
# File 'lib/a2a/types/client_credentials_oauth_flow.rb', line 10

attribute? :refresh_url, Types::URI.optional

#scopesHash

Returns The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it.

Returns:

  • (Hash)

    The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it.



14
# File 'lib/a2a/types/client_credentials_oauth_flow.rb', line 14

attribute :scopes, Types::Hash.map(Types::String, Types::String)

#token_urlURI

Returns The token URL to be used for this flow. This MUST be a URL.

Returns:

  • (URI)

    The token URL to be used for this flow. This MUST be a URL.



7
# File 'lib/a2a/types/client_credentials_oauth_flow.rb', line 7

attribute :token_url, Types::URI