Sha256: 422959c524d7cf96203ce7df2992453756ff40748c962ebeeb56303b0ef0cace

Contents?: true

Size: 565 Bytes

Versions: 20

Compression:

Stored size: 565 Bytes

Contents

# OryClient::CORS

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **enabled** | **Boolean** | Whether CORS is enabled for this endpoint. |  |
| **origins** | **Array<String>** | The allowed origins. Use `*` to allow all origins. A wildcard can also be used in the subdomain, i.e. `https://*.example.com` will allow all origins on all subdomains of `example.com`. |  |

## Example

```ruby
require 'ory-client'

instance = OryClient::CORS.new(
  enabled: null,
  origins: null
)
```

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ory-client-1.2.11 docs/CORS.md
ory-client-1.2.10 docs/CORS.md
ory-client-1.2.9 docs/CORS.md
ory-client-1.2.8 docs/CORS.md
ory-client-1.2.7 docs/CORS.md
ory-client-1.2.6 docs/CORS.md
ory-client-1.2.5 docs/CORS.md
ory-client-1.2.4 docs/CORS.md
ory-client-1.2.3 docs/CORS.md
ory-client-1.2.2 docs/CORS.md
ory-client-1.2.1 docs/CORS.md
ory-client-1.2.0 docs/CORS.md
ory-client-1.1.51 docs/CORS.md
ory-client-1.1.50 docs/CORS.md
ory-client-1.1.49 docs/CORS.md
ory-client-1.1.48 docs/CORS.md
ory-client-1.1.47 docs/CORS.md
ory-client-1.1.46 docs/CORS.md
ory-client-1.1.45 docs/CORS.md
ory-client-1.1.44 docs/CORS.md