Sha256: d883c2644b0db96ba46a69137577f87587480e0c703b0915c8be391da69b2de0

Contents?: true

Size: 1.44 KB

Versions: 5

Compression:

Stored size: 1.44 KB

Contents

# OryHydraClient::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 = OryHydraClient::SwaggerRuleMatch.new(
  methods: null,
  url: null
)
```

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ory-oathkeeper-client-0.38.14.beta1 docs/SwaggerRuleMatch.md
ory-oathkeeper-client-0.38.12.beta1 docs/SwaggerRuleMatch.md
ory-oathkeeper-client-0.38.11.beta1 docs/SwaggerRuleMatch.md
ory-oathkeeper-client-0.38.10.beta2 docs/SwaggerRuleMatch.md
ory-oathkeeper-client-0.38.9.beta1 docs/SwaggerRuleMatch.md