Sha256: 5a67dce8776de83d752090ce188d05a710ce556fdc0f92ea88b3e955cdc74efb
Contents?: true
Size: 1.45 KB
Versions: 24
Compression:
Stored size: 1.45 KB
Contents
# OryOathkeeperClient::SwaggerRuleMatch ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **methods** | **Array<String>** | An array of HTTP methods (e.g. GET, POST, PUT, DELETE, ...). When ORY Oathkeeper searches for rules to decide what to do with an incoming request to the proxy server, it compares the HTTP method of the incoming request with the HTTP methods of each rules. If a match is found, the rule is considered a partial match. If the matchesUrl field is satisfied as well, the rule is considered a full match. | [optional] | | **url** | **String** | This field represents the URL pattern this rule matches. When ORY Oathkeeper searches for rules to decide what to do with an incoming request to the proxy server, it compares the full request URL (e.g. https://mydomain.com/api/resource) without query parameters of the incoming request with this field. If a match is found, the rule is considered a partial match. If the matchesMethods field is satisfied as well, the rule is considered a full match. You can use regular expressions in this field to match more than one url. Regular expressions are encapsulated in brackets < and >. The following example matches all paths of the domain `mydomain.com`: `https://mydomain.com/<.*>`. | [optional] | ## Example ```ruby require 'ory-oathkeeper-client' instance = OryOathkeeperClient::SwaggerRuleMatch.new( methods: null, url: null ) ```
Version data entries
24 entries across 24 versions & 1 rubygems