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.0.0.alpha58 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha57 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha56 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha55 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha54 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha53 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha52 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha51 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha50 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha49 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha48 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha47 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha46 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha45 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha44 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha43 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha42 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha41 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha40 docs/RuleMatch.md
ory-oathkeeper-client-0.0.0.alpha38 docs/RuleMatch.md