Sha256: 852f18da736ad1d523ce2cdf1a88aa3ac39d62dcf8682c07e73bbb2ca5a11984

Contents?: true

Size: 652 Bytes

Versions: 10

Compression:

Stored size: 652 Bytes

Contents

# frozen_string_literal: true

require "openapi3_parser/node/object"

module Openapi3Parser
  module Node
    # @see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#oauthFlowsObject
    class OauthFlows < Node::Object
      # @return [OauthFlow, nil]
      def implicit
        self["implicit"]
      end

      # @return [OauthFlow, nil]
      def password
        self["password"]
      end

      # @return [OauthFlow, nil]
      def client_credentials
        self["clientCredentials"]
      end

      # @return [OauthFlow, nil]
      def authorization_code
        self["authorizationCode"]
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
openapi3_parser-0.9.2 lib/openapi3_parser/node/oauth_flows.rb
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/gems/openapi3_parser-0.9.1/lib/openapi3_parser/node/oauth_flows.rb
openapi3_parser-0.9.1 lib/openapi3_parser/node/oauth_flows.rb
openapi3_parser-0.9.0 lib/openapi3_parser/node/oauth_flows.rb
openapi3_parser-0.8.2 lib/openapi3_parser/node/oauth_flows.rb
openapi3_parser-0.8.1 lib/openapi3_parser/node/oauth_flows.rb
openapi3_parser-0.8.0 lib/openapi3_parser/node/oauth_flows.rb
openapi3_parser-0.7.0 lib/openapi3_parser/node/oauth_flows.rb
openapi3_parser-0.6.1 lib/openapi3_parser/node/oauth_flows.rb
openapi3_parser-0.6.0 lib/openapi3_parser/node/oauth_flows.rb