World is now on Opti ID! Learn more

Interface ISiteSecretManager

Manages all ISiteSecrets registered for this installation.

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