Class: A2A::ImplicitOAuthFlow

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

Overview

Defines configuration details for the OAuth 2.0 Implicit flow.

Instance Method Summary collapse

Methods included from Extensions::CaseTransformation

#camelize, included, #to_json

Instance Method Details

#authorization_url ⇒ URI

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

Returns:

  • (URI) —

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



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

attribute :authorization_url, Types::URI

#refresh_url ⇒ URI?

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/implicit_oauth_flow.rb', line 10

attribute? :refresh_url, Types::URI.optional

#scopes ⇒ Hash

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/implicit_oauth_flow.rb', line 14

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