CredCheck Class

Warning

This is not a stable API. It may be removed, extended, or altered with little or no notice.

Note

This class – the CredCheck result – is intended to support expert users migrating from version 1 of the HTCondor Python bindings.

class htcondor2.CredCheck(services, url_or_error)
property error

A message from the CredD when the Creds were not present and a URL could not be created to acquire them.

property present

True if the necessary tokens are present in the CredD, or if there are no necessary tokens. False if the necessary tokens are not present. If False, either the url attribute or the error attribute will be non-empty.

property services

The list of services that were requested, as a comma separated list. This will be the same as the job ClassAd attribute OAuthServicesNeeded.

property url

The URL to visit to acquire the necessary tokens, if any.