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

## AbsoluteUriAttribute Class

Marks a [System\.Uri](https://learn.microsoft.com/en-us/dotnet/api/system.uri 'System\.Uri')\-typed property, field, or parameter as having to be an absolute URI\.
Relative URIs and values that do not parse as absolute are treated as invalid by validators that
honor this attribute; null values are not flagged here, leave that to [System\.ComponentModel\.DataAnnotations\.RequiredAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations.requiredattribute 'System\.ComponentModel\.DataAnnotations\.RequiredAttribute')\.

```csharp
public class AbsoluteUriAttribute : System.Attribute
```

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

## AbsoluteUriAttribute\(string\) Constructor {#Abblix.Oidc.Server.DeclarativeBinding.AbsoluteUriAttribute.AbsoluteUriAttribute(string)}

Creates an [AbsoluteUriAttribute](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.DeclarativeBinding.AbsoluteUriAttribute 'Abblix\.Oidc\.Server\.DeclarativeBinding\.AbsoluteUriAttribute') optionally constrained to a specific scheme\.

```csharp
public AbsoluteUriAttribute(string? requireScheme=null);
```
#### Parameters

###### `requireScheme` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.DeclarativeBinding.AbsoluteUriAttribute.AbsoluteUriAttribute(string).requireScheme}

When provided, validation additionally requires the URI scheme \(e\.g\. "https"\) to match this value\.
### Properties

## AbsoluteUriAttribute\.RequireScheme Property {#Abblix.Oidc.Server.DeclarativeBinding.AbsoluteUriAttribute.RequireScheme}

The required URI scheme \(e\.g\. "https"\), or `null` when any scheme is acceptable
as long as the URI is absolute\.

```csharp
public string? RequireScheme { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')
