# PostaGoogleOAuthOptions

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.Posta](/reference/api/csharp/communitytoolkit.aspire.hosting.posta.md)
- Version: `13.5.0`
- Namespace: `CommunityToolkit.Aspire.Hosting.Posta`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1/src/CommunityToolkit.Aspire.Hosting.Posta/PostaGoogleOAuthOptions.cs)

Parameter-based configuration options for Posta Google OAuth login.

## Definition

```csharp
namespace CommunityToolkit.Aspire.Hosting.Posta;

public sealed class PostaGoogleOAuthOptions
{
    // ...
}
```

## Constructors

- [PostaGoogleOAuthOptions](/reference/api/csharp/communitytoolkit.aspire.hosting.posta/postagoogleoauthoptions/constructors.md#constructor)

## Properties

- [CallbackUrl](/reference/api/csharp/communitytoolkit.aspire.hosting.posta/postagoogleoauthoptions/properties.md#callbackurl) : `IResourceBuilder<ParameterResource>` `get; set` -- Gets or sets the OAuth callback base URL.
- [ClientId](/reference/api/csharp/communitytoolkit.aspire.hosting.posta/postagoogleoauthoptions/properties.md#clientid) : `IResourceBuilder<ParameterResource>` `get; set` -- Gets or sets the Google OAuth client ID for SSO login.
- [ClientSecret](/reference/api/csharp/communitytoolkit.aspire.hosting.posta/postagoogleoauthoptions/properties.md#clientsecret) : `IResourceBuilder<ParameterResource>` `get; set` -- Gets or sets the Google OAuth client secret for SSO login.
