Interface ITenantResolverStrategy
This interface defines a minimum implementation for a tenant resolver strategy class.
Namespace: Talegen.AspNetCore.Multitenant
Assembly: Talegen.AspNetCore.Multitenant.dll
Syntax
public interface ITenantResolverStrategy
Methods
| Improve this Doc View SourceGetTenantIdentifierAsync(HttpContext)
Gets the tenant identifier from the request.
Declaration
Task<string> GetTenantIdentifierAsync(HttpContext context)
Parameters
Type | Name | Description |
---|---|---|
HttpContext | context | The context. |
Returns
Type | Description |
---|---|
Task<System.String> | Returns the tenant identifier if found. |