XPOSecurityAdapterHelper.GetXpoCachedRequestSecurityAdapters() Method

Returns the list of all available Security Adapter Providers for XPO.

Namespace: DevExpress.ExpressApp.Security.Xpo.Adapters

Assembly: DevExpress.ExpressApp.Security.Xpo.v18.1.dll

Syntax

public static IEnumerable<ISecurityAdapterProvider> GetXpoCachedRequestSecurityAdapters()

Returns

Type Description
System.Collections.Generic.IEnumerable<DevExpress.ExpressApp.Security.Adapters.ISecurityAdapterProvider>

An IEnumerable<ISecurityAdapterProvider> list of Security Adapter Providers.

You can enable all available XPO adapters at once using the GetXpoCachedRequestSecurityAdapters helper method.

using DevExpress.ExpressApp.Security.Adapters;
using DevExpress.ExpressApp.Security.Xpo.Adapters;
// ...
IsGrantedAdapter.Enable(XPOSecurityAdapterHelper.GetXpoCachedRequestSecurityAdapters());