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

## IResourceManager Interface

Looks up [ResourceDefinition](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Constants.ResourceDefinition 'Abblix\.Oidc\.Server\.Common\.Constants\.ResourceDefinition') entries registered for the authorization server,
supporting validation of the `resource` parameter defined by RFC 8707 \(Resource Indicators
for OAuth 2\.0\) at the authorization, token, and PAR endpoints\.

```csharp
public interface IResourceManager
```

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

### Remarks
Acts as the registry that decides whether a requested resource URI corresponds to an audience
the server is willing to mint tokens for, and which scopes that resource accepts\.
### Methods

## IResourceManager\.TryGet\(Uri, ResourceDefinition\) Method {#Abblix.Oidc.Server.Features.ResourceIndicators.IResourceManager.TryGet(System.Uri,Abblix.Oidc.Server.Common.Constants.ResourceDefinition)}

Attempts to retrieve the resource definition associated with the specified URI\.

```csharp
bool TryGet(System.Uri resource, out Abblix.Oidc.Server.Common.Constants.ResourceDefinition definition);
```
#### Parameters

###### `resource` [System\.Uri](https://learn.microsoft.com/en-us/dotnet/api/system.uri 'System\.Uri') {#Abblix.Oidc.Server.Features.ResourceIndicators.IResourceManager.TryGet(System.Uri,Abblix.Oidc.Server.Common.Constants.ResourceDefinition).resource}

The URI identifying the resource for which the definition is requested\.

###### `definition` [ResourceDefinition](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Constants.ResourceDefinition 'Abblix\.Oidc\.Server\.Common\.Constants\.ResourceDefinition') {#Abblix.Oidc.Server.Features.ResourceIndicators.IResourceManager.TryGet(System.Uri,Abblix.Oidc.Server.Common.Constants.ResourceDefinition).definition}

When this method returns, contains the resource definition associated with
            the specified URI, if the resource is found; otherwise, null\. This parameter is passed uninitialized\.

#### Returns
[System\.Boolean](https://learn.microsoft.com/en-us/dotnet/api/system.boolean 'System\.Boolean')  
`true` if the resource definition is found; otherwise, `false`\.
