def __init__(self, auth_method, gss_deleg_creds):
        """
        :param str auth_method: The name of the SSH authentication mechanism
                                (gssapi-with-mic or gss-keyex)
        :param bool gss_deleg_creds: Delegate client credentials or not
        """
        _SSH_GSSAuth.__init__(self, auth_method, gss_deleg_creds)

        if self._gss_deleg_creds:
            self._gss_flags = (
                sspicon.ISC_REQ_INTEGRITY
                | sspicon.ISC_REQ_MUTUAL_AUTH
                | sspicon.ISC_REQ_DELEGATE
            )
        else:
            self._gss_flags = (
                sspicon.ISC_REQ_INTEGRITY | sspicon.ISC_REQ_MUTUAL_AUTH
            )
def __init__ ( self , auth_method , gss_deleg_creds ) : _SSH_GSSAuth . __init__ ( self , auth_method , gss_deleg_creds ) if self . _gss_deleg_creds : self . _gss_flags = ( sspicon . ISC_REQ_INTEGRITY | sspicon . ISC_REQ_MUTUAL_AUTH | sspicon . ISC_REQ_DELEGATE ) else : self . _gss_flags = ( sspicon . ISC_REQ_INTEGRITY | sspicon . ISC_REQ_MUTUAL_AUTH )
:param str auth_method: The name of the SSH authentication mechanism
                                (gssapi-with-mic or gss-keyex)
        :param bool gss_deleg_creds: Delegate client credentials or not