Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Interface ISiteSecretManager

Manages all ISiteSecrets registered for this installation.

Namespace: EPiServer.Framework.Security
Assembly: EPiServer.Framework.dll
Version: 12.0.3
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