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

## AuthorizedGrant Class

Represents the successful result of an authorized grant operation

```csharp
public sealed class AuthorizedGrant : Google.Protobuf.IMessage<Abblix.Oidc.Server.Features.Storages.Proto.AuthorizedGrant>, Google.Protobuf.IMessage, System.IEquatable<Abblix.Oidc.Server.Features.Storages.Proto.AuthorizedGrant>, Google.Protobuf.IDeepCloneable<Abblix.Oidc.Server.Features.Storages.Proto.AuthorizedGrant>, Google.Protobuf.IBufferMessage
```

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

Implements [Google\.Protobuf\.IMessage&lt;](https://learn.microsoft.com/en-us/dotnet/api/google.protobuf.imessage-1 'Google\.Protobuf\.IMessage\`1')[AuthorizedGrant](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.Storages.Proto.AuthorizedGrant 'Abblix\.Oidc\.Server\.Features\.Storages\.Proto\.AuthorizedGrant')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/google.protobuf.imessage-1 'Google\.Protobuf\.IMessage\`1'), [Google\.Protobuf\.IMessage](https://learn.microsoft.com/en-us/dotnet/api/google.protobuf.imessage 'Google\.Protobuf\.IMessage'), [System\.IEquatable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')[AuthorizedGrant](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.Storages.Proto.AuthorizedGrant 'Abblix\.Oidc\.Server\.Features\.Storages\.Proto\.AuthorizedGrant')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1'), [Google\.Protobuf\.IDeepCloneable&lt;](https://learn.microsoft.com/en-us/dotnet/api/google.protobuf.ideepcloneable-1 'Google\.Protobuf\.IDeepCloneable\`1')[AuthorizedGrant](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.Storages.Proto.AuthorizedGrant 'Abblix\.Oidc\.Server\.Features\.Storages\.Proto\.AuthorizedGrant')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/google.protobuf.ideepcloneable-1 'Google\.Protobuf\.IDeepCloneable\`1'), [Google\.Protobuf\.IBufferMessage](https://learn.microsoft.com/en-us/dotnet/api/google.protobuf.ibuffermessage 'Google\.Protobuf\.IBufferMessage')
### Fields

## AuthorizedGrant\.AuthSessionFieldNumber Field {#Abblix.Oidc.Server.Features.Storages.Proto.AuthorizedGrant.AuthSessionFieldNumber}

Field number for the "auth\_session" field\.

```csharp
public const int AuthSessionFieldNumber = 1;
```

#### Field Value
[System\.Int32](https://learn.microsoft.com/en-us/dotnet/api/system.int32 'System\.Int32')

## AuthorizedGrant\.ContextFieldNumber Field {#Abblix.Oidc.Server.Features.Storages.Proto.AuthorizedGrant.ContextFieldNumber}

Field number for the "context" field\.

```csharp
public const int ContextFieldNumber = 2;
```

#### Field Value
[System\.Int32](https://learn.microsoft.com/en-us/dotnet/api/system.int32 'System\.Int32')

## AuthorizedGrant\.IssuedTokensFieldNumber Field {#Abblix.Oidc.Server.Features.Storages.Proto.AuthorizedGrant.IssuedTokensFieldNumber}

Field number for the "issued\_tokens" field\.

```csharp
public const int IssuedTokensFieldNumber = 3;
```

#### Field Value
[System\.Int32](https://learn.microsoft.com/en-us/dotnet/api/system.int32 'System\.Int32')
### Properties

## AuthorizedGrant\.AuthSession Property {#Abblix.Oidc.Server.Features.Storages.Proto.AuthorizedGrant.AuthSession}

The authentication session associated with the grant

```csharp
public Abblix.Oidc.Server.Features.Storages.Proto.AuthSession AuthSession { get; set; }
```

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

## AuthorizedGrant\.Context Property {#Abblix.Oidc.Server.Features.Storages.Proto.AuthorizedGrant.Context}

The context of the authorization process

```csharp
public Abblix.Oidc.Server.Features.Storages.Proto.AuthorizationContext Context { get; set; }
```

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

## AuthorizedGrant\.IssuedTokens Property {#Abblix.Oidc.Server.Features.Storages.Proto.AuthorizedGrant.IssuedTokens}

Tokens that have been issued as part of this grant

```csharp
public Google.Protobuf.Collections.RepeatedField<Abblix.Oidc.Server.Features.Storages.Proto.TokenInfo> IssuedTokens { get; }
```

#### Property Value
[Google\.Protobuf\.Collections\.RepeatedField&lt;](https://learn.microsoft.com/en-us/dotnet/api/google.protobuf.collections.repeatedfield-1 'Google\.Protobuf\.Collections\.RepeatedField\`1')[TokenInfo](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Features.Storages.Proto.TokenInfo 'Abblix\.Oidc\.Server\.Features\.Storages\.Proto\.TokenInfo')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/google.protobuf.collections.repeatedfield-1 'Google\.Protobuf\.Collections\.RepeatedField\`1')
