Kind: Service
Source: Pams/Logic/Pams.Storage/Pams.Storage.csproj (line 1)
Part of: Pams
NuGet package dependency
Google.Apis.Auth.PlatformServices is a NuGet package dependency declared by Pams.Storage. It supplies platform-specific support required by Google API authentication components used by storage-side integrations.
Diagram
mermaidsequenceDiagram participant Storage as Pams.Storage participant Auth as Google.Apis.Auth.PlatformServices participant Google as Google API Storage->>Auth: Initialize Google authentication support Auth->>Google: Request authenticated API access Google-->>Auth: Return authentication response Auth-->>Storage: Provide authenticated client support
Usage
ts// Google authentication is handled by the Pams.Storage backend.
// Call the backend endpoint that performs the authenticated storage operation.
async function getStoredDocument(documentId: string) {
const response = await fetch(`/api/storage/documents/${documentId}`);
if (!response.ok) {
throw new Error("Unable to retrieve the stored document.");
}
return response.json();
}
const document = await getStoredDocument("example-document");
console.log(document);
AI Coding Instructions
- Keep
Google.Apis.Auth.PlatformServicesdeclared as a NuGet dependency inPams.Storage.csproj. - Treat Google authentication setup as server-side code; do not expose credentials or tokens to browser clients.
- Check compatibility with the Google API client packages referenced by
Pams.Storagebefore changing package versions. - Route client storage requests through the backend APIs that use the authenticated Google integration.
Used by
1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.
Injected or called by (1)
Pams.Storage—Pams/Logic/Pams.Storage/Pams.Storage.csproj:1
Was this page helpful?