Skip to content
Documentation

ResourceFactoryExtensions Class

Extension methods for creating IResource objects. Used for authorization.

public static class ResourceFactoryExtensions

Inheritance System.Object 🡒 ResourceFactoryExtensions

ResourceFactoryExtensions.NODE_RESOURCE_TYPE Field

Section titled “ResourceFactoryExtensions.NODE_RESOURCE_TYPE Field”

A constant used for the creation of node resources.

public const string NODE_RESOURCE_TYPE = "Node";

System.String

ResourceFactoryExtensions.NodeResource(this IResourceFactory) Method

Section titled “ResourceFactoryExtensions.NodeResource(this IResourceFactory) Method”

Creates a new node IResource.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource NodeResource(this HAKOM.Security.Core.Net.Api.Authorization.IResourceFactory resourceFactory);

resourceFactory IResourceFactory

The IResourceFactory used to create the IResource.

IResource
The newly created IResource with its Type equal to NODE_RESOURCE_TYPE.

ResourceFactoryExtensions.NodeResource(this IResourceFactory, IStorageProvider) Method

Section titled “ResourceFactoryExtensions.NodeResource(this IResourceFactory, IStorageProvider) Method”

Creates a new node IResource.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource NodeResource(this HAKOM.Security.Core.Net.Api.Authorization.IResourceFactory resourceFactory, HAKOM.Persistence.Core.Net.Api.Storage.IStorageProvider storageProvider);

resourceFactory IResourceFactory

The IResourceFactory used to create the IResource.

storageProvider IStorageProvider

The IStorageProvider used to access the resource.

IResource
The newly created IResource with its Type equal to NODE_RESOURCE_TYPE.

ResourceFactoryExtensions.NodeResource(this IResourceFactory, IStorageProvider, string) Method

Section titled “ResourceFactoryExtensions.NodeResource(this IResourceFactory, IStorageProvider, string) Method”

Creates a new node IResource with the given identifier.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource NodeResource(this HAKOM.Security.Core.Net.Api.Authorization.IResourceFactory resourceFactory, HAKOM.Persistence.Core.Net.Api.Storage.IStorageProvider storageProvider, string identifier);

resourceFactory IResourceFactory

The IResourceFactory used to create the IResource.

storageProvider IStorageProvider

The IStorageProvider used to access the resource.

identifier System.String

The System.String identifier used in the creation.

IResource
The newly created IResource with its Type equal to NODE_RESOURCE_TYPE and its Identifier equal to the given identifier.

ResourceFactoryExtensions.NodeResource(this IResourceFactory, string) Method

Section titled “ResourceFactoryExtensions.NodeResource(this IResourceFactory, string) Method”

Creates a new node IResource with the given identifier.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource NodeResource(this HAKOM.Security.Core.Net.Api.Authorization.IResourceFactory resourceFactory, string identifier);

resourceFactory IResourceFactory

The IResourceFactory used to create the IResource.

identifier System.String

The System.String identifier used in the creation.

IResource
The newly created IResource with its Type equal to NODE_RESOURCE_TYPE and its Identifier equal to the given identifier.

© 2026 Volue.Version v0.6.38017 November 2026