Interface IApiAccessService
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public interface IApiAccessService
Methods
View SourceHasMediaAccess()
Retrieves information on whether or not the API currently allows access to media.
Declaration
virtual bool HasMediaAccess()
Returns
Type | Description |
---|---|
System.Boolean |
HasPreviewAccess()
Retrieves information on whether or not the API currently allows preview access.
Declaration
bool HasPreviewAccess()
Returns
Type | Description |
---|---|
System.Boolean |
HasPublicAccess()
Retrieves information on whether or not the API currently allows public access.
Declaration
bool HasPublicAccess()
Returns
Type | Description |
---|---|
System.Boolean |