Class: A2A::OAuthFlows
- Inherits:
-
ProtocolStruct
- Object
- Dry::Struct
- ProtocolStruct
- A2A::OAuthFlows
- Defined in:
- lib/a2a/types/oauth_flows.rb
Overview
Defines the configuration for the supported OAuth 2.0 flows.
Instance Method Summary collapse
-
#authorization_code ⇒ AuthorizationCodeOAuthFlow?
Configuration for the OAuth Authorization Code flow.
-
#client_credentials ⇒ ClientCredentialsOAuthFlow?
Configuration for the OAuth Client Credentials flow.
-
#implicit ⇒ ImplicitOAuthFlow?
Configuration for the OAuth Implicit flow.
-
#password ⇒ PasswordOAuthFlow?
Configuration for the OAuth Resource Owner Password flow.
Methods included from Extensions::CaseTransformation
Instance Method Details
#authorization_code ⇒ AuthorizationCodeOAuthFlow?
Returns 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_credentials ⇒ ClientCredentialsOAuthFlow?
Returns 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 |
#implicit ⇒ ImplicitOAuthFlow?
Returns Configuration for the OAuth Implicit flow.
15 |
# File 'lib/a2a/types/oauth_flows.rb', line 15 attribute? :implicit, Types::Constructor(ImplicitOAuthFlow).optional |
#password ⇒ PasswordOAuthFlow?
Returns Configuration for the OAuth Resource Owner Password flow.
18 |
# File 'lib/a2a/types/oauth_flows.rb', line 18 attribute? :password, Types::Constructor(PasswordOAuthFlow).optional |