Sha256: 1c2e73ce586315563d33fcf0fe08063879a3dda73872d6df82425b23f9624c35

Contents?: true

Size: 1.44 KB

Versions: 40

Compression:

Stored size: 1.44 KB

Contents

# OryOathkeeperClient::RuleMatch

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

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
ory-oathkeeper-client-0.40.8 docs/RuleMatch.md
ory-oathkeeper-client-0.40.6 docs/RuleMatch.md
ory-oathkeeper-client-0.40.5 docs/RuleMatch.md
ory-oathkeeper-client-0.40.4 docs/RuleMatch.md
ory-oathkeeper-client-0.40.2 docs/RuleMatch.md
ory-oathkeeper-client-0.39.4 docs/RuleMatch.md
ory-oathkeeper-client-0.39.2 docs/RuleMatch.md
ory-oathkeeper-client-0.39.0 docs/RuleMatch.md
ory-oathkeeper-client-0.38.25.beta1 docs/RuleMatch.md
ory-oathkeeper-client-0.38.24.beta1 docs/RuleMatch.md
ory-oathkeeper-client-0.38.23.beta1 docs/RuleMatch.md
ory-oathkeeper-client-0.38.22.beta1 docs/RuleMatch.md
ory-oathkeeper-client-0.38.20.beta1 docs/RuleMatch.md
ory-oathkeeper-client-0.38.19.beta1 docs/RuleMatch.md
ory-oathkeeper-client-0.38.18.beta1 docs/RuleMatch.md
ory-oathkeeper-client-0.38.17.beta1 docs/RuleMatch.md
ory-oathkeeper-client-0.38.15.beta1 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha62 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha60 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha59 docs/RuleMatch.md