# Google.Apis.Auth

**Kind:** Service

**Source:** `Pams/Logic/Pams.Storage/Pams.Storage.csproj` (line 1)

**Part of:** [Pams](subsystem-pams)

NuGet package dependency

`Google.Apis.Auth` is a NuGet package dependency declared by `Pams.Storage.csproj`. It supports Google authentication flows used by storage-layer code when accessing Google APIs or services that require authenticated requests.

## Diagram

```mermaid
sequenceDiagram
    participant Build as Build Tool
    participant Project as Pams.Storage.csproj
    participant NuGet as NuGet Feed
    participant Auth as Google.Apis.Auth

    Build->>Project: Read package references
    Project->>NuGet: Restore Google.Apis.Auth
    NuGet-->>Project: Download package
    Project->>Auth: Reference authentication types
```

## Usage

```typescript
import { execFileSync } from "node:child_process";

execFileSync(
  "dotnet",
  ["restore", "Pams/Logic/Pams.Storage/Pams.Storage.csproj"],
  { stdio: "inherit" },
);

execFileSync(
  "dotnet",
  ["build", "Pams/Logic/Pams.Storage/Pams.Storage.csproj"],
  { stdio: "inherit" },
);
```

## AI Coding Instructions

- Keep `Google.Apis.Auth` referenced through `Pams.Storage.csproj`; do not add it as a JavaScript package dependency.
- Restore NuGet packages before building code that references Google authentication types.
- Keep Google credential creation and token handling inside the storage-layer integration code.
- Check package-reference changes against the target framework and other NuGet dependencies in the project.

## 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
