Plugin.Maui.Spine.Authentication.Google
0.1.15
dotnet add package Plugin.Maui.Spine.Authentication.Google --version 0.1.15
NuGet\Install-Package Plugin.Maui.Spine.Authentication.Google -Version 0.1.15
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Plugin.Maui.Spine.Authentication.Google" Version="0.1.15" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Plugin.Maui.Spine.Authentication.Google" Version="0.1.15" />
<PackageReference Include="Plugin.Maui.Spine.Authentication.Google" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Plugin.Maui.Spine.Authentication.Google --version 0.1.15
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Plugin.Maui.Spine.Authentication.Google, 0.1.15"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Plugin.Maui.Spine.Authentication.Google@0.1.15
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Plugin.Maui.Spine.Authentication.Google&version=0.1.15
#tool nuget:?package=Plugin.Maui.Spine.Authentication.Google&version=0.1.15
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Plugin.Maui.Spine.Authentication.Google
Sign in with Google for a Spine app, on top of Plugin.Maui.Spine.Authentication:
- Android: Credential Manager's own sheet. The ID token carries the server's nonce and goes to
POST {Server}/google/token. - iOS, Mac Catalyst, Windows: the server's broker in the system browser.
dotnet add package Plugin.Maui.Spine.Authentication.Google
builder.UseSpine(o => o.AddAuthentication(a =>
{
a.Server = new Uri("https://api.example.com/auth");
a.CallbackScheme = "se.example.app";
a.AddApple(); // App Store Review Guideline 4.8
a.AddGoogle(g => g.ServerClientId = "….apps.googleusercontent.com");
}));
Google Cloud setup
In the Google Cloud console, under APIs & Services → Credentials (with an OAuth consent screen):
- A Web application client.
- Its id is the app's
ServerClientId, and the server'sGoogle(o => { o.ClientIds.Add(id); o.WebClientId = id; o.WebClientSecret = …; }). - Its redirect URI is the server's
{PublicUrl}/google/callback, for the broker.
- Its id is the app's
- An Android client.
- It takes the app's package name and the SHA-1 of the key that signs it.
- For debug builds that key is
~/.android/debug.keystoreon a Mac (keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android). - A Play Store build is signed by Play: use Play App Signing's SHA-1.
- Without a matching Android client, Credential Manager answers with an error, not a sheet.
- The app needs
<SpineAuthenticationCallbackScheme>in its project anda.CallbackSchemefor the browser on the other platforms.
Credential Manager needs Android 6.0 and Google Play services. The emulator needs a Google Play image with a signed-in Google account.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. net10.0-ios26.0 is compatible. net10.0-maccatalyst26.0 is compatible. net10.0-windows10.0.19041 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-android36.0
- Microsoft.Maui.Controls (>= 10.0.50)
- Plugin.Maui.Spine.Authentication (>= 0.1.15)
- Xamarin.AndroidX.Credentials (>= 1.5.0.3)
- Xamarin.AndroidX.Credentials.PlayServicesAuth (>= 1.5.0.3)
- Xamarin.GoogleAndroid.Libraries.Identity.GoogleId (>= 1.1.0.11)
-
net10.0-ios26.0
- Microsoft.Maui.Controls (>= 10.0.50)
- Plugin.Maui.Spine.Authentication (>= 0.1.15)
-
net10.0-maccatalyst26.0
- Microsoft.Maui.Controls (>= 10.0.50)
- Plugin.Maui.Spine.Authentication (>= 0.1.15)
-
net10.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 10.0.50)
- Plugin.Maui.Spine.Authentication (>= 0.1.15)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.15 | 46 | 10/16/2026 |