# frozen_string_literal: true require "openapi3_parser/node/object" module Openapi3Parser module Nodes # @see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#oauthFlowObject class OauthFlow include Node::Object # @return [String, nil] def authorization_url node_data["authorizationUrl"] end # @return [String, nil] def token_url node_data["tokenUrl"] end # @return [String, nil] def refresh_url node_data["refreshUrl"] end # @return [Map] a map of String: String objects def scopes node_data["scopes"] end end end end