Supported credential types. This represents the various types of authentication methods supported by the library.
| 263 | |
| 264 | |
| 265 | class CredentialType(IntFlag): |
| 266 | """ |
| 267 | Supported credential types. This represents the various types of |
| 268 | authentication methods supported by the library. |
| 269 | """ |
| 270 | |
| 271 | USERPASS_PLAINTEXT = C.GIT_CREDENTIAL_USERPASS_PLAINTEXT |
| 272 | 'A vanilla user/password request' |
| 273 | |
| 274 | SSH_KEY = C.GIT_CREDENTIAL_SSH_KEY |
| 275 | 'An SSH key-based authentication request' |
| 276 | |
| 277 | SSH_CUSTOM = C.GIT_CREDENTIAL_SSH_CUSTOM |
| 278 | 'An SSH key-based authentication request, with a custom signature' |
| 279 | |
| 280 | DEFAULT = C.GIT_CREDENTIAL_DEFAULT |
| 281 | 'An NTLM/Negotiate-based authentication request.' |
| 282 | |
| 283 | SSH_INTERACTIVE = C.GIT_CREDENTIAL_SSH_INTERACTIVE |
| 284 | 'An SSH interactive authentication request.' |
| 285 | |
| 286 | USERNAME = C.GIT_CREDENTIAL_USERNAME |
| 287 | """ |
| 288 | Username-only authentication request. |
| 289 | Used as a pre-authentication step if the underlying transport (eg. SSH, |
| 290 | with no username in its URL) does not know which username to use. |
| 291 | """ |
| 292 | |
| 293 | SSH_MEMORY = C.GIT_CREDENTIAL_SSH_MEMORY |
| 294 | """ |
| 295 | An SSH key-based authentication request. |
| 296 | Allows credentials to be read from memory instead of files. |
| 297 | Note that because of differences in crypto backend support, it might |
| 298 | not be functional. |
| 299 | """ |
| 300 | |
| 301 | |
| 302 | class DeltaStatus(IntEnum): |
no outgoing calls
no test coverage detected
searching dependent graphs…