Set the HTTP methods to allow, e.g. "GET", "POST", etc.The special value "*"
allows all methods.
Set the origins to allow, e.g. "http://domain1.com".The special value "*" allows
Set the list of headers that a pre-flight request can list as allowed for use
during an actual reque
Create a new CorsRegistration that allows all origins, headers, and credentials
for GET, HEAD, and P
Whether user credentials are supported.By default this is set to true in which
case user credentials
Set the list of response headers other than "simple" headers, i.e.
Configure how long in seconds the response from a pre-flight request can be
cached by clients.By def