Class: Openapi3Parser::Nodes::OauthFlow

Inherits:
Object
  • Object
show all
Includes:
Openapi3Parser::Node::Object
Defined in:
lib/openapi3_parser/nodes/oauth_flow.rb

Overview

Instance Attribute Summary

Attributes included from Openapi3Parser::Node::Object

#node_context, #node_data

Instance Method Summary collapse

Methods included from Openapi3Parser::Node::Object

#[], #each, #extension, #initialize

Instance Method Details

#authorization_urlString?

Returns:

  • (String, nil)


12
13
14
# File 'lib/openapi3_parser/nodes/oauth_flow.rb', line 12

def authorization_url
  node_data["authorizationUrl"]
end

#refresh_urlString?

Returns:

  • (String, nil)


22
23
24
# File 'lib/openapi3_parser/nodes/oauth_flow.rb', line 22

def refresh_url
  node_data["refreshUrl"]
end

#scopesMap<String, String>

Returns:

  • (Map<String, String>)


27
28
29
# File 'lib/openapi3_parser/nodes/oauth_flow.rb', line 27

def scopes
  node_data["scopes"]
end

#token_urlString?

Returns:

  • (String, nil)


17
18
19
# File 'lib/openapi3_parser/nodes/oauth_flow.rb', line 17

def token_url
  node_data["tokenUrl"]
end