Build an ADO basic-pat config entry.
(token_env: str = "AZURE_DEVOPS_PAT")
| 47 | |
| 48 | |
| 49 | def _ado_basic_entry(token_env: str = "AZURE_DEVOPS_PAT") -> AuthConfigEntry: |
| 50 | """Build an ADO basic-pat config entry.""" |
| 51 | return AuthConfigEntry( |
| 52 | hosts=("dev.azure.com",), |
| 53 | provider="azure-devops", |
| 54 | auth="basic-pat", |
| 55 | token_env=token_env, |
| 56 | ) |
| 57 | |
| 58 | |
| 59 | class _StubProvider(AuthProvider): |
no test coverage detected