def validate_auth_option(option, value):
 (lower, value) = validate(option, value)
 if (lower not in _AUTH_OPTIONS):
  raise ConfigurationError(('Unknown authentication option: %s' % (option,)))
 return (lower, value)

def validate_auth_option ( option , value ) : ( lower , value ) = validate ( option , value ) if ( lower not in _AUTH_OPTIONS ) : raise ConfigurationError ( ( 'Unknown authentication option: %s' % ( option , ) ) ) return ( lower , value )
validate optional authentication parameters .