Table of Contents

Class GoogleOAuthOptions

Namespace
Builvero.Application.Options
Assembly
Builvero.Application.dll

Configuration options for Google OAuth authentication.

public sealed class GoogleOAuthOptions
Inheritance
GoogleOAuthOptions
Inherited Members

Remarks

These credentials are obtained from the Google Cloud Console (APIs & Services > Credentials). The OAuth 2.0 Client ID and Client Secret are required to enable Google sign-in.

Properties

ClientId

Gets or sets the Google OAuth 2.0 Client ID.

public string ClientId { get; init; }

Property Value

string
Configuration options for Google OAuth authentication.

Remarks

This is the OAuth 2.0 Client ID obtained from Google Cloud Console. Typically in the format: "123456789-abcdefghijklmnop.apps.googleusercontent.com"

ClientSecret

Gets or sets the Google OAuth 2.0 Client Secret.

public string ClientSecret { get; init; }

Property Value

string
Configuration options for Google OAuth authentication.

Remarks

This is the OAuth 2.0 Client Secret obtained from Google Cloud Console. Should be kept secure and not committed to source control. Use environment variables or secure configuration management in production.