A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Interface ISiteSecretManager

Manages all ISiteSecrets registered for this installation.

Namespace: EPiServer.Framework.Security
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
public interface ISiteSecretManager

Methods

GetSecret(String)

Gets the site secret for a specific site.

Declaration
ISiteSecret GetSecret(string siteId)
Parameters
Type Name Description
System.String siteId

The identity of the site

Returns
Type Description
ISiteSecret

List()

Lists all registered site secrets.

Declaration
IEnumerable<ISiteSecret> List()
Returns
Type Description
System.Collections.Generic.IEnumerable<ISiteSecret>

Extension Methods