-
Notifications
You must be signed in to change notification settings - Fork 180
/
CorsRule.yml
89 lines (89 loc) · 2.96 KB
/
CorsRule.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
### YamlMime:TSType
name: CorsRule
uid: '@azure/storage-file-share.CorsRule'
package: '@azure/storage-file-share'
summary: >-
CORS is an HTTP feature that enables a web application running under one
domain to access resources in another domain. Web browsers implement a
security restriction known as same-origin policy that prevents a web page from
calling APIs in a different domain; CORS provides a secure way to allow one
domain (the origin domain) to call APIs in another domain.
fullName: CorsRule
remarks: ''
isDeprecated: false
type: interface
properties:
- name: allowedHeaders
uid: '@azure/storage-file-share.CorsRule.allowedHeaders'
package: '@azure/storage-file-share'
summary: >-
The request headers that the origin domain may specify on the CORS
request.
fullName: allowedHeaders
remarks: ''
isDeprecated: false
syntax:
content: 'allowedHeaders: string'
return:
description: ''
type: string
- name: allowedMethods
uid: '@azure/storage-file-share.CorsRule.allowedMethods'
package: '@azure/storage-file-share'
summary: >-
The methods (HTTP request verbs) that the origin domain may use for a CORS
request. (comma separated)
fullName: allowedMethods
remarks: ''
isDeprecated: false
syntax:
content: 'allowedMethods: string'
return:
description: ''
type: string
- name: allowedOrigins
uid: '@azure/storage-file-share.CorsRule.allowedOrigins'
package: '@azure/storage-file-share'
summary: >-
The origin domains that are permitted to make a request against the
storage service via CORS. The origin domain is the domain from which the
request originates. Note that the origin must be an exact case-sensitive
match with the origin that the user age sends to the service. You can also
use the wildcard character '*' to allow all origin domains to make
requests via CORS.
fullName: allowedOrigins
remarks: ''
isDeprecated: false
syntax:
content: 'allowedOrigins: string'
return:
description: ''
type: string
- name: exposedHeaders
uid: '@azure/storage-file-share.CorsRule.exposedHeaders'
package: '@azure/storage-file-share'
summary: >-
The response headers that may be sent in the response to the CORS request
and exposed by the browser to the request issuer.
fullName: exposedHeaders
remarks: ''
isDeprecated: false
syntax:
content: 'exposedHeaders: string'
return:
description: ''
type: string
- name: maxAgeInSeconds
uid: '@azure/storage-file-share.CorsRule.maxAgeInSeconds'
package: '@azure/storage-file-share'
summary: >-
The maximum amount time that a browser should cache the preflight OPTIONS
request.
fullName: maxAgeInSeconds
remarks: ''
isDeprecated: false
syntax:
content: 'maxAgeInSeconds: number'
return:
description: ''
type: number