Try our conversational search powered by Generative AI!

Delegate SiteSecurity.SiteSecretDelegate

Use to iterate over site secrets

Namespace: EPiServer.Security
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public delegate void SiteSecretDelegate(string siteId, byte[] siteSecret);
Parameters
Type Name Description
System.String siteId

The siteId that the site secret belongs to

System.Byte[] siteSecret

The actual site secret which is highly sensitive data

Constructors

SiteSecretDelegate(Object, IntPtr)

Declaration
public SiteSecretDelegate(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(String, Byte[], AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(string siteId, byte[] siteSecret, AsyncCallback callback, object object)
Parameters
Type Name Description
System.String siteId
System.Byte[] siteSecret
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result

Invoke(String, Byte[])

Declaration
public virtual void Invoke(string siteId, byte[] siteSecret)
Parameters
Type Name Description
System.String siteId
System.Byte[] siteSecret

Extension Methods