Class: A2A::OAuthFlows

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

Overview

Defines the configuration for the supported OAuth 2.0 flows.

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#authorization_codeAuthorizationCodeOAuthFlow?

Returns Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0.

Returns:

  • (AuthorizationCodeOAuthFlow, nil)

    Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0.



8
# File 'lib/a2a/types/oauth_flows.rb', line 8

attribute? :authorization_code, Types::Constructor(AuthorizationCodeOAuthFlow).optional

#client_credentialsClientCredentialsOAuthFlow?

Returns Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0.

Returns:

  • (ClientCredentialsOAuthFlow, nil)

    Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0.



12
# File 'lib/a2a/types/oauth_flows.rb', line 12

attribute? :client_credentials, Types::Constructor(ClientCredentialsOAuthFlow).optional

#implicitImplicitOAuthFlow?

Returns Configuration for the OAuth Implicit flow.

Returns:



15
# File 'lib/a2a/types/oauth_flows.rb', line 15

attribute? :implicit, Types::Constructor(ImplicitOAuthFlow).optional

#passwordPasswordOAuthFlow?

Returns Configuration for the OAuth Resource Owner Password flow.

Returns:

  • (PasswordOAuthFlow, nil)

    Configuration for the OAuth Resource Owner Password flow.



18
# File 'lib/a2a/types/oauth_flows.rb', line 18

attribute? :password, Types::Constructor(PasswordOAuthFlow).optional