Skip to content

Commit

Permalink
Add xFrameOptions configure option and deprecate xFrameOptionAllowFrom (
Browse files Browse the repository at this point in the history
#510)

Added XFrameOptions
  • Loading branch information
Ali Almaktoum committed Mar 6, 2020
1 parent abcebd9 commit 2448148
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5234,8 +5234,10 @@ Octopus.Client.Model
class XOptionsResource
{
static System.String XFrameAllowFromDescription
static System.String XFrameOptionsDescription
.ctor()
String XFrameOptionAllowFrom { get; set; }
String XFrameOptions { get; set; }
}
}
Octopus.Client.Model.Accounts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5258,8 +5258,10 @@ Octopus.Client.Model
class XOptionsResource
{
static System.String XFrameAllowFromDescription
static System.String XFrameOptionsDescription
.ctor()
String XFrameOptionAllowFrom { get; set; }
String XFrameOptions { get; set; }
}
}
Octopus.Client.Model.Accounts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,14 @@ public class WebPortalSecurityResource

public class XOptionsResource
{
public const string XFrameAllowFromDescription = "A uri to provide in the X-Frame-Option http header in conjunction with the ALLOW-FROM value.";
public const string XFrameAllowFromDescription = "(Deprecated) A uri to provide in the X-Frame-Option http header in conjunction with the ALLOW-FROM value.";
public const string XFrameOptionsDescription = "Provide in the X-Frame-Option http header a directive such as sameorigin or deny.";


[Writeable]
public string XFrameOptionAllowFrom { get; set; }

[Writeable]
public string XFrameOptions { get; set; }
}
}

0 comments on commit 2448148

Please sign in to comment.