Class XsrfHelper
Helper class to update/parse XSRF Paths and store/update the user preference.
Inherited Members
Namespace: SuperOffice.CRM
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class XsrfHelper
Constructors
XsrfHelper()
Helper class to update/parse XSRF Paths and store/update the user preference.
Declaration
public XsrfHelper()
Methods
GetXsrfPathsAsync(string, CancellationToken)
Helper class to update/parse XSRF Paths and store/update the user preference.
Declaration
public static Task<string[]> GetXsrfPathsAsync(string hostname, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | hostname | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<string[]> |
SetXsrfPathsAsync(string, string[], CancellationToken)
Helper class to update/parse XSRF Paths and store/update the user preference.
Declaration
public static Task SetXsrfPathsAsync(string hostname, string[] paths, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | hostname | |
string[] | paths | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |