MCPcopy Create free account
hub / github.com/libgit2/pygit2 / CredentialType

Class CredentialType

pygit2/enums.py:265–299  ·  view source on GitHub ↗

Supported credential types. This represents the various types of authentication methods supported by the library.

Source from the content-addressed store, hash-verified

263
264
265class 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
302class DeltaStatus(IntEnum):

Callers 1

_credentials_cbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…