Class EndpointServiceCollectionExtensions
public static class EndpointServiceCollectionExtensions
- Inheritance
-
EndpointServiceCollectionExtensions
- Inherited Members
Methods
AddTheEndpoint(IServiceCollection)
Provides the services required for MapTheFramework() to add RPC endpoints.
public static IServiceCollection AddTheEndpoint(this IServiceCollection source)
Parameters
sourceIServiceCollection
Returns
AddTheEndpoint(IServiceCollection, Func<IServiceProvider, IAuthentication>)
Provides the services required for MapTheFramework() to add RPC endpoints.
public static IServiceCollection AddTheEndpoint(this IServiceCollection source, Func<IServiceProvider, IAuthentication> getAuthentication)
Parameters
sourceIServiceCollectiongetAuthenticationFunc<IServiceProvider, IAuthentication>
Returns
AddTheEndpoint(IServiceCollection, string)
Provides the services required for MapTheFramework() to add RPC endpoints.
public static IServiceCollection AddTheEndpoint(this IServiceCollection source, string sharedSecret)
Parameters
sourceIServiceCollectionsharedSecretstring
Returns
AddTheEndpoint(IServiceCollection, IAuthentication)
Provides the services required for MapTheFramework() to add RPC endpoints.
public static IServiceCollection AddTheEndpoint(this IServiceCollection source, IAuthentication authentication)
Parameters
sourceIServiceCollectionauthenticationIAuthentication
Returns
AddTheEndpointCore(IServiceCollection, Func<IServiceProvider, IEndpoint>)
public static IServiceCollection AddTheEndpointCore(this IServiceCollection source, Func<IServiceProvider, IEndpoint> provide)
Parameters
sourceIServiceCollectionprovideFunc<IServiceProvider, IEndpoint>
Returns
AddTheEndpointCore(IServiceCollection, Func<IServiceProvider, RPCOptions, IEndpoint>)
public static IServiceCollection AddTheEndpointCore(this IServiceCollection source, Func<IServiceProvider, RPCOptions, IEndpoint> provide)
Parameters
sourceIServiceCollectionprovideFunc<IServiceProvider, RPCOptions, IEndpoint>
Returns
AddTheNamedEndpoint(IServiceCollection, string)
Provides the services required for MapTheFramework() to add an extra endpoint using a named framework instance.
public static IServiceCollection AddTheNamedEndpoint(this IServiceCollection source, string name)
Parameters
sourceIServiceCollectionnamestring
Returns
AddTheNamedEndpoint(IServiceCollection, string, Func<IServiceProvider, object?, IAuthentication>)
Provides the services required for MapTheFramework() to add an extra endpoint using a named framework instance.
public static IServiceCollection AddTheNamedEndpoint(this IServiceCollection source, string name, Func<IServiceProvider, object?, IAuthentication> getAuthentication)
Parameters
sourceIServiceCollectionnamestringgetAuthenticationFunc<IServiceProvider, object, IAuthentication>
Returns
AddTheNamedEndpoint(IServiceCollection, string, string)
Provides the services required for MapTheFramework() to add an extra endpoint using a named framework instance.
public static IServiceCollection AddTheNamedEndpoint(this IServiceCollection source, string name, string sharedSecret)
Parameters
sourceIServiceCollectionnamestringsharedSecretstring
Returns
AddTheNamedEndpoint(IServiceCollection, string, IAuthentication)
Provides the services required for MapTheFramework() to add an extra endpoint using a named framework instance.
public static IServiceCollection AddTheNamedEndpoint(this IServiceCollection source, string name, IAuthentication authentication)
Parameters
sourceIServiceCollectionnamestringauthenticationIAuthentication
Returns
AddTheNamedEndpointCore(IServiceCollection, string, Func<IServiceProvider, object?, IEndpoint>)
public static IServiceCollection AddTheNamedEndpointCore(this IServiceCollection source, string name, Func<IServiceProvider, object?, IEndpoint> provide)
Parameters
sourceIServiceCollectionnamestringprovideFunc<IServiceProvider, object, IEndpoint>
Returns
AddTheNamedEndpointCore(IServiceCollection, string, Func<IServiceProvider, object?, RPCOptions, IEndpoint>)
public static IServiceCollection AddTheNamedEndpointCore(this IServiceCollection source, string name, Func<IServiceProvider, object?, RPCOptions, IEndpoint> provide)
Parameters
sourceIServiceCollectionnamestringprovideFunc<IServiceProvider, object, RPCOptions, IEndpoint>
Returns
AddTheProxyEndpoint(IServiceCollection, string, string?)
Provides the services required for MapTheFramework() to proxy RPCs to a server through the WebEndpoint HTTP client, vouching for each caller's ASP.NET Core identity with a shared secret.
public static IServiceCollection AddTheProxyEndpoint(this IServiceCollection source, string sharedSecret, string? name = null)
Parameters
sourceIServiceCollectionsharedSecretstringnamestring
Returns
Remarks
Register the server's endpoint with an EndpointSignedAuthentication that checks the same secret. Procedures registered as Procedure services are proxied along with WellKnownProcedures.