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.2.dll

Declaration

public static IEnumerable<ISecurityAdapterProvider> GetXpoCachedRequestSecurityAdapters()
Public Shared Function GetXpoCachedRequestSecurityAdapters As IEnumerable(Of ISecurityAdapterProvider)

Returns

Type Description
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());

See Also