#### [Abblix\.Oidc\.Server](https://www.abblix.com/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Features\.MultiTenancy](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy 'Abblix\.Oidc\.Server\.Features\.MultiTenancy')

## ITenantAccessor Interface

Gives the tenant the current request was resolved to\.

```csharp
public interface ITenantAccessor
```

Derived  
↳ [AmbientTenantAccessor](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.AmbientTenantAccessor 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.AmbientTenantAccessor')

### Remarks
Read on every call rather than captured, so a singleton holding it sees the tenant of whichever request is
running \- the way [IRequestInfoProvider](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Interfaces.IRequestInfoProvider 'Abblix\.Oidc\.Server\.Common\.Interfaces\.IRequestInfoProvider') gives that request's address\.
### Properties

## ITenantAccessor\.Current Property {#Abblix.Oidc.Server.Features.MultiTenancy.ITenantAccessor.Current}

The current request's tenant, or null when the request was not resolved to one\.

```csharp
Abblix.Oidc.Server.Features.MultiTenancy.TenantContext? Current { get; }
```

#### Property Value
[TenantContext](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.TenantContext 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantContext')
