#### [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')

## AmbientTenantAccessor Class

The tenant of the innermost [TenantScope](https://www.abblix.com/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.MultiTenancy.TenantScope 'Abblix\.Oidc\.Server\.Features\.MultiTenancy\.TenantScope') entered, for a server composed without a web host; a web
host's transport replaces it with one that also reads the tenant the request was resolved to\.

```csharp
public sealed class AmbientTenantAccessor : Abblix.Oidc.Server.Features.MultiTenancy.ITenantAccessor
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → AmbientTenantAccessor

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

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

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

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

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

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